[INFO] fetching crate openai_client 0.1.0... [INFO] testing openai_client-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate openai_client 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate openai_client 0.1.0 [INFO] finished tweaking crates.io crate openai_client 0.1.0 [INFO] tweaked toml for crates.io crate openai_client 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openai_client 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 207 packages to latest compatible versions [INFO] [stderr] Adding derive_builder v0.12.0 (available: v0.20.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding wiremock v0.5.22 (available: v0.6.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff651eebb01b543a9bed08f52344aaa9c25514a86cac2bf8eedea6524a478c6a [INFO] running `Command { std: "docker" "start" "-a" "ff651eebb01b543a9bed08f52344aaa9c25514a86cac2bf8eedea6524a478c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff651eebb01b543a9bed08f52344aaa9c25514a86cac2bf8eedea6524a478c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff651eebb01b543a9bed08f52344aaa9c25514a86cac2bf8eedea6524a478c6a", kill_on_drop: false }` [INFO] [stdout] ff651eebb01b543a9bed08f52344aaa9c25514a86cac2bf8eedea6524a478c6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef5f1995a5b1c7ef265f47aabab372ba28211d4a01ba9b4696bf0eff316304f5 [INFO] running `Command { std: "docker" "start" "-a" "ef5f1995a5b1c7ef265f47aabab372ba28211d4a01ba9b4696bf0eff316304f5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [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 synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 openai_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.07s [INFO] running `Command { std: "docker" "inspect" "ef5f1995a5b1c7ef265f47aabab372ba28211d4a01ba9b4696bf0eff316304f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5f1995a5b1c7ef265f47aabab372ba28211d4a01ba9b4696bf0eff316304f5", kill_on_drop: false }` [INFO] [stdout] ef5f1995a5b1c7ef265f47aabab372ba28211d4a01ba9b4696bf0eff316304f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7206ce45b0c64ee0fc52e4dee466122b8e1eee0efe58caec9c32622a1a8d9a5 [INFO] running `Command { std: "docker" "start" "-a" "a7206ce45b0c64ee0fc52e4dee466122b8e1eee0efe58caec9c32622a1a8d9a5", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling wiremock v0.5.22 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling openai_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.01s [INFO] running `Command { std: "docker" "inspect" "a7206ce45b0c64ee0fc52e4dee466122b8e1eee0efe58caec9c32622a1a8d9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7206ce45b0c64ee0fc52e4dee466122b8e1eee0efe58caec9c32622a1a8d9a5", kill_on_drop: false }` [INFO] [stdout] a7206ce45b0c64ee0fc52e4dee466122b8e1eee0efe58caec9c32622a1a8d9a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f258eca55bd7ae4519387be810a509cc268e93b4630022a23cf6a97e3a8b2880 [INFO] running `Command { std: "docker" "start" "-a" "f258eca55bd7ae4519387be810a509cc268e93b4630022a23cf6a97e3a8b2880", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_client-401272b77759a838) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test types::completion::builder_must_set_model ... ok [INFO] [stdout] test types::completion::builder_must_set_list_prompt ... ok [INFO] [stdout] test types::completion::builder_must_set_string_prompt ... ok [INFO] [stdout] test types::completion::builder_must_fail_on_empty_model ... ok [INFO] [stdout] test types::image::should_build_an_image_create_request ... ok [INFO] [stdout] test types::completion::builder_must_set_suffix ... ok [INFO] [stdout] test types::completion::builder_must_set_ref_list_prompt ... ok [INFO] [stdout] test types::edit::builder_must_fail_on_empty_model_or_prompt ... ok [INFO] [stdout] test types::completion::must_correctly_build ... ok [INFO] [stdout] test types::config::must_serde_list ... ok [INFO] [stdout] test types::config::must_serde_string ... ok [INFO] [stdout] test types::config::should_create_conf_default_from_env ... ok [INFO] [stdout] test types::config::should_create_config_new ... ok [INFO] [stdout] test types::edit::builder_must_create_successful_request ... ok [INFO] [stdout] test client::request_client::should_return_edit_response ... ok [INFO] [stdout] test client::request_client::should_return_model_success ... ok [INFO] [stdout] test client::request_client::should_return_generate_image_response ... ok [INFO] [stdout] test client::request_client::should_return_completion_response ... ok [INFO] [stdout] test client::request_client::should_give_http_error_for_invalid_response ... ok [INFO] [stdout] test client::request_client::should_return_models_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] Doc-tests openai_client [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 81) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 19) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 102) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 52) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 121) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 65) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f258eca55bd7ae4519387be810a509cc268e93b4630022a23cf6a97e3a8b2880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f258eca55bd7ae4519387be810a509cc268e93b4630022a23cf6a97e3a8b2880", kill_on_drop: false }` [INFO] [stdout] f258eca55bd7ae4519387be810a509cc268e93b4630022a23cf6a97e3a8b2880