[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 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaopengjun5162%2Fllm-sdk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/qiaopengjun5162/llm-sdk on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive_builder_macro v0.12.0
[INFO] [stderr]   Downloaded derive_builder v0.12.0
[INFO] [stderr]   Downloaded derive_builder_core v0.12.0
[INFO] [stderr]   Downloaded async-compression v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 15e9261c7931256ebdc85679755431ef2e615d0af79f6c93eae5bb014b26093c
[INFO] running `Command { std: "docker" "start" "-a" "15e9261c7931256ebdc85679755431ef2e615d0af79f6c93eae5bb014b26093c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15e9261c7931256ebdc85679755431ef2e615d0af79f6c93eae5bb014b26093c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15e9261c7931256ebdc85679755431ef2e615d0af79f6c93eae5bb014b26093c", kill_on_drop: false }`
[INFO] [stdout] 15e9261c7931256ebdc85679755431ef2e615d0af79f6c93eae5bb014b26093c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e9190a6b84530e78b27064adba20e140a86c2b17b7bd508613afaf55da0eefb
[INFO] running `Command { std: "docker" "start" "-a" "9e9190a6b84530e78b27064adba20e140a86c2b17b7bd508613afaf55da0eefb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling rustls v0.21.9
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling futures-sink v0.3.29
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling base64 v0.21.5
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling webpki-roots v0.25.3
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling mio v0.8.9
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling tokio v1.34.0
[INFO] [stderr]    Compiling ring v0.17.5
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling async-compression v0.4.5
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[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 30.91s
[INFO] running `Command { std: "docker" "inspect" "9e9190a6b84530e78b27064adba20e140a86c2b17b7bd508613afaf55da0eefb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e9190a6b84530e78b27064adba20e140a86c2b17b7bd508613afaf55da0eefb", kill_on_drop: false }`
[INFO] [stdout] 9e9190a6b84530e78b27064adba20e140a86c2b17b7bd508613afaf55da0eefb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc93ac4a6e192415623342f93c6c49855d1620385414fa9ee165fdd5ad61d510
[INFO] running `Command { std: "docker" "start" "-a" "dc93ac4a6e192415623342f93c6c49855d1620385414fa9ee165fdd5ad61d510", 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 24.22s
[INFO] running `Command { std: "docker" "inspect" "dc93ac4a6e192415623342f93c6c49855d1620385414fa9ee165fdd5ad61d510", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc93ac4a6e192415623342f93c6c49855d1620385414fa9ee165fdd5ad61d510", kill_on_drop: false }`
[INFO] [stdout] dc93ac4a6e192415623342f93c6c49855d1620385414fa9ee165fdd5ad61d510
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 352dc8da88f6cde9624770a07a038611f6f573e10250f645681cb628b69a90ac
[INFO] running `Command { std: "docker" "start" "-a" "352dc8da88f6cde9624770a07a038611f6f573e10250f645681cb628b69a90ac", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/llm_sdk-7d204d1056e12d00)
[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::chat_completion::tests::simple_chat_completion_should_work ... FAILED
[INFO] [stdout] test api::create_image::tests::create_image_should_work ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[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] ---- api::create_image::tests::create_image_should_work stdout ----
[INFO] [stdout] Error: environment variable not found
[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.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "352dc8da88f6cde9624770a07a038611f6f573e10250f645681cb628b69a90ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "352dc8da88f6cde9624770a07a038611f6f573e10250f645681cb628b69a90ac", kill_on_drop: false }`
[INFO] [stdout] 352dc8da88f6cde9624770a07a038611f6f573e10250f645681cb628b69a90ac
