[INFO] fetching crate openai-rs-api 1.1.3...
[INFO] testing openai-rs-api-1.1.3 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] extracting crate openai-rs-api 1.1.3 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate openai-rs-api 1.1.3 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 169 packages to latest compatible versions
[INFO] [stderr]       Adding rustls v0.20.9 (available: v0.23.21)
[INFO] [stderr]       Adding webpki-roots v0.23.1 (available: v0.26.7)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 688a457b6b63e9c50eaa01939e83e254c072e88c6fe66f3f4b3a18974a74184e
[INFO] running `Command { std: "docker" "start" "-a" "688a457b6b63e9c50eaa01939e83e254c072e88c6fe66f3f4b3a18974a74184e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "688a457b6b63e9c50eaa01939e83e254c072e88c6fe66f3f4b3a18974a74184e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "688a457b6b63e9c50eaa01939e83e254c072e88c6fe66f3f4b3a18974a74184e", kill_on_drop: false }`
[INFO] [stdout] 688a457b6b63e9c50eaa01939e83e254c072e88c6fe66f3f4b3a18974a74184e
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e61ce2b4714157a92cb7b2f8be0462d7e0b85c66e96ce7021bdd40cc3af0d3c2
[INFO] running `Command { std: "docker" "start" "-a" "e61ce2b4714157a92cb7b2f8be0462d7e0b85c66e96ce7021bdd40cc3af0d3c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling miniz_oxide v0.8.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling brotli-decompressor v4.0.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling async-trait v0.1.85
[INFO] [stderr]    Compiling rustls-webpki v0.100.3
[INFO] [stderr]    Compiling webpki-roots v0.23.1
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-tls v3.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v3.12.0
[INFO] [stderr]    Compiling actix-http v3.9.0
[INFO] [stderr]    Compiling awc v3.5.1
[INFO] [stderr]    Compiling openai-rs-api v1.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] running `Command { std: "docker" "inspect" "e61ce2b4714157a92cb7b2f8be0462d7e0b85c66e96ce7021bdd40cc3af0d3c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61ce2b4714157a92cb7b2f8be0462d7e0b85c66e96ce7021bdd40cc3af0d3c2", kill_on_drop: false }`
[INFO] [stdout] e61ce2b4714157a92cb7b2f8be0462d7e0b85c66e96ce7021bdd40cc3af0d3c2
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f65e720a053854a81a80b5d1328815ac03f4e53dc5d0fe014a3b3fb1dda6ec7
[INFO] running `Command { std: "docker" "start" "-a" "3f65e720a053854a81a80b5d1328815ac03f4e53dc5d0fe014a3b3fb1dda6ec7", 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 2.46s
[INFO] running `Command { std: "docker" "inspect" "3f65e720a053854a81a80b5d1328815ac03f4e53dc5d0fe014a3b3fb1dda6ec7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f65e720a053854a81a80b5d1328815ac03f4e53dc5d0fe014a3b3fb1dda6ec7", kill_on_drop: false }`
[INFO] [stdout] 3f65e720a053854a81a80b5d1328815ac03f4e53dc5d0fe014a3b3fb1dda6ec7
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2900af511856cbd1ec732783382770eadfa84200da14652ce5accc4fbb7da860
[INFO] running `Command { std: "docker" "start" "-a" "2900af511856cbd1ec732783382770eadfa84200da14652ce5accc4fbb7da860", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_rs_api-3afccce677bee392)
[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] [stderr]    Doc-tests openai_rs_api
[INFO] [stdout] 
[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] 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.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2900af511856cbd1ec732783382770eadfa84200da14652ce5accc4fbb7da860", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2900af511856cbd1ec732783382770eadfa84200da14652ce5accc4fbb7da860", kill_on_drop: false }`
[INFO] [stdout] 2900af511856cbd1ec732783382770eadfa84200da14652ce5accc4fbb7da860
