[INFO] fetching crate openai-rs-api 1.1.3...
[INFO] testing openai-rs-api-1.1.3 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate openai-rs-api 1.1.3 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate openai-rs-api 1.1.3 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 179 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding convert_case v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding cookie v0.16.2 (latest: v0.18.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.5)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding indexmap v1.9.3 (latest: v2.2.6)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding ring v0.16.20 (latest: v0.17.8)
[INFO] [stderr]       Adding rustls v0.20.9 (latest: v0.23.8)
[INFO] [stderr]       Adding rustls-webpki v0.100.3 (latest: v0.102.4)
[INFO] [stderr]       Adding spin v0.5.2 (latest: v0.9.8)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding tokio-rustls v0.23.4 (latest: v0.26.0)
[INFO] [stderr]       Adding untrusted v0.7.1 (latest: v0.9.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding webpki-roots v0.22.6 (latest: v0.26.1)
[INFO] [stderr]       Adding webpki-roots v0.23.1 (latest: v0.26.1)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d8163783e0731dc97832486b3abe3e08376810ebc57a69003f35a0dde0a817e5
[INFO] running `Command { std: "docker" "start" "-a" "d8163783e0731dc97832486b3abe3e08376810ebc57a69003f35a0dde0a817e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d8163783e0731dc97832486b3abe3e08376810ebc57a69003f35a0dde0a817e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8163783e0731dc97832486b3abe3e08376810ebc57a69003f35a0dde0a817e5", kill_on_drop: false }`
[INFO] [stdout] d8163783e0731dc97832486b3abe3e08376810ebc57a69003f35a0dde0a817e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b65c6dcfa6f0f546fd33098917034c1157231fcd6ae0f851095e93322d11df06
[INFO] running `Command { std: "docker" "start" "-a" "b65c6dcfa6f0f546fd33098917034c1157231fcd6ae0f851095e93322d11df06", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling brotli-decompressor v4.0.0
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling impl-more v0.1.6
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling serde_with_macros v3.8.1
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling actix-rt v2.9.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling rustls-webpki v0.100.3
[INFO] [stderr]    Compiling serde_with v3.8.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling zstd v0.13.1
[INFO] [stderr]    Compiling webpki-roots v0.23.1
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling actix-tls v3.4.0
[INFO] [stderr]    Compiling actix-http v3.7.0
[INFO] [stderr]    Compiling awc v3.5.0
[INFO] [stderr]    Compiling openai-rs-api v1.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.21s
[INFO] running `Command { std: "docker" "inspect" "b65c6dcfa6f0f546fd33098917034c1157231fcd6ae0f851095e93322d11df06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b65c6dcfa6f0f546fd33098917034c1157231fcd6ae0f851095e93322d11df06", kill_on_drop: false }`
[INFO] [stdout] b65c6dcfa6f0f546fd33098917034c1157231fcd6ae0f851095e93322d11df06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 151875707d76e06a20a138a6f8a586214501e41a2d504f3422da00c0f24ed343
[INFO] running `Command { std: "docker" "start" "-a" "151875707d76e06a20a138a6f8a586214501e41a2d504f3422da00c0f24ed343", 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 1.77s
[INFO] running `Command { std: "docker" "inspect" "151875707d76e06a20a138a6f8a586214501e41a2d504f3422da00c0f24ed343", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "151875707d76e06a20a138a6f8a586214501e41a2d504f3422da00c0f24ed343", kill_on_drop: false }`
[INFO] [stdout] 151875707d76e06a20a138a6f8a586214501e41a2d504f3422da00c0f24ed343
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 943a693fb4c093bfca15cdf358dcc9672ca4075eea3bb5e23bb97433e3e151bc
[INFO] running `Command { std: "docker" "start" "-a" "943a693fb4c093bfca15cdf358dcc9672ca4075eea3bb5e23bb97433e3e151bc", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_rs_api-0efe775dab37abbc)
[INFO] [stderr]    Doc-tests openai_rs_api
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[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] 9  |     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] 9  |     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] 9  |     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] 7  | #[tokio::main]
[INFO] [stdout]    | -------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 |     let models: ModelList = openai.list_models().await?;
[INFO] [stdout]    |                                                       ^ cannot use the `?` operator in an async block that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, Box<dyn std::error::Error>>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/models.rs:181:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | 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] 11 |     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] 11 ~     println!("{:#?}", models);;
[INFO] [stdout] 12 +     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.14s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "943a693fb4c093bfca15cdf358dcc9672ca4075eea3bb5e23bb97433e3e151bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "943a693fb4c093bfca15cdf358dcc9672ca4075eea3bb5e23bb97433e3e151bc", kill_on_drop: false }`
[INFO] [stdout] 943a693fb4c093bfca15cdf358dcc9672ca4075eea3bb5e23bb97433e3e151bc
