[INFO] fetching crate magicapi-ai-gateway 1.0.0...
[INFO] building magicapi-ai-gateway-1.0.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[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 c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded sdd v3.0.7
[INFO] [stderr] Downloaded build_const v0.2.2
[INFO] [stderr] Downloaded metrics v0.24.1
[INFO] [stderr] Downloaded aws-credential-types v1.2.1
[INFO] [stderr] Downloaded crc v1.8.1
[INFO] [stderr] Downloaded aws-smithy-async v1.2.4
[INFO] [stderr] Downloaded aws-sigv4 v1.2.9
[INFO] [stderr] Downloaded aws-smithy-runtime-api v1.7.3
[INFO] [stderr] Downloaded aws-smithy-types v1.2.13
[INFO] [stderr] Downloaded async-compression v0.4.20
[INFO] [stderr] Downloaded aws-smithy-http v0.60.12
[INFO] [stderr] Downloaded aws_event_stream_parser v0.1.2
[INFO] [stderr] Downloaded elasticsearch v8.16.0-alpha.1
[INFO] [stderr] Downloaded opentelemetry v0.27.1
[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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d62e77b1baecc7cb1f21defa2fa2b0cb5b1b9c10ac25af5ed760553e4c1f4d1d
[INFO] running `Command { std: "docker" "start" "-a" "d62e77b1baecc7cb1f21defa2fa2b0cb5b1b9c10ac25af5ed760553e4c1f4d1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d62e77b1baecc7cb1f21defa2fa2b0cb5b1b9c10ac25af5ed760553e4c1f4d1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d62e77b1baecc7cb1f21defa2fa2b0cb5b1b9c10ac25af5ed760553e4c1f4d1d", kill_on_drop: false }`
[INFO] [stdout] d62e77b1baecc7cb1f21defa2fa2b0cb5b1b9c10ac25af5ed760553e4c1f4d1d
[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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a34a7fcbbf87c999e9b85e4ba9b1295d8aaa265b752b8d4ff452602e9de16b1e
[INFO] running `Command { std: "docker" "start" "-a" "a34a7fcbbf87c999e9b85e4ba9b1295d8aaa265b752b8d4ff452602e9de16b1e", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v2.0.99
[INFO] [stderr] Compiling libc v0.2.170
[INFO] [stderr] Compiling serde v1.0.218
[INFO] [stderr] Compiling smallvec v1.14.0
[INFO] [stderr] Compiling once_cell v1.20.3
[INFO] [stderr] Compiling memchr v2.7.4
[INFO] [stderr] Compiling log v0.4.26
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling indexmap v2.7.1
[INFO] [stderr] Compiling zstd-safe v7.2.3
[INFO] [stderr] Compiling openssl v0.10.71
[INFO] [stderr] Compiling either v1.14.0
[INFO] [stderr] Compiling outref v0.5.2
[INFO] [stderr] Compiling time-core v0.1.3
[INFO] [stderr] Compiling vsimd v0.8.0
[INFO] [stderr] Compiling rustls v0.23.23
[INFO] [stderr] Compiling miniz_oxide v0.8.5
[INFO] [stderr] Compiling time v0.3.38
[INFO] [stderr] Compiling tracing-core v0.1.33
[INFO] [stderr] Compiling brotli-decompressor v4.0.2
[INFO] [stderr] Compiling lexical-core v0.7.6
[INFO] [stderr] Compiling build_const v0.2.2
[INFO] [stderr] Compiling crc v1.8.1
[INFO] [stderr] Compiling webpki-roots v0.26.8
[INFO] [stderr] Compiling nom v5.1.3
[INFO] [stderr] Compiling arrayvec v0.5.2
[INFO] [stderr] Compiling getrandom v0.3.1
[INFO] [stderr] Compiling elasticsearch v8.16.0-alpha.1
[INFO] [stderr] Compiling sha2 v0.10.8
[INFO] [stderr] Compiling base64-simd v0.8.0
[INFO] [stderr] Compiling tracing-log v0.2.0
[INFO] [stderr] Compiling flate2 v1.1.0
[INFO] [stderr] Compiling thread_local v1.1.8
[INFO] [stderr] Compiling uuid v0.8.2
[INFO] [stderr] Compiling dyn-clone v1.0.19
[INFO] [stderr] Compiling void v1.0.2
[INFO] [stderr] Compiling dotenv v0.15.0
[INFO] [stderr] Compiling num-integer v0.1.46
[INFO] [stderr] Compiling brotli v7.0.0
[INFO] [stderr] Compiling jobserver v0.1.32
[INFO] [stderr] Compiling parking_lot_core v0.9.10
[INFO] [stderr] Compiling signal-hook-registry v1.4.2
[INFO] [stderr] Compiling socket2 v0.5.8
[INFO] [stderr] Compiling mio v1.0.3
[INFO] [stderr] Compiling getrandom v0.2.15
[INFO] [stderr] Compiling num_cpus v1.16.0
[INFO] [stderr] Compiling cc v1.2.16
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling parking_lot v0.12.3
[INFO] [stderr] Compiling openssl-sys v0.9.106
[INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7
[INFO] [stderr] Compiling ring v0.17.11
[INFO] [stderr] Compiling native-tls v0.2.14
[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 thiserror-impl v1.0.69
[INFO] [stderr] Compiling pin-project-internal v1.1.10
[INFO] [stderr] Compiling thiserror-impl v2.0.12
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling rustls-webpki v0.102.8
[INFO] [stderr] Compiling zerocopy v0.7.35
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Compiling pin-project v1.1.10
[INFO] [stderr] Compiling opentelemetry v0.27.1
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling yoke v0.7.5
[INFO] [stderr] Compiling ppv-lite86 v0.2.20
[INFO] [stderr] Compiling ahash v0.8.11
[INFO] [stderr] Compiling zerovec v0.10.4
[INFO] [stderr] Compiling metrics v0.24.1
[INFO] [stderr] Compiling darling_macro v0.20.10
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling thiserror v2.0.12
[INFO] [stderr] Compiling zstd v0.13.3
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling darling v0.20.10
[INFO] [stderr] Compiling serde_with_macros v3.12.0
[INFO] [stderr] Compiling 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 futures-executor v0.3.31
[INFO] [stderr] Compiling futures v0.3.31
[INFO] [stderr] Compiling icu_properties v1.5.1
[INFO] [stderr] Compiling bytes v1.10.1
[INFO] [stderr] Compiling serde_json v1.0.140
[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 chrono v0.4.40
[INFO] [stderr] Compiling tracing-serde v0.2.0
[INFO] [stderr] Compiling uuid v1.15.1
[INFO] [stderr] Compiling icu_normalizer v1.5.0
[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 idna_adapter v1.2.0
[INFO] [stderr] Compiling idna v1.0.3
[INFO] [stderr] Compiling tracing-subscriber v0.3.19
[INFO] [stderr] Compiling url v2.5.4
[INFO] [stderr] Compiling http-body v1.0.1
[INFO] [stderr] Compiling http-body v0.4.6
[INFO] [stderr] Compiling aws-smithy-types v1.2.13
[INFO] [stderr] Compiling http-body-util v0.1.2
[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 tower v0.5.2
[INFO] [stderr] Compiling tokio-rustls v0.26.2
[INFO] [stderr] Compiling tokio-native-tls v0.3.1
[INFO] [stderr] Compiling async-compression v0.4.20
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling hyper v0.14.32
[INFO] [stderr] Compiling tokio-retry v0.3.0
[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-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 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 47s
[INFO] running `Command { std: "docker" "inspect" "a34a7fcbbf87c999e9b85e4ba9b1295d8aaa265b752b8d4ff452602e9de16b1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a34a7fcbbf87c999e9b85e4ba9b1295d8aaa265b752b8d4ff452602e9de16b1e", kill_on_drop: false }`
[INFO] [stdout] a34a7fcbbf87c999e9b85e4ba9b1295d8aaa265b752b8d4ff452602e9de16b1e
[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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 416d6a678f810a3c76c37cf408c1ba8db2b9e3948539e9456ebcb1f557cd4405
[INFO] running `Command { std: "docker" "start" "-a" "416d6a678f810a3c76c37cf408c1ba8db2b9e3948539e9456ebcb1f557cd4405", kill_on_drop: false }`
[INFO] [stderr] Compiling tokio v1.43.0
[INFO] [stderr] Compiling anstream v0.6.18
[INFO] [stderr] Compiling env_filter v0.1.3
[INFO] [stderr] Compiling sdd v3.0.7
[INFO] [stderr] Compiling serial_test_derive v3.2.0
[INFO] [stderr] Compiling test-log-macros v0.2.17
[INFO] [stderr] Compiling env_logger v0.11.6
[INFO] [stderr] Compiling scc v2.3.3
[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 tokio-rustls v0.26.2
[INFO] [stderr] Compiling tower v0.5.2
[INFO] [stderr] Compiling async-compression v0.4.20
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling tokio-retry v0.3.0
[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 tower-http v0.6.2
[INFO] [stderr] Compiling aws_event_stream_parser v0.1.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-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: 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: `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: 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/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: `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: `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 1m 01s
[INFO] running `Command { std: "docker" "inspect" "416d6a678f810a3c76c37cf408c1ba8db2b9e3948539e9456ebcb1f557cd4405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "416d6a678f810a3c76c37cf408c1ba8db2b9e3948539e9456ebcb1f557cd4405", kill_on_drop: false }`
[INFO] [stdout] 416d6a678f810a3c76c37cf408c1ba8db2b9e3948539e9456ebcb1f557cd4405