[INFO] cloning repository https://github.com/Geo-ff/AI-Gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Geo-ff/AI-Gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeo-ff%2FAI-Gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeo-ff%2FAI-Gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07fa70aabee2aedb34b5b4b672e0b5c4834436c9 [INFO] checking Geo-ff/AI-Gateway against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeo-ff%2FAI-Gateway" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Geo-ff/AI-Gateway [INFO] finished tweaking git repo https://github.com/Geo-ff/AI-Gateway [INFO] tweaked toml for git repo https://github.com/Geo-ff/AI-Gateway written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Geo-ff/AI-Gateway on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Geo-ff/AI-Gateway 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c [INFO] running `Command { std: "docker" "start" "a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Checking tempfile v3.22.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking ecow v0.2.6 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking governor v0.10.4 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking postgres-types v0.2.10 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tokio-postgres v0.7.14 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking resend-rs v0.19.0 [INFO] [stderr] Checking anthropic-ai-sdk v0.2.26 [INFO] [stderr] Checking async-openai v0.29.3 [INFO] [stderr] Checking gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated field `async_openai::types::CreateChatCompletionRequest::max_tokens` [INFO] [stdout] --> src/server/request_lab.rs:2581:20 [INFO] [stdout] | [INFO] [stdout] 2581 | assert_eq!(request.max_tokens, Some(256)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/handlers/provider_models_list.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | unsupported_provider_message(payload.api_type).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/handlers/provider_models_list.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | GatewayError::Config(unsupported_provider_message(payload.api_type).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "provider type '{}' does not support direct models listing yet", [INFO] [stdout] 34 | | provider.api_type.as_str() [INFO] [stdout] 35 | | ) [INFO] [stdout] 36 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | .map_err(|e| GatewayError::Config(e.to_string().into()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | / format!( [INFO] [stdout] 45 | | "provider type '{}' does not have a models adapter", [INFO] [stdout] 46 | | provider.api_type.as_str() [INFO] [stdout] 47 | | ) [INFO] [stdout] 48 | | .into(), [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | / format!( [INFO] [stdout] 81 | | "provider type '{}' does not have a models adapter", [INFO] [stdout] 82 | | provider_type.as_str() [INFO] [stdout] 83 | | ) [INFO] [stdout] 84 | | .into(), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | / detail [INFO] [stdout] 91 | | .unwrap_or_else(|| "invalid auth header".into()) [INFO] [stdout] 92 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/provider_dispatch.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | / format!( [INFO] [stdout] 184 | | "provider type '{}' is registered but chat dispatch is not implemented yet", [INFO] [stdout] 185 | | provider_type.as_str() [INFO] [stdout] 186 | | ) [INFO] [stdout] 187 | | .into(), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gateway` (bin "gateway") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/handlers/provider_models_list.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | unsupported_provider_message(payload.api_type).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/handlers/provider_models_list.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | GatewayError::Config(unsupported_provider_message(payload.api_type).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "provider type '{}' does not support direct models listing yet", [INFO] [stdout] 34 | | provider.api_type.as_str() [INFO] [stdout] 35 | | ) [INFO] [stdout] 36 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | .map_err(|e| GatewayError::Config(e.to_string().into()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | / format!( [INFO] [stdout] 45 | | "provider type '{}' does not have a models adapter", [INFO] [stdout] 46 | | provider.api_type.as_str() [INFO] [stdout] 47 | | ) [INFO] [stdout] 48 | | .into(), [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | / format!( [INFO] [stdout] 81 | | "provider type '{}' does not have a models adapter", [INFO] [stdout] 82 | | provider_type.as_str() [INFO] [stdout] 83 | | ) [INFO] [stdout] 84 | | .into(), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/model_helpers.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | / detail [INFO] [stdout] 91 | | .unwrap_or_else(|| "invalid auth header".into()) [INFO] [stdout] 92 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/server/provider_dispatch.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | / format!( [INFO] [stdout] 184 | | "provider type '{}' is registered but chat dispatch is not implemented yet", [INFO] [stdout] 185 | | provider_type.as_str() [INFO] [stdout] 186 | | ) [INFO] [stdout] 187 | | .into(), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gateway` (bin "gateway" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c", kill_on_drop: false }` [INFO] [stdout] a2c4bbc79ce4f0035d2fbe8527eed8b81e6f4afe41cbb60e392a4e9903ac134c