[INFO] fetching crate magicapi-ai-gateway 1.0.0... [INFO] building magicapi-ai-gateway-1.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate magicapi-ai-gateway 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate magicapi-ai-gateway 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate magicapi-ai-gateway 1.0.0 [INFO] tweaked toml for crates.io crate magicapi-ai-gateway 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate magicapi-ai-gateway 1.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate magicapi-ai-gateway 1.0.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-serde v0.2.0 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded time-macros v0.2.20 [INFO] [stderr] Downloaded aws_event_stream_parser v0.1.2 [INFO] [stderr] Downloaded windows-link v0.1.0 [INFO] [stderr] Downloaded serial_test v3.2.0 [INFO] [stderr] Downloaded aws-smithy-types v1.2.13 [INFO] [stderr] Downloaded serde_derive v1.0.218 [INFO] [stderr] Downloaded icu_properties_data v1.5.0 [INFO] [stderr] Downloaded alloc-stdlib v0.2.2 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded aws-smithy-async v1.2.4 [INFO] [stderr] Downloaded hermit-abi v0.3.9 [INFO] [stderr] Downloaded aws-credential-types v1.2.1 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded http v1.2.0 [INFO] [stderr] Downloaded matchit v0.7.3 [INFO] [stderr] Downloaded metrics v0.24.1 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.7.3 [INFO] [stderr] Downloaded aws-smithy-http v0.60.12 [INFO] [stderr] Downloaded aws-sigv4 v1.2.9 [INFO] [stderr] Downloaded either v1.14.0 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded quinn v0.11.6 [INFO] [stderr] Downloaded async-compression v0.4.20 [INFO] [stderr] Downloaded tokio-util v0.7.13 [INFO] [stderr] Downloaded quinn-proto v0.11.9 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded opentelemetry v0.27.1 [INFO] [stderr] Downloaded time-core v0.1.3 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded http-body-util v0.1.2 [INFO] [stderr] Downloaded ring v0.17.11 [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded elasticsearch v8.16.0-alpha.1 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.4 [INFO] [stderr] Downloaded flate2 v1.1.0 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded time v0.3.38 [INFO] [stderr] Downloaded zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Downloaded quinn-udp v0.5.10 [INFO] [stderr] Downloaded tempfile v3.17.1 [INFO] [stderr] Downloaded windows-result v0.2.0 [INFO] [stderr] Downloaded tower-http v0.6.2 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded rustls-webpki v0.102.8 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded tokio v1.43.0 [INFO] [stderr] Downloaded brotli-decompressor v4.0.2 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded scc v2.3.3 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded async-trait v0.1.87 [INFO] [stderr] Downloaded iana-time-zone v0.1.61 [INFO] [stderr] Downloaded deranged v0.3.11 [INFO] [stderr] Downloaded icu_normalizer_data v1.5.0 [INFO] [stderr] Downloaded icu_locid_transform_data v1.5.0 [INFO] [stderr] Downloaded windows-strings v0.1.0 [INFO] [stderr] Downloaded env_logger v0.11.6 [INFO] [stderr] Downloaded cc v1.2.16 [INFO] [stderr] Downloaded zstd-safe v7.2.3 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded sdd v3.0.7 [INFO] [stderr] Downloaded test-log-macros v0.2.17 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded serial_test_derive v3.2.0 [INFO] [stderr] Downloaded brotli v7.0.0 [INFO] [stderr] Downloaded libc v0.2.170 [INFO] [stderr] Downloaded log v0.4.26 [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded syn v2.0.99 [INFO] [stderr] Downloaded serde v1.0.218 [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded test-log v0.2.17 [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b12bf34dd094f4d9d9bad3eb91ea77698af7c0465a344f30f35edb45762a4535 [INFO] running `Command { std: "docker" "start" "-a" "b12bf34dd094f4d9d9bad3eb91ea77698af7c0465a344f30f35edb45762a4535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b12bf34dd094f4d9d9bad3eb91ea77698af7c0465a344f30f35edb45762a4535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b12bf34dd094f4d9d9bad3eb91ea77698af7c0465a344f30f35edb45762a4535", kill_on_drop: false }` [INFO] [stdout] b12bf34dd094f4d9d9bad3eb91ea77698af7c0465a344f30f35edb45762a4535 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e321620a2fb0f55eaf4bec107d50cfbfb0c5ff89073c8d406cec94944c6ab92c [INFO] running `Command { std: "docker" "start" "-a" "e321620a2fb0f55eaf4bec107d50cfbfb0c5ff89073c8d406cec94944c6ab92c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling time v0.3.38 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling elasticsearch v8.16.0-alpha.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling metrics v0.24.1 [INFO] [stderr] Compiling opentelemetry v0.27.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling aws-smithy-types v1.2.13 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling aws-smithy-async v1.2.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling async-compression v0.4.20 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.7.3 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling aws_event_stream_parser v0.1.2 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling aws-credential-types v1.2.1 [INFO] [stderr] Compiling aws-smithy-http v0.60.12 [INFO] [stderr] Compiling aws-sigv4 v1.2.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling magicapi-ai-gateway v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Extension` and `extract::connect_info::ConnectInfo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | extract::connect_info::ConnectInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Extension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body` and `Request` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::{Body, Request}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::signal` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::signal; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/providers/bedrock.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> src/telemetry/plugins/elasticsearch.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | http::transport::{Transport, TransportBuilder, SingleNodeConnectionPool}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/telemetry/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `context::RequestContext`, `health_check`, and `proxy_request` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | context::RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | handlers::{health_check, proxy_request}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut request: Request, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/proxy/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | provider: &Box, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/proxy/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | config: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/telemetry/middleware.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mut req: Request, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/providers/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/providers/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/providers/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | body: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/providers/mod.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | async fn before_request(&self, headers: &HeaderMap, body: &Bytes) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/providers/mod.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | async fn before_request(&self, headers: &HeaderMap, body: &Bytes) -> Result<(), AppError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/providers/bedrock.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | fn transform_path(&self, path: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_keepalive_interval` and `tcp_nodelay` are never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub tcp_keepalive_interval: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub tcp_nodelay: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cloudwatch_enabled` is never read [INFO] [stdout] --> src/config.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct TelemetryConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | pub cloudwatch_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelemetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestContext` is never constructed [INFO] [stdout] --> src/context.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RequestContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RequestContext { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(model: String, request_body: Value, headers: HeaderMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMethod`, `UnsupportedModel`, and `RequestError` are never constructed [INFO] [stdout] --> src/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | UnsupportedModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | RequestError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `sign_request`, and `get_signing_host` are never used [INFO] [stdout] --> src/providers/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn sign_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_signing_host(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_FALLBACK_MODEL` is never used [INFO] [stdout] --> src/providers/bedrock.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const DEFAULT_FALLBACK_MODEL: &str = "mistral.mistral-7b-instruct-v0:2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_model_name` is never used [INFO] [stdout] --> src/providers/bedrock.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl BedrockProvider { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn get_model_name(&self, path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/telemetry/plugins/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait TelemetryPlugin: Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 7 | async fn export(&self, metrics: &RequestMetrics) -> Result<(), Box>; [INFO] [stdout] 8 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `estimate_tokens_from_text` and `create_partial_metrics` are never used [INFO] [stdout] --> src/telemetry/provider_metrics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ProviderMetrics { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn estimate_tokens_from_text(text: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn create_partial_metrics(model: String, accumulated_text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "e321620a2fb0f55eaf4bec107d50cfbfb0c5ff89073c8d406cec94944c6ab92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e321620a2fb0f55eaf4bec107d50cfbfb0c5ff89073c8d406cec94944c6ab92c", kill_on_drop: false }` [INFO] [stdout] e321620a2fb0f55eaf4bec107d50cfbfb0c5ff89073c8d406cec94944c6ab92c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e3f50395e9e6515da86fdf3fdee4e9ae3c0a19f76ead5580619287f5e14beae [INFO] running `Command { std: "docker" "start" "-a" "2e3f50395e9e6515da86fdf3fdee4e9ae3c0a19f76ead5580619287f5e14beae", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling sdd v3.0.7 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling scc v2.3.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling aws-smithy-async v1.2.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.20 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.7.3 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling aws_event_stream_parser v0.1.2 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling aws-smithy-http v0.60.12 [INFO] [stderr] Compiling aws-credential-types v1.2.1 [INFO] [stderr] Compiling aws-sigv4 v1.2.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling elasticsearch v8.16.0-alpha.1 [INFO] [stderr] Compiling magicapi-ai-gateway v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> tests/integration/openai_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> tests/integration/openai_test.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | header::{HeaderMap, HeaderValue}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration/openai_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> tests/integration/openai_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> tests/integration/anthropic_test.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, header::{HeaderMap, HeaderValue}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration/anthropic_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> tests/integration/anthropic_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> tests/integration/anthropic_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> tests/integration/groq_test.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, header::{HeaderMap, HeaderValue}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration/groq_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> tests/integration/groq_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> tests/integration/groq_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> tests/integration/fireworks_test.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, header::{HeaderMap, HeaderValue}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration/fireworks_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> tests/integration/fireworks_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> tests/integration/fireworks_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> tests/integration/together_test.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, header::{HeaderMap, HeaderValue}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration/together_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> tests/integration/together_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> tests/integration/together_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_id` [INFO] [stdout] --> tests/integration/common.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn setup_test_headers(provider: &str, api_key: &str, request_id: &str) -> HeaderMap { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> tests/integration/openai_test.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_elasticsearch` is never used [INFO] [stdout] --> tests/integration/openai_test.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | async fn search_elasticsearch(request_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> tests/integration/anthropic_test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_elasticsearch` is never used [INFO] [stdout] --> tests/integration/anthropic_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn search_elasticsearch(request_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> tests/integration/groq_test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_elasticsearch` is never used [INFO] [stdout] --> tests/integration/groq_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn search_elasticsearch(request_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> tests/integration/fireworks_test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_elasticsearch` is never used [INFO] [stdout] --> tests/integration/fireworks_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn search_elasticsearch(request_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> tests/integration/together_test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_elasticsearch` is never used [INFO] [stdout] --> tests/integration/together_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn search_elasticsearch(request_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension` and `extract::connect_info::ConnectInfo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | extract::connect_info::ConnectInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Extension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body` and `Request` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::{Body, Request}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::signal` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::signal; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/providers/bedrock.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> src/telemetry/plugins/elasticsearch.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | http::transport::{Transport, TransportBuilder, SingleNodeConnectionPool}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/telemetry/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `context::RequestContext`, `health_check`, and `proxy_request` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | context::RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | handlers::{health_check, proxy_request}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension` and `extract::connect_info::ConnectInfo` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | extract::connect_info::ConnectInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Extension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body` and `Request` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::{Body, Request}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::signal` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::signal; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/providers/bedrock.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> src/telemetry/plugins/elasticsearch.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | http::transport::{Transport, TransportBuilder, SingleNodeConnectionPool}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/telemetry/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `context::RequestContext`, `health_check`, and `proxy_request` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | context::RequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | handlers::{health_check, proxy_request}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut request: Request, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/proxy/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | provider: &Box, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/proxy/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | config: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/telemetry/middleware.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mut req: Request, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut request: Request, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/proxy/mod.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | provider: &Box, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/proxy/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | config: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/telemetry/middleware.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mut req: Request, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/providers/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/providers/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/providers/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | body: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/providers/mod.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | async fn before_request(&self, headers: &HeaderMap, body: &Bytes) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/providers/mod.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | async fn before_request(&self, headers: &HeaderMap, body: &Bytes) -> Result<(), AppError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/providers/bedrock.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | fn transform_path(&self, path: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/providers/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/providers/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | url: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/providers/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | body: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/providers/mod.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | async fn before_request(&self, headers: &HeaderMap, body: &Bytes) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/providers/mod.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | async fn before_request(&self, headers: &HeaderMap, body: &Bytes) -> Result<(), AppError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/providers/bedrock.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | fn transform_path(&self, path: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_keepalive_interval` and `tcp_nodelay` are never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub tcp_keepalive_interval: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub tcp_nodelay: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cloudwatch_enabled` is never read [INFO] [stdout] --> src/config.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct TelemetryConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | pub cloudwatch_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelemetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestContext` is never constructed [INFO] [stdout] --> src/context.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RequestContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RequestContext { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(model: String, request_body: Value, headers: HeaderMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMethod`, `UnsupportedModel`, and `RequestError` are never constructed [INFO] [stdout] --> src/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | UnsupportedModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | RequestError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `sign_request`, and `get_signing_host` are never used [INFO] [stdout] --> src/providers/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn sign_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_signing_host(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_FALLBACK_MODEL` is never used [INFO] [stdout] --> src/providers/bedrock.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const DEFAULT_FALLBACK_MODEL: &str = "mistral.mistral-7b-instruct-v0:2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_model_name` is never used [INFO] [stdout] --> src/providers/bedrock.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl BedrockProvider { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn get_model_name(&self, path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/telemetry/plugins/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait TelemetryPlugin: Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 7 | async fn export(&self, metrics: &RequestMetrics) -> Result<(), Box>; [INFO] [stdout] 8 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `estimate_tokens_from_text` and `create_partial_metrics` are never used [INFO] [stdout] --> src/telemetry/provider_metrics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ProviderMetrics { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn estimate_tokens_from_text(text: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn create_partial_metrics(model: String, accumulated_text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_keepalive_interval` and `tcp_nodelay` are never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub tcp_keepalive_interval: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub tcp_nodelay: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cloudwatch_enabled` is never read [INFO] [stdout] --> src/config.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct TelemetryConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | pub cloudwatch_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelemetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestContext` is never constructed [INFO] [stdout] --> src/context.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RequestContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RequestContext { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(model: String, request_body: Value, headers: HeaderMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMethod`, `UnsupportedModel`, and `RequestError` are never constructed [INFO] [stdout] --> src/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | UnsupportedModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | RequestError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `sign_request`, and `get_signing_host` are never used [INFO] [stdout] --> src/providers/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn sign_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_signing_host(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_FALLBACK_MODEL` is never used [INFO] [stdout] --> src/providers/bedrock.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const DEFAULT_FALLBACK_MODEL: &str = "mistral.mistral-7b-instruct-v0:2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_model_name` is never used [INFO] [stdout] --> src/providers/bedrock.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl BedrockProvider { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn get_model_name(&self, path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/telemetry/plugins/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait TelemetryPlugin: Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 7 | async fn export(&self, metrics: &RequestMetrics) -> Result<(), Box>; [INFO] [stdout] 8 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `estimate_tokens_from_text` and `create_partial_metrics` are never used [INFO] [stdout] --> src/telemetry/provider_metrics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ProviderMetrics { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn estimate_tokens_from_text(text: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn create_partial_metrics(model: String, accumulated_text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 50.28s [INFO] running `Command { std: "docker" "inspect" "2e3f50395e9e6515da86fdf3fdee4e9ae3c0a19f76ead5580619287f5e14beae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e3f50395e9e6515da86fdf3fdee4e9ae3c0a19f76ead5580619287f5e14beae", kill_on_drop: false }` [INFO] [stdout] 2e3f50395e9e6515da86fdf3fdee4e9ae3c0a19f76ead5580619287f5e14beae