[INFO] fetching crate openai_client 0.1.0... [INFO] testing openai_client-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 208 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.23) [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4f388dc6347ac0d00db81774d63478ae000a9a8d549cdb836efa18335f03069 [INFO] running `Command { std: "docker" "start" "-a" "b4f388dc6347ac0d00db81774d63478ae000a9a8d549cdb836efa18335f03069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f388dc6347ac0d00db81774d63478ae000a9a8d549cdb836efa18335f03069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f388dc6347ac0d00db81774d63478ae000a9a8d549cdb836efa18335f03069", kill_on_drop: false }` [INFO] [stdout] b4f388dc6347ac0d00db81774d63478ae000a9a8d549cdb836efa18335f03069 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 599ddb0f499b2902378ced5586bf157a04dbf4a0bcff3ef5f1eb253863e5120d [INFO] running `Command { std: "docker" "start" "-a" "599ddb0f499b2902378ced5586bf157a04dbf4a0bcff3ef5f1eb253863e5120d", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.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 darling_macro v0.14.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.14 [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 tokio-util v0.7.16 [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 46.97s [INFO] running `Command { std: "docker" "inspect" "599ddb0f499b2902378ced5586bf157a04dbf4a0bcff3ef5f1eb253863e5120d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599ddb0f499b2902378ced5586bf157a04dbf4a0bcff3ef5f1eb253863e5120d", kill_on_drop: false }` [INFO] [stdout] 599ddb0f499b2902378ced5586bf157a04dbf4a0bcff3ef5f1eb253863e5120d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29b3e52fd5915701bda485e03ae2820520d2c87f962cb34e97bb2f22f59af573 [INFO] running `Command { std: "docker" "start" "-a" "29b3e52fd5915701bda485e03ae2820520d2c87f962cb34e97bb2f22f59af573", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-util v0.3.31 [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 30.57s [INFO] running `Command { std: "docker" "inspect" "29b3e52fd5915701bda485e03ae2820520d2c87f962cb34e97bb2f22f59af573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29b3e52fd5915701bda485e03ae2820520d2c87f962cb34e97bb2f22f59af573", kill_on_drop: false }` [INFO] [stdout] 29b3e52fd5915701bda485e03ae2820520d2c87f962cb34e97bb2f22f59af573 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b47aaf70d035cf3e3d94a412f4e4c3efa8803b3f40eca3625f817f5a5f2c7819 [INFO] running `Command { std: "docker" "start" "-a" "b47aaf70d035cf3e3d94a412f4e4c3efa8803b3f40eca3625f817f5a5f2c7819", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_client-59bada994cc7887e) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test types::completion::builder_must_set_list_prompt ... ok [INFO] [stdout] test types::completion::builder_must_fail_on_empty_model ... ok [INFO] [stdout] test types::completion::builder_must_set_model ... ok [INFO] [stdout] test types::completion::builder_must_set_string_prompt ... ok [INFO] [stdout] test types::completion::builder_must_set_ref_list_prompt ... ok [INFO] [stdout] test types::completion::builder_must_set_suffix ... ok [INFO] [stdout] test types::config::must_serde_string ... ok [INFO] [stdout] test types::config::must_serde_list ... ok [INFO] [stdout] test types::config::should_create_conf_default_from_env ... ok [INFO] [stdout] test types::completion::must_correctly_build ... 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 types::edit::builder_must_fail_on_empty_model_or_prompt ... ok [INFO] [stdout] test types::image::should_build_an_image_create_request ... ok [INFO] [stdout] test client::request_client::should_return_generate_image_response ... ok [INFO] [stdout] test client::request_client::should_return_model_success ... ok [INFO] [stdout] test client::request_client::should_return_edit_response ... ok [INFO] [stdout] test client::request_client::should_return_models_success ... ok [INFO] [stdout] test client::request_client::should_give_http_error_for_invalid_response ... ok [INFO] [stdout] test client::request_client::should_return_completion_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] Doc-tests openai_client [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 52) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 19) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 121) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 65) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 102) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 81) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b47aaf70d035cf3e3d94a412f4e4c3efa8803b3f40eca3625f817f5a5f2c7819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b47aaf70d035cf3e3d94a412f4e4c3efa8803b3f40eca3625f817f5a5f2c7819", kill_on_drop: false }` [INFO] [stdout] b47aaf70d035cf3e3d94a412f4e4c3efa8803b3f40eca3625f817f5a5f2c7819