[INFO] cloning repository https://github.com/Prometheus-AGS/bedrock-openai-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Prometheus-AGS/bedrock-openai-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrometheus-AGS%2Fbedrock-openai-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrometheus-AGS%2Fbedrock-openai-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63f845640fad89b8c9f06a6470f391a2fa01c830 [INFO] building Prometheus-AGS/bedrock-openai-proxy against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrometheus-AGS%2Fbedrock-openai-proxy" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Prometheus-AGS/bedrock-openai-proxy [INFO] finished tweaking git repo https://github.com/Prometheus-AGS/bedrock-openai-proxy [INFO] tweaked toml for git repo https://github.com/Prometheus-AGS/bedrock-openai-proxy written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Prometheus-AGS/bedrock-openai-proxy 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 git repo https://github.com/Prometheus-AGS/bedrock-openai-proxy 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 aws-smithy-types v1.3.2 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded aws-smithy-async v1.2.5 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.10 [INFO] [stderr] Downloaded aws-smithy-query v0.60.7 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.3 [INFO] [stderr] Downloaded aws-smithy-json v0.61.4 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.11 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded aws-sdk-sso v1.81.0 [INFO] [stderr] Downloaded aws-sigv4 v1.3.4 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded aws-smithy-runtime v1.9.0 [INFO] [stderr] Downloaded security-framework v3.3.0 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded aws-sdk-sts v1.83.0 [INFO] [stderr] Downloaded aws-runtime v1.5.10 [INFO] [stderr] Downloaded aws-sdk-bedrockruntime v1.103.0 [INFO] [stderr] Downloaded aws-credential-types v1.2.5 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded aws-smithy-http v0.62.3 [INFO] [stderr] Downloaded rustls-native-certs v0.6.3 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.82.0 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded aws-types v1.3.8 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.0 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded aws-sdk-bedrock v1.110.0 [INFO] [stderr] Downloaded aws-config v1.8.5 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 74a796fa1b87430d9a144b98a535ef18a29bcb990629614b97116cc8d3089b2e [INFO] running `Command { std: "docker" "start" "-a" "74a796fa1b87430d9a144b98a535ef18a29bcb990629614b97116cc8d3089b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74a796fa1b87430d9a144b98a535ef18a29bcb990629614b97116cc8d3089b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a796fa1b87430d9a144b98a535ef18a29bcb990629614b97116cc8d3089b2e", kill_on_drop: false }` [INFO] [stdout] 74a796fa1b87430d9a144b98a535ef18a29bcb990629614b97116cc8d3089b2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0663b7edc7f7076e34df95965f5afd26a710a344005be10c990372225d63f1d8 [INFO] running `Command { std: "docker" "start" "-a" "0663b7edc7f7076e34df95965f5afd26a710a344005be10c990372225d63f1d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling aws-types v1.3.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling aws-smithy-xml v0.60.10 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling aws-smithy-async v1.2.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling aws-smithy-types v1.3.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Compiling aws-smithy-eventstream v0.60.11 [INFO] [stderr] Compiling aws-smithy-json v0.61.4 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling aws-smithy-http v0.62.3 [INFO] [stderr] Compiling aws-credential-types v1.2.5 [INFO] [stderr] Compiling aws-smithy-observability v0.1.3 [INFO] [stderr] Compiling aws-sigv4 v1.3.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling aws-smithy-http-client v1.1.0 [INFO] [stderr] Compiling aws-smithy-runtime v1.9.0 [INFO] [stderr] Compiling aws-runtime v1.5.10 [INFO] [stderr] Compiling aws-sdk-sts v1.83.0 [INFO] [stderr] Compiling aws-sdk-sso v1.81.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.82.0 [INFO] [stderr] Compiling aws-sdk-bedrock v1.110.0 [INFO] [stderr] Compiling aws-sdk-bedrockruntime v1.103.0 [INFO] [stderr] Compiling aws-config v1.8.5 [INFO] [stderr] Compiling bedrock-openai-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/errors.rs:416:43 [INFO] [stdout] | [INFO] [stdout] 416 | BedrockProxyError::Internal { message, error_id } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `message: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/errors.rs:578:70 [INFO] [stdout] | [INFO] [stdout] 578 | aws_sdk_bedrockruntime::Error::ResourceNotFoundException(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type`, `role`, `model`, `stop_reason`, and `stop_sequence` are never read [INFO] [stdout] --> src/bedrock_client.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct ClaudeResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 80 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 81 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | content: Vec, [INFO] [stdout] 84 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaudeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `estimate_token_count` is never used [INFO] [stdout] --> src/bedrock_client.rs:782:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl BedrockClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 782 | fn estimate_token_count(&self, messages: &[crate::openai_types::ChatMessage]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIError` is never constructed [INFO] [stdout] --> src/openai_types.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct OpenAIError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorDetails` is never constructed [INFO] [stdout] --> src/openai_types.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct ErrorDetails { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `inputText` should have a snake case name [INFO] [stdout] --> src/bedrock_client.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | inputText: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `inputTextTokenCount` should have a snake case name [INFO] [stdout] --> src/bedrock_client.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | inputTextTokenCount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_text_token_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 10s [INFO] running `Command { std: "docker" "inspect" "0663b7edc7f7076e34df95965f5afd26a710a344005be10c990372225d63f1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0663b7edc7f7076e34df95965f5afd26a710a344005be10c990372225d63f1d8", kill_on_drop: false }` [INFO] [stdout] 0663b7edc7f7076e34df95965f5afd26a710a344005be10c990372225d63f1d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 926382786f50ee4f33391c184d762150f5ce27adf19250b3cfb62da0404ebbed [INFO] running `Command { std: "docker" "start" "-a" "926382786f50ee4f33391c184d762150f5ce27adf19250b3cfb62da0404ebbed", kill_on_drop: false }` [INFO] [stderr] Compiling bedrock-openai-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/bedrock_client.rs:885:13 [INFO] [stdout] | [INFO] [stdout] 885 | let config = AppConfig::default(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/errors.rs:416:43 [INFO] [stdout] | [INFO] [stdout] 416 | BedrockProxyError::Internal { message, error_id } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `message: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/errors.rs:578:70 [INFO] [stdout] | [INFO] [stdout] 578 | aws_sdk_bedrockruntime::Error::ResourceNotFoundException(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type`, `role`, `model`, `stop_reason`, and `stop_sequence` are never read [INFO] [stdout] --> src/bedrock_client.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct ClaudeResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 80 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 81 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | content: Vec, [INFO] [stdout] 84 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaudeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `estimate_token_count` is never used [INFO] [stdout] --> src/bedrock_client.rs:782:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl BedrockClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 782 | fn estimate_token_count(&self, messages: &[crate::openai_types::ChatMessage]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAIError` is never constructed [INFO] [stdout] --> src/openai_types.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct OpenAIError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorDetails` is never constructed [INFO] [stdout] --> src/openai_types.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct ErrorDetails { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `inputText` should have a snake case name [INFO] [stdout] --> src/bedrock_client.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | inputText: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `inputTextTokenCount` should have a snake case name [INFO] [stdout] --> src/bedrock_client.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | inputTextTokenCount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_text_token_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.87s [INFO] running `Command { std: "docker" "inspect" "926382786f50ee4f33391c184d762150f5ce27adf19250b3cfb62da0404ebbed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "926382786f50ee4f33391c184d762150f5ce27adf19250b3cfb62da0404ebbed", kill_on_drop: false }` [INFO] [stdout] 926382786f50ee4f33391c184d762150f5ce27adf19250b3cfb62da0404ebbed