[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] testing Prometheus-AGS/bedrock-openai-proxy against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrometheus-AGS%2Fbedrock-openai-proxy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Prometheus-AGS/bedrock-openai-proxy on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded aws-smithy-async v1.2.5 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded aws-smithy-query v0.60.7 [INFO] [stderr] Downloaded aws-credential-types v1.2.5 [INFO] [stderr] Downloaded aws-types v1.3.8 [INFO] [stderr] Downloaded xmlparser v0.13.6 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.10 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded aws-sdk-sso v1.81.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.82.0 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded aws-config v1.8.5 [INFO] [stderr] Downloaded aws-smithy-runtime v1.9.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.83.0 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded security-framework v3.3.0 [INFO] [stderr] Downloaded aws-sdk-bedrockruntime v1.103.0 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.0 [INFO] [stderr] Downloaded aws-runtime v1.5.10 [INFO] [stderr] Downloaded aws-sigv4 v1.3.4 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded aws-smithy-types v1.3.2 [INFO] [stderr] Downloaded aws-smithy-json v0.61.4 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.11 [INFO] [stderr] Downloaded rustls-native-certs v0.8.1 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.3 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Downloaded aws-smithy-http v0.62.3 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] [stderr] Downloaded aws-sdk-bedrock v1.110.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 639f78598152162195f89ec29b930c65e21848e550288310c6ed1df2381565ec [INFO] running `Command { std: "docker" "start" "-a" "639f78598152162195f89ec29b930c65e21848e550288310c6ed1df2381565ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "639f78598152162195f89ec29b930c65e21848e550288310c6ed1df2381565ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639f78598152162195f89ec29b930c65e21848e550288310c6ed1df2381565ec", kill_on_drop: false }` [INFO] [stdout] 639f78598152162195f89ec29b930c65e21848e550288310c6ed1df2381565ec [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d13e575ebcae630be2a0326f3b1fbde8c3914d1b789f9ec84e77a5d982d1b84a [INFO] running `Command { std: "docker" "start" "-a" "d13e575ebcae630be2a0326f3b1fbde8c3914d1b789f9ec84e77a5d982d1b84a", 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 log v0.4.27 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [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 time-core v0.1.4 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling digest v0.10.7 [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 writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [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 aws-smithy-xml v0.60.10 [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.9 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [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 rustls-webpki v0.101.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [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 icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [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-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 aws-smithy-query v0.60.7 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.7.0 [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-sso v1.81.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.82.0 [INFO] [stderr] Compiling aws-sdk-sts v1.83.0 [INFO] [stderr] Compiling aws-sdk-bedrockruntime v1.103.0 [INFO] [stderr] Compiling aws-sdk-bedrock v1.110.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)]` 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)]` 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] = note: `OpenAIError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ErrorDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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)]` 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 48s [INFO] running `Command { std: "docker" "inspect" "d13e575ebcae630be2a0326f3b1fbde8c3914d1b789f9ec84e77a5d982d1b84a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d13e575ebcae630be2a0326f3b1fbde8c3914d1b789f9ec84e77a5d982d1b84a", kill_on_drop: false }` [INFO] [stdout] d13e575ebcae630be2a0326f3b1fbde8c3914d1b789f9ec84e77a5d982d1b84a [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 32979d868fc615397489de58c83e85f993db968c8be010ab6e71a280eab5516a [INFO] running `Command { std: "docker" "start" "-a" "32979d868fc615397489de58c83e85f993db968c8be010ab6e71a280eab5516a", 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)]` 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)]` 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] = note: `OpenAIError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ErrorDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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)]` 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 10.28s [INFO] running `Command { std: "docker" "inspect" "32979d868fc615397489de58c83e85f993db968c8be010ab6e71a280eab5516a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32979d868fc615397489de58c83e85f993db968c8be010ab6e71a280eab5516a", kill_on_drop: false }` [INFO] [stdout] 32979d868fc615397489de58c83e85f993db968c8be010ab6e71a280eab5516a [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 873dd04e4cebe428dc3f032b07d77ef36cda82d392150847896012e93da22965 [INFO] running `Command { std: "docker" "start" "-a" "873dd04e4cebe428dc3f032b07d77ef36cda82d392150847896012e93da22965", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/bedrock_client.rs:885:13 [INFO] [stderr] | [INFO] [stderr] 885 | let config = AppConfig::default(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/errors.rs:416:43 [INFO] [stderr] | [INFO] [stderr] 416 | BedrockProxyError::Internal { message, error_id } => { [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `message: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/errors.rs:578:70 [INFO] [stderr] | [INFO] [stderr] 578 | aws_sdk_bedrockruntime::Error::ResourceNotFoundException(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `type`, `role`, `model`, `stop_reason`, and `stop_sequence` are never read [INFO] [stderr] --> src/bedrock_client.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 79 | struct ClaudeResponse { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 80 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 81 | r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 82 | role: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 83 | content: Vec, [INFO] [stderr] 84 | model: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 85 | stop_reason: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 86 | stop_sequence: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClaudeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `estimate_token_count` is never used [INFO] [stderr] --> src/bedrock_client.rs:782:8 [INFO] [stderr] | [INFO] [stderr] 125 | impl BedrockClient { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 782 | fn estimate_token_count(&self, messages: &[crate::openai_types::ChatMessage]) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OpenAIError` is never constructed [INFO] [stderr] --> src/openai_types.rs:249:12 [INFO] [stderr] | [INFO] [stderr] 249 | pub struct OpenAIError { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenAIError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ErrorDetails` is never constructed [INFO] [stderr] --> src/openai_types.rs:254:12 [INFO] [stderr] | [INFO] [stderr] 254 | pub struct ErrorDetails { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: structure field `inputText` should have a snake case name [INFO] [stderr] --> src/bedrock_client.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | inputText: String, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `input_text` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `inputTextTokenCount` should have a snake case name [INFO] [stderr] --> src/bedrock_client.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | inputTextTokenCount: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_text_token_count` [INFO] [stderr] [INFO] [stderr] warning: `bedrock-openai-proxy` (bin "bedrock-openai-proxy" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bedrock_openai_proxy-7992eed2f81c9705) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test bedrock_client::tests::test_model_config_validation ... ok [INFO] [stdout] test handlers::tests::test_embedding_validation ... ok [INFO] [stdout] test bedrock_client::tests::test_token_estimation ... ok [INFO] [stdout] test bedrock_client::tests::test_tool_conversion ... ok [INFO] [stdout] test handlers::tests::test_chat_completion_validation ... ok [INFO] [stdout] test config::tests::test_context_validation ... ok [INFO] [stdout] test config::tests::test_cross_region_model_id_conversion ... ok [INFO] [stdout] test config::tests::test_model_capabilities_detection ... ok [INFO] [stdout] test bedrock_client::tests::test_request_validation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "873dd04e4cebe428dc3f032b07d77ef36cda82d392150847896012e93da22965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873dd04e4cebe428dc3f032b07d77ef36cda82d392150847896012e93da22965", kill_on_drop: false }` [INFO] [stdout] 873dd04e4cebe428dc3f032b07d77ef36cda82d392150847896012e93da22965