[INFO] fetching crate chat-gpt-lib-rs 0.7.0...
[INFO] testing chat-gpt-lib-rs-0.7.0 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate chat-gpt-lib-rs 0.7.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate chat-gpt-lib-rs 0.7.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate chat-gpt-lib-rs 0.7.0
[INFO] tweaked toml for crates.io crate chat-gpt-lib-rs 0.7.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate chat-gpt-lib-rs 0.7.0 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate chat-gpt-lib-rs 0.7.0 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 78421941ecccd52a07917235f4f1cbdf3c2bb3b932984fbb580de93e4669bd9f
[INFO] running `Command { std: "docker" "start" "-a" "78421941ecccd52a07917235f4f1cbdf3c2bb3b932984fbb580de93e4669bd9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78421941ecccd52a07917235f4f1cbdf3c2bb3b932984fbb580de93e4669bd9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78421941ecccd52a07917235f4f1cbdf3c2bb3b932984fbb580de93e4669bd9f", kill_on_drop: false }`
[INFO] [stdout] 78421941ecccd52a07917235f4f1cbdf3c2bb3b932984fbb580de93e4669bd9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dadda9fc09909e76bdd1cf2b7d12cdd383873af575e324c304d8be67e0fb9bf2
[INFO] running `Command { std: "docker" "start" "-a" "dadda9fc09909e76bdd1cf2b7d12cdd383873af575e324c304d8be67e0fb9bf2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling aws-lc-rs v1.16.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling aws-lc-sys v0.37.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tokio-rustls v0.26.1
[INFO] [stderr]    Compiling rustls-platform-verifier v0.6.2
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling reqwest v0.13.2
[INFO] [stderr]    Compiling chat-gpt-lib-rs v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "dadda9fc09909e76bdd1cf2b7d12cdd383873af575e324c304d8be67e0fb9bf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dadda9fc09909e76bdd1cf2b7d12cdd383873af575e324c304d8be67e0fb9bf2", kill_on_drop: false }`
[INFO] [stdout] dadda9fc09909e76bdd1cf2b7d12cdd383873af575e324c304d8be67e0fb9bf2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d56bc68c4f2e2ca1a38268448a8eceb0cc8571b7c45b4ac8cc6453543dd6c791
[INFO] running `Command { std: "docker" "start" "-a" "d56bc68c4f2e2ca1a38268448a8eceb0cc8571b7c45b4ac8cc6453543dd6c791", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling async-trait v0.1.86
[INFO] [stderr]    Compiling sdd v3.0.7
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling scc v2.3.3
[INFO] [stderr]    Compiling serial_test_derive v3.2.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling console v0.16.2
[INFO] [stderr]    Compiling unit-prefix v0.5.2
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling indicatif v0.18.4
[INFO] [stderr]    Compiling deadpool v0.10.0
[INFO] [stderr]    Compiling h2 v0.4.7
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling tempfile v3.17.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serial_test v3.2.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling wiremock v0.6.2
[INFO] [stderr]    Compiling reqwest v0.13.2
[INFO] [stderr]    Compiling chat-gpt-lib-rs v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 44.69s
[INFO] running `Command { std: "docker" "inspect" "d56bc68c4f2e2ca1a38268448a8eceb0cc8571b7c45b4ac8cc6453543dd6c791", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d56bc68c4f2e2ca1a38268448a8eceb0cc8571b7c45b4ac8cc6453543dd6c791", kill_on_drop: false }`
[INFO] [stdout] d56bc68c4f2e2ca1a38268448a8eceb0cc8571b7c45b4ac8cc6453543dd6c791
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ff1dc203934f80a0be7efe839f2f0fa11690db727055b6c8db51814264aeb75e
[INFO] running `Command { std: "docker" "start" "-a" "ff1dc203934f80a0be7efe839f2f0fa11690db727055b6c8db51814264aeb75e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chat_gpt_lib_rs-89fe9394681e9dee)
[INFO] [stdout] 
[INFO] [stdout] running 64 tests
[INFO] [stdout] test api_resources::chat::tests::test_create_chat_completion_deserialize_error ... ok
[INFO] [stdout] test api::tests::test_post_json_stream_success ... ok
[INFO] [stdout] test api::tests::test_post_json_stream_api_error ... ok
[INFO] [stdout] test api_resources::chat::tests::test_create_chat_completion_success ... ok
[INFO] [stdout] test api_resources::completions::tests::test_create_completion_deserialize_error ... ok
[INFO] [stdout] test api::tests::test_post_json_plain_text_error_fallback ... ok
[INFO] [stdout] test api_resources::embeddings::tests::test_create_embeddings_api_error ... ok
[INFO] [stdout] test api::tests::test_post_json_api_error ... ok
[INFO] [stdout] test api::tests::test_post_json_stream_emits_deserialize_error_chunk ... ok
[INFO] [stdout] test api::tests::test_get_json_success ... ok
[INFO] [stdout] test api_resources::chat::tests::test_create_chat_completion_api_error ... ok
[INFO] [stdout] test api::tests::test_get_json_api_error ... ok
[INFO] [stdout] test api_resources::completions::tests::test_create_completion_success ... ok
[INFO] [stdout] test api_resources::embeddings::tests::test_create_embeddings_deserialize_error ... ok
[INFO] [stdout] test api::tests::test_post_json_deserialize_error ... ok
[INFO] [stdout] test api::tests::test_post_json_success ... ok
[INFO] [stdout] test api_resources::completions::tests::test_create_completion_api_error ... ok
[INFO] [stdout] test api_resources::files::tests::test_upload_file_api_error ... ok
[INFO] [stdout] test api_resources::files::tests::test_delete_file_success ... ok
[INFO] [stdout] test api_resources::files::tests::test_list_files_api_error ... ok
[INFO] [stdout] test api_resources::files::tests::test_list_files_success ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_create_fine_tune_success ... ok
[INFO] [stdout] test api_resources::files::tests::test_retrieve_file_content_api_error ... ok
[INFO] [stdout] test api_resources::files::tests::test_retrieve_file_metadata_api_error ... ok
[INFO] [stdout] test api_resources::embeddings::tests::test_create_embeddings_success ... ok
[INFO] [stdout] test api_resources::files::tests::test_retrieve_file_content_success ... ok
[INFO] [stdout] test api_resources::files::tests::test_delete_file_api_error ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_cancel_fine_tune_api_error ... ok
[INFO] [stdout] test api_resources::models::tests::test_model_round_trip ... ok
[INFO] [stdout] test api_resources::files::tests::test_upload_file_config_error_when_file_missing ... ok
[INFO] [stdout] test api_resources::files::tests::test_retrieve_file_metadata_success ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_delete_fine_tune_model_api_error ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_create_fine_tune_api_error ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_delete_fine_tune_model_success ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_cancel_fine_tune_success ... ok
[INFO] [stdout] test config::tests::test_builder_no_explicit_key_no_env ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_list_fine_tune_events_api_error ... ok
[INFO] [stdout] test api_resources::files::tests::test_upload_file_success ... ok
[INFO] [stdout] test api_resources::models::tests::test_list_models_api_error ... ok
[INFO] [stdout] test api_resources::models::tests::test_retrieve_model_api_error ... ok
[INFO] [stdout] test config::tests::test_builder_with_all_fields ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_list_fine_tunes_api_error ... ok
[INFO] [stdout] test error::tests::test_api_error ... ok
[INFO] [stdout] test error::tests::test_config_error ... ok
[INFO] [stdout] test error::tests::test_deserialize_error ... ok
[INFO] [stdout] test config::tests::test_builder_with_env_fallback ... ok
[INFO] [stdout] test config::tests::test_new_missing_api_key ... ok
[INFO] [stdout] test error::tests::test_from_openaiapierrorbody ... ok
[INFO] [stdout] test error::tests::test_io_error ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_list_fine_tune_events_success ... ok
[INFO] [stdout] test error::tests::test_display_trait_all_variants ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_list_fine_tunes_success ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_retrieve_fine_tune_success ... ok
[INFO] [stdout] test api_resources::fine_tunes::tests::test_retrieve_fine_tune_api_error ... ok
[INFO] [stdout] test api_resources::moderations::tests::test_create_moderation_api_error ... ok
[INFO] [stdout] test api_resources::moderations::tests::test_create_moderation_deserialize_error ... ok
[INFO] [stdout] test api_resources::models::tests::test_retrieve_model_success ... ok
[INFO] [stdout] test config::tests::test_builder_uses_default_base_url ... ok
[INFO] [stdout] test api_resources::moderations::tests::test_create_moderation_success ... ok
[INFO] [stdout] test config::tests::test_new_with_explicit_key ... ok
[INFO] [stdout] test api_resources::models::tests::test_list_models_success ... ok
[INFO] [stdout] test error::tests::test_http_error ... ok
[INFO] [stdout] test config::tests::test_new_with_env_var ... ok
[INFO] [stdout] test config::tests::test_temp_env_var ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 64 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.47s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests chat_gpt_lib_rs
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test src/api_resources/chat.rs - api_resources::chat (line 16) - compile ... ok
[INFO] [stdout] test src/api_resources/completions.rs - api_resources::completions (line 20) - compile ... ok
[INFO] [stdout] test src/api_resources/embeddings.rs - api_resources::embeddings (line 13) - compile ... ok
[INFO] [stdout] test src/api_resources/files.rs - api_resources::files (line 18) - compile ... ok
[INFO] [stdout] test src/api_resources/fine_tunes.rs - api_resources::fine_tunes (line 21) - compile ... ok
[INFO] [stdout] test src/api_resources/mod.rs - api_resources (line 23) - compile ... ok
[INFO] [stdout] test src/api_resources/models.rs - api_resources::models (line 9) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 20) - compile ... ok
[INFO] [stdout] test src/error.rs - error::OpenAIError::api_error (line 79) ... ok
[INFO] [stdout] test src/lib.rs - error (line 74) ... ok
[INFO] [stdout] test src/api_resources/moderations.rs - api_resources::moderations (line 18) ... FAILED
[INFO] [stdout] test src/lib.rs - config (line 72) ... FAILED
[INFO] [stdout] test src/config.rs - config::ClientBuilder::with_base_url (line 172) ... ok
[INFO] [stdout] test src/config.rs - config::OpenAIClient::new (line 78) ... FAILED
[INFO] [stdout] test src/config.rs - config::ClientBuilder::with_organization (line 207) ... ok
[INFO] [stdout] test src/config.rs - config::ClientBuilder::with_timeout (line 226) ... ok
[INFO] [stdout] test src/config.rs - config::ClientBuilder::with_api_key (line 190) ... ok
[INFO] [stdout] test src/config.rs - config::OpenAIClient::builder (line 112) ... ok
[INFO] [stdout] test src/config.rs - config::ClientBuilder (line 148) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/api_resources/moderations.rs - api_resources::moderations (line 18) stdout ----
[INFO] [stdout] Test executable failed (exit status: 1).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] Error: ConfigError("Missing API key")
[INFO] [stdout] Error: "the test returned a termination value with a non-zero status code (1) which indicates a failure"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - config (line 72) stdout ----
[INFO] [stdout] Test executable failed (exit status: 1).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] Error: ConfigError("Missing API key")
[INFO] [stdout] Error: "the test returned a termination value with a non-zero status code (1) which indicates a failure"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/config.rs - config::OpenAIClient::new (line 78) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (157) panicked at /tmp/rustdoctestZvRku3/doctest_bundle_2024.rs:317:38:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: ConfigError("Missing API key")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58dc5ce48e4a - std[ec419fa8110287d5]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58dc5ce48e4a - std[ec419fa8110287d5]::backtrace_rs::backtrace::trace_unsynchronized::<std[ec419fa8110287d5]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58dc5ce48e4a - std[ec419fa8110287d5]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x58dc5ce48e4a - <<std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[35159d6ffb30e017]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x58dc5ce5f13a - <core[35159d6ffb30e017]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x58dc5ce5f13a - core[35159d6ffb30e017]::fmt::write
[INFO] [stdout]    6:     0x58dc5ce4ec22 - std[ec419fa8110287d5]::io::default_write_fmt::<std[ec419fa8110287d5]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x58dc5ce4ec22 - <std[ec419fa8110287d5]::sys::stdio::unix::Stderr as std[ec419fa8110287d5]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x58dc5ce2655f - <std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x58dc5ce2655f - std[ec419fa8110287d5]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x58dc5ce40991 - std[ec419fa8110287d5]::panicking::default_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x58dc5ce40c0b - std[ec419fa8110287d5]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x58dc5ce26618 - std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x58dc5ce1dc69 - std[ec419fa8110287d5]::sys::backtrace::__rust_end_short_backtrace::<std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x58dc5ce276ad - __rustc[cfb3622dd870db93]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x58dc5ce5f8fc - core[35159d6ffb30e017]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x58dc5ce5f672 - core[35159d6ffb30e017]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/result.rs:1867:5
[INFO] [stdout]   17:     0x58dc5c635029 - doctest_bundle_2024[4e6eee4c6eec5a4a]::__doctest_14::main
[INFO] [stdout]   18:     0x58dc5c6352a6 - doctest_bundle_2024[4e6eee4c6eec5a4a]::__doctest_14::__main_fn
[INFO] [stdout]   19:     0x58dc5c61db61 - doctest_runner_2024[16ee0b818ff6a0a3]::__doctest_14::TEST::{closure#0}
[INFO] [stdout]   20:     0x58dc5c621dd6 - <doctest_runner_2024[16ee0b818ff6a0a3]::__doctest_14::TEST::{closure#0} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x58dc5c61e675 - doctest_runner_2024[16ee0b818ff6a0a3]::main
[INFO] [stdout]   22:     0x58dc5c6219b3 - <fn() -> std[ec419fa8110287d5]::process::ExitCode as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   23:     0x58dc5c61cf96 - std[ec419fa8110287d5]::sys::backtrace::__rust_begin_short_backtrace::<fn() -> std[ec419fa8110287d5]::process::ExitCode, std[ec419fa8110287d5]::process::ExitCode>
[INFO] [stdout]   24:     0x58dc5c61d4a9 - std[ec419fa8110287d5]::rt::lang_start::<std[ec419fa8110287d5]::process::ExitCode>::{closure#0}
[INFO] [stdout]   25:     0x58dc5ce3f607 - <&dyn core[35159d6ffb30e017]::ops::function::Fn<(), Output = i32> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::panic::unwind_safe::RefUnwindSafe as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   26:     0x58dc5ce3f607 - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<&dyn core[35159d6ffb30e017]::ops::function::Fn<(), Output = i32> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x58dc5ce3f607 - std[ec419fa8110287d5]::panicking::catch_unwind::<i32, &dyn core[35159d6ffb30e017]::ops::function::Fn<(), Output = i32> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x58dc5ce3f607 - std[ec419fa8110287d5]::panic::catch_unwind::<&dyn core[35159d6ffb30e017]::ops::function::Fn<(), Output = i32> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x58dc5ce3f607 - std[ec419fa8110287d5]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/rt.rs:175:24
[INFO] [stdout]   30:     0x58dc5ce3f607 - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<std[ec419fa8110287d5]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   31:     0x58dc5ce3f607 - std[ec419fa8110287d5]::panicking::catch_unwind::<isize, std[ec419fa8110287d5]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   32:     0x58dc5ce3f607 - std[ec419fa8110287d5]::panic::catch_unwind::<std[ec419fa8110287d5]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x58dc5ce3f607 - std[ec419fa8110287d5]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/rt.rs:171:5
[INFO] [stdout]   34:     0x58dc5c61ced1 - std[ec419fa8110287d5]::rt::lang_start::<std[ec419fa8110287d5]::process::ExitCode>
[INFO] [stdout]   35:     0x58dc5c621fd5 - main
[INFO] [stdout]   36:     0x7b87d6be51ca - <unknown>
[INFO] [stdout]   37:     0x7b87d6be528b - __libc_start_main
[INFO] [stdout]   38:     0x58dc5c61b2e5 - _start
[INFO] [stdout]   39:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api_resources/moderations.rs - api_resources::moderations (line 18)
[INFO] [stdout]     src/config.rs - config::OpenAIClient::new (line 78)
[INFO] [stdout]     src/lib.rs - config (line 72)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 16 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 2.55s; merged doctests compilation took 2.21s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ff1dc203934f80a0be7efe839f2f0fa11690db727055b6c8db51814264aeb75e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff1dc203934f80a0be7efe839f2f0fa11690db727055b6c8db51814264aeb75e", kill_on_drop: false }`
[INFO] [stdout] ff1dc203934f80a0be7efe839f2f0fa11690db727055b6c8db51814264aeb75e
