[INFO] fetching crate openai 1.0.0-alpha.13... [INFO] checking openai-1.0.0-alpha.13 against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] extracting crate openai 1.0.0-alpha.13 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate openai 1.0.0-alpha.13 on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openai 1.0.0-alpha.13 [INFO] finished tweaking crates.io crate openai 1.0.0-alpha.13 [INFO] tweaked toml for crates.io crate openai 1.0.0-alpha.13 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate openai 1.0.0-alpha.13 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" "+aa067fb984d36462548bb785da221bfaf38253f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustix v0.37.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64204d8e4e0c9d4931255100a574faa95ca055242971ccb644f983b3f4baf297 [INFO] running `Command { std: "docker" "start" "-a" "64204d8e4e0c9d4931255100a574faa95ca055242971ccb644f983b3f4baf297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64204d8e4e0c9d4931255100a574faa95ca055242971ccb644f983b3f4baf297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64204d8e4e0c9d4931255100a574faa95ca055242971ccb644f983b3f4baf297", kill_on_drop: false }` [INFO] [stdout] 64204d8e4e0c9d4931255100a574faa95ca055242971ccb644f983b3f4baf297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 576e0f2a634e504e4323e96cd614d619bd82390e32a07939e8d37ff9d1912c27 [INFO] running `Command { std: "docker" "start" "-a" "576e0f2a634e504e4323e96cd614d619bd82390e32a07939e8d37ff9d1912c27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking reqwest-eventsource v0.4.0 [INFO] [stderr] Checking openai v1.0.0-alpha.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/files.rs:380:41 [INFO] [stdout] | [INFO] [stdout] 380 | let file_name = file_upload_path [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 381 | | .clone() [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 380 - let file_name = file_upload_path [INFO] [stdout] 381 - .clone() [INFO] [stdout] 380 + let file_name = file_upload_path [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.06s [INFO] running `Command { std: "docker" "inspect" "576e0f2a634e504e4323e96cd614d619bd82390e32a07939e8d37ff9d1912c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576e0f2a634e504e4323e96cd614d619bd82390e32a07939e8d37ff9d1912c27", kill_on_drop: false }` [INFO] [stdout] 576e0f2a634e504e4323e96cd614d619bd82390e32a07939e8d37ff9d1912c27 [INFO] checking openai-1.0.0-alpha.13 against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] extracting crate openai 1.0.0-alpha.13 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate openai 1.0.0-alpha.13 on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openai 1.0.0-alpha.13 [INFO] finished tweaking crates.io crate openai 1.0.0-alpha.13 [INFO] tweaked toml for crates.io crate openai 1.0.0-alpha.13 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate openai 1.0.0-alpha.13 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" "+707d6562f55b55a7aab4ab3a904997116b358314" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9c4d19248ff2870cace2ae6d3fdb4643461c999b78e3d0a00390036f29688ba [INFO] running `Command { std: "docker" "start" "-a" "d9c4d19248ff2870cace2ae6d3fdb4643461c999b78e3d0a00390036f29688ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9c4d19248ff2870cace2ae6d3fdb4643461c999b78e3d0a00390036f29688ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c4d19248ff2870cace2ae6d3fdb4643461c999b78e3d0a00390036f29688ba", kill_on_drop: false }` [INFO] [stdout] d9c4d19248ff2870cace2ae6d3fdb4643461c999b78e3d0a00390036f29688ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34fb3dd9c2ecf672a0de63f2091148dad5c36ee51ac5d426b64c7b1c050147e1 [INFO] running `Command { std: "docker" "start" "-a" "34fb3dd9c2ecf672a0de63f2091148dad5c36ee51ac5d426b64c7b1c050147e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking reqwest-eventsource v0.4.0 [INFO] [stderr] Checking openai v1.0.0-alpha.13 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/chat.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | .temperature(0.0) [INFO] [stdout] | ----------- ^^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `ChatCompletionBuilder::temperature` [INFO] [stdout] --> src/chat.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Serialize, Builder, Debug, Clone)] [INFO] [stdout] | ^^^^^^^ required by this bound in `ChatCompletionBuilder::temperature` [INFO] [stdout] ... [INFO] [stdout] 137 | temperature: Option, [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/chat.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | .temperature(0.0) [INFO] [stdout] | ----------- ^^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `ChatCompletionBuilder::temperature` [INFO] [stdout] --> src/chat.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Serialize, Builder, Debug, Clone)] [INFO] [stdout] | ^^^^^^^ required by this bound in `ChatCompletionBuilder::temperature` [INFO] [stdout] ... [INFO] [stdout] 137 | temperature: Option, [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/chat.rs:501:22 [INFO] [stdout] | [INFO] [stdout] 501 | .temperature(0.2) [INFO] [stdout] | ----------- ^^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `ChatCompletionBuilder::temperature` [INFO] [stdout] --> src/chat.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Serialize, Builder, Debug, Clone)] [INFO] [stdout] | ^^^^^^^ required by this bound in `ChatCompletionBuilder::temperature` [INFO] [stdout] ... [INFO] [stdout] 137 | temperature: Option, [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/completions.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | .temperature(0.0) [INFO] [stdout] | ----------- ^^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `CompletionBuilder::temperature` [INFO] [stdout] --> src/completions.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Serialize, Builder, Debug, Clone)] [INFO] [stdout] | ^^^^^^^ required by this bound in `CompletionBuilder::temperature` [INFO] [stdout] ... [INFO] [stdout] 63 | pub temperature: Option, [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/edits.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | .temperature(0.0) [INFO] [stdout] | ----------- ^^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `EditBuilder::temperature` [INFO] [stdout] --> src/edits.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Builder, Debug, Clone)] [INFO] [stdout] | ^^^^^^^ required by this bound in `EditBuilder::temperature` [INFO] [stdout] ... [INFO] [stdout] 47 | pub temperature: Option, [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openai` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "34fb3dd9c2ecf672a0de63f2091148dad5c36ee51ac5d426b64c7b1c050147e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34fb3dd9c2ecf672a0de63f2091148dad5c36ee51ac5d426b64c7b1c050147e1", kill_on_drop: false }` [INFO] [stdout] 34fb3dd9c2ecf672a0de63f2091148dad5c36ee51ac5d426b64c7b1c050147e1