[INFO] fetching crate openai-rs-api 1.1.3...
[INFO] testing openai-rs-api-1.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate openai-rs-api 1.1.3 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate openai-rs-api 1.1.3
[INFO] finished tweaking crates.io crate openai-rs-api 1.1.3
[INFO] tweaked toml for crates.io crate openai-rs-api 1.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate openai-rs-api 1.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 186 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding rustls v0.20.9 (available: v0.23.35)
[INFO] [stderr]       Adding webpki-roots v0.23.1 (available: v1.0.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8835025b6f2c19419123944a43d939c99c4ecc5311a60f5c7193defb5e157c85
[INFO] running `Command { std: "docker" "start" "-a" "8835025b6f2c19419123944a43d939c99c4ecc5311a60f5c7193defb5e157c85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8835025b6f2c19419123944a43d939c99c4ecc5311a60f5c7193defb5e157c85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8835025b6f2c19419123944a43d939c99c4ecc5311a60f5c7193defb5e157c85", kill_on_drop: false }`
[INFO] [stdout] 8835025b6f2c19419123944a43d939c99c4ecc5311a60f5c7193defb5e157c85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f274d92bb54a8a2af8cbe34c8eba9143eecdfca0f4c1fc78552e179a04b54827
[INFO] running `Command { std: "docker" "start" "-a" "f274d92bb54a8a2af8cbe34c8eba9143eecdfca0f4c1fc78552e179a04b54827", kill_on_drop: false }`
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling cc v1.2.45
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling rustls-webpki v0.100.3
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.15.1
[INFO] [stderr]    Compiling webpki-roots v0.23.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling serde_with v3.15.1
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling actix-tls v3.5.0
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling awc v3.8.1
[INFO] [stderr]    Compiling openai-rs-api v1.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s
[INFO] running `Command { std: "docker" "inspect" "f274d92bb54a8a2af8cbe34c8eba9143eecdfca0f4c1fc78552e179a04b54827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f274d92bb54a8a2af8cbe34c8eba9143eecdfca0f4c1fc78552e179a04b54827", kill_on_drop: false }`
[INFO] [stdout] f274d92bb54a8a2af8cbe34c8eba9143eecdfca0f4c1fc78552e179a04b54827
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 527619907fc40f9414d9a2bfed5374d2f2766788679ea479c207a93b461c20bb
[INFO] running `Command { std: "docker" "start" "-a" "527619907fc40f9414d9a2bfed5374d2f2766788679ea479c207a93b461c20bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling openai-rs-api v1.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.08s
[INFO] running `Command { std: "docker" "inspect" "527619907fc40f9414d9a2bfed5374d2f2766788679ea479c207a93b461c20bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "527619907fc40f9414d9a2bfed5374d2f2766788679ea479c207a93b461c20bb", kill_on_drop: false }`
[INFO] [stdout] 527619907fc40f9414d9a2bfed5374d2f2766788679ea479c207a93b461c20bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 05d030bd747525d6b6245276e7d3a63b9019def3ed0aeb6afb5a962d869e55ae
[INFO] running `Command { std: "docker" "start" "-a" "05d030bd747525d6b6245276e7d3a63b9019def3ed0aeb6afb5a962d869e55ae", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_rs_api-4628c3b36d4d967c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests openai_rs_api
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/core/models.rs - core::models::completions::CompletionParameters::model (line 172) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core/models.rs - core::models::completions::CompletionParameters::model (line 172) stdout ----
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/core/models.rs:179:18
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let openai = OpenAI::new("your_api_key", "your_organization_id");
[INFO] [stdout]     |                  ^^^^^^^^^^^ --------------  ---------------------- expected `String`, found `&str`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected `String`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/core/mod.rs:47:12
[INFO] [stdout]     |
[INFO] [stdout]  47 |     pub fn new(token: String, oia_org: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let openai = OpenAI::new("your_api_key".to_string(), "your_organization_id");
[INFO] [stdout]     |                                            ++++++++++++
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let openai = OpenAI::new("your_api_key", "your_organization_id".to_string());
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/core/models.rs:180:55
[INFO] [stdout]     |
[INFO] [stdout] 177 | #[tokio::main]
[INFO] [stdout]     | -------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 180 |     let models: ModelList = openai.list_models().await?;
[INFO] [stdout]     |                                                       ^ cannot use the `?` operator in an async block that returns `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/models.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 178 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                    -------------------------------------- expected `Result<(), Box<(dyn std::error::Error + 'static)>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 181 |     println!("{:#?}", models);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 181 ~     println!("{:#?}", models);;
[INFO] [stdout] 182 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/core/models.rs - core::models::completions::CompletionParameters::model (line 172)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "05d030bd747525d6b6245276e7d3a63b9019def3ed0aeb6afb5a962d869e55ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05d030bd747525d6b6245276e7d3a63b9019def3ed0aeb6afb5a962d869e55ae", kill_on_drop: false }`
[INFO] [stdout] 05d030bd747525d6b6245276e7d3a63b9019def3ed0aeb6afb5a962d869e55ae
