[INFO] cloning repository https://github.com/ssword/rust-response [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssword/rust-response" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssword%2Frust-response", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssword%2Frust-response'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 411eebc99ac1b4df4e8b6f0f67d7e5d87dcc4844 [INFO] checking ssword/rust-response against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssword%2Frust-response" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ssword/rust-response [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ssword/rust-response [INFO] tweaked toml for git repo https://github.com/ssword/rust-response written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ssword/rust-response on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ssword/rust-response 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded value-trait v0.8.1 [INFO] [stderr] Downloaded halfbrown v0.2.5 [INFO] [stderr] Downloaded lexical-core v1.0.5 [INFO] [stderr] Downloaded deadpool v0.10.0 [INFO] [stderr] Downloaded backon v0.4.4 [INFO] [stderr] Downloaded lexical-parse-integer v1.0.5 [INFO] [stderr] Downloaded lexical-util v1.0.6 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded lexical-write-float v1.0.5 [INFO] [stderr] Downloaded lexical-write-integer v1.0.5 [INFO] [stderr] Downloaded wiremock v0.6.4 [INFO] [stderr] Downloaded lexical-parse-float v1.0.5 [INFO] [stderr] Downloaded simd-json v0.13.11 [INFO] [stderr] Downloaded webpki-roots v1.0.1 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b5e0ccfbbe3623a67b98ee89ace32f55baf0396b4f2cd95dc82d126ace60827 [INFO] running `Command { std: "docker" "start" "-a" "9b5e0ccfbbe3623a67b98ee89ace32f55baf0396b4f2cd95dc82d126ace60827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b5e0ccfbbe3623a67b98ee89ace32f55baf0396b4f2cd95dc82d126ace60827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5e0ccfbbe3623a67b98ee89ace32f55baf0396b4f2cd95dc82d126ace60827", kill_on_drop: false }` [INFO] [stdout] 9b5e0ccfbbe3623a67b98ee89ace32f55baf0396b4f2cd95dc82d126ace60827 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1111907de0d7765ae90b69e41b9b6566db811c41a7e1ef92570225e025347e9 [INFO] running `Command { std: "docker" "start" "-a" "a1111907de0d7765ae90b69e41b9b6566db811c41a7e1ef92570225e025347e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking backon v0.4.4 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking wiremock v0.6.4 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking openai-responses v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | [(); if M::SUPPORTS_REASONING { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | [(); if M::SUPPORTS_VISION { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | [(); if M::SUPPORTS_JSON { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | [(); if M::SUPPORTS_FUNCTIONS { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | [(); if M::SUPPORTS_REASONING { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | [(); if M::SUPPORTS_VISION { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | [(); if M::SUPPORTS_JSON { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/types/const_models.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | [(); if M::SUPPORTS_FUNCTIONS { 1 } else { 0 }]:, [INFO] [stdout] | ^ cannot perform const operation using `M` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:206:43 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn top_p(mut self, top_p: f64) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:215:57 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn frequency_penalty(mut self, penalty: f64) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:224:56 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn presence_penalty(mut self, penalty: f64) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn validate(self) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^ expected 1 generic argument ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:262:27 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | reqwest::Error::from(std::io::Error::new( [INFO] [stdout] | _____________________--------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 104 | | std::io::ErrorKind::Other, [INFO] [stdout] 105 | | "Failed to clone request" [INFO] [stdout] 106 | | )) [INFO] [stdout] | |_____________________^ expected `reqwest::Error`, found `std::io::Error` [INFO] [stdout] | [INFO] [stdout] = note: `std::io::Error` and `reqwest::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/io/error.rs:72:0 [INFO] [stdout] note: `reqwest::Error` is defined in crate `reqwest` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.12.22/src/error.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:206:43 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn top_p(mut self, top_p: f64) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:215:57 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn frequency_penalty(mut self, penalty: f64) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:224:56 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn presence_penalty(mut self, penalty: f64) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn validate(self) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^ expected 1 generic argument ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:262:27 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/types/typed_builder.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | reqwest::Error::from(std::io::Error::new( [INFO] [stdout] | _____________________--------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 104 | | std::io::ErrorKind::Other, [INFO] [stdout] 105 | | "Failed to clone request" [INFO] [stdout] 106 | | )) [INFO] [stdout] | |_____________________^ expected `reqwest::Error`, found `std::io::Error` [INFO] [stdout] | [INFO] [stdout] = note: `std::io::Error` and `reqwest::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/std/src/io/error.rs:72:0 [INFO] [stdout] note: `reqwest::Error` is defined in crate `reqwest` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.12.22/src/error.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/typed_builder.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | return Err(ValidationError::InvalidTopP(top_p)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OpenAIError`, found `ValidationError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `request::ValidationError` due to the type of the argument passed [INFO] [stdout] --> src/types/typed_builder.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | return Err(ValidationError::InvalidTopP(top_p)); [INFO] [stdout] | ^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/typed_builder.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | return Err(ValidationError::InvalidFrequencyPenalty(penalty)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OpenAIError`, found `ValidationError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `request::ValidationError` due to the type of the argument passed [INFO] [stdout] --> src/types/typed_builder.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | return Err(ValidationError::InvalidFrequencyPenalty(penalty)); [INFO] [stdout] | ^^^^-------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/typed_builder.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | return Err(ValidationError::InvalidPresencePenalty(penalty)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OpenAIError`, found `ValidationError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `request::ValidationError` due to the type of the argument passed [INFO] [stdout] --> src/types/typed_builder.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | return Err(ValidationError::InvalidPresencePenalty(penalty)); [INFO] [stdout] | ^^^^------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::OpenAIError` [INFO] [stdout] --> src/types/typed_builder.rs:253:42 [INFO] [stdout] | [INFO] [stdout] 253 | self.request.validate_for_model()?; [INFO] [stdout] | --------------------^ the trait `From` is not implemented for `error::OpenAIError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, request::ValidationError>` [INFO] [stdout] | [INFO] [stdout] note: `error::OpenAIError` needs to implement `From` [INFO] [stdout] --> src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum OpenAIError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> src/error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `error::OpenAIError` implements `From` [INFO] [stdout] | `error::OpenAIError` implements `From` [INFO] [stdout] | `error::OpenAIError` implements `From` [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/typed_builder.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | return Err(ValidationError::InvalidTopP(top_p)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OpenAIError`, found `ValidationError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `request::ValidationError` due to the type of the argument passed [INFO] [stdout] --> src/types/typed_builder.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | return Err(ValidationError::InvalidTopP(top_p)); [INFO] [stdout] | ^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `const_models::TypedModel` [INFO] [stdout] --> src/types/const_models.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | assert_eq!(deserialized, model); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | const_models::TypedModel [INFO] [stdout] | const_models::TypedModel [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `const_models::O1` [INFO] [stdout] --> src/types/const_models.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct O1; [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `const_models::O1` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 212 + #[derive(PartialEq)] [INFO] [stdout] 213 | pub struct O1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/typed_builder.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | return Err(ValidationError::InvalidFrequencyPenalty(penalty)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OpenAIError`, found `ValidationError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `request::ValidationError` due to the type of the argument passed [INFO] [stdout] --> src/types/typed_builder.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | return Err(ValidationError::InvalidFrequencyPenalty(penalty)); [INFO] [stdout] | ^^^^-------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types/typed_builder.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | return Err(ValidationError::InvalidPresencePenalty(penalty)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OpenAIError`, found `ValidationError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `request::ValidationError` due to the type of the argument passed [INFO] [stdout] --> src/types/typed_builder.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | return Err(ValidationError::InvalidPresencePenalty(penalty)); [INFO] [stdout] | ^^^^------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `const_models::O1` doesn't implement `Debug` [INFO] [stdout] --> src/types/const_models.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | assert_eq!(deserialized, model); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `const_models::O1` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `const_models::O1` or manually `impl Debug for const_models::O1` [INFO] [stdout] help: the trait `Debug` is implemented for `const_models::TypedModel` [INFO] [stdout] --> src/types/const_models.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider annotating `const_models::O1` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 212 + #[derive(Debug)] [INFO] [stdout] 213 | pub struct O1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `OpenAIError` [INFO] [stdout] --> src/types/typed_builder.rs:253:42 [INFO] [stdout] | [INFO] [stdout] 253 | self.request.validate_for_model()?; [INFO] [stdout] | --------------------^ the trait `From` is not implemented for `OpenAIError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, request::ValidationError>` [INFO] [stdout] | [INFO] [stdout] note: `OpenAIError` needs to implement `From` [INFO] [stdout] --> src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum OpenAIError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> src/error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OpenAIError` implements `From` [INFO] [stdout] | `OpenAIError` implements `From` [INFO] [stdout] | `OpenAIError` implements `From` [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `const_models::O1` doesn't implement `Debug` [INFO] [stdout] --> src/types/const_models.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | assert_eq!(deserialized, model); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `const_models::O1` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `const_models::O1` or manually `impl Debug for const_models::O1` [INFO] [stdout] help: the trait `Debug` is implemented for `const_models::TypedModel` [INFO] [stdout] --> src/types/const_models.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider annotating `const_models::O1` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 212 + #[derive(Debug)] [INFO] [stdout] 213 | pub struct O1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `json_str` [INFO] [stdout] --> src/json.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | serde_json::from_str(&json_str).map_err(OpenAIError::Json) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `json_str` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `validated` [INFO] [stdout] --> src/types/typed_builder.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let validated = builder.validate().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openai-responses` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0515]: cannot return value referencing local variable `json_str` [INFO] [stdout] --> src/json.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | serde_json::from_str(&json_str).map_err(OpenAIError::Json) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `json_str` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0369, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openai-responses` (lib test) due to 19 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a1111907de0d7765ae90b69e41b9b6566db811c41a7e1ef92570225e025347e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1111907de0d7765ae90b69e41b9b6566db811c41a7e1ef92570225e025347e9", kill_on_drop: false }` [INFO] [stdout] a1111907de0d7765ae90b69e41b9b6566db811c41a7e1ef92570225e025347e9