[INFO] fetching crate arms 0.0.3... [INFO] testing arms-0.0.3 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] extracting crate arms 0.0.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate arms 0.0.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate arms 0.0.3 [INFO] tweaked toml for crates.io crate arms 0.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arms 0.0.3 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate arms 0.0.3 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac196babed857e25e1f6c761400b8e9cc72941000d210238cc97fabe39a86344 [INFO] running `Command { std: "docker" "start" "-a" "ac196babed857e25e1f6c761400b8e9cc72941000d210238cc97fabe39a86344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac196babed857e25e1f6c761400b8e9cc72941000d210238cc97fabe39a86344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac196babed857e25e1f6c761400b8e9cc72941000d210238cc97fabe39a86344", kill_on_drop: false }` [INFO] [stdout] ac196babed857e25e1f6c761400b8e9cc72941000d210238cc97fabe39a86344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7818bd15ff07373dffbbca1a82eb60270e4a08dd2e1e3017400902701d678a5f [INFO] running `Command { std: "docker" "start" "-a" "7818bd15ff07373dffbbca1a82eb60270e4a08dd2e1e3017400902701d678a5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.26 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.31.1 [INFO] [stderr] Compiling arms v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated field `async_openai::types::chat::ChatCompletionResponseMessage::function_call` [INFO] [stdout] --> src/provider/faker.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::chat::CreateChatCompletionResponse::system_fingerprint` [INFO] [stdout] --> src/provider/faker.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | system_fingerprint: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/router/router.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Router { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 26 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouterStats` is never constructed [INFO] [stdout] --> src/router/stats.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RouterStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `increment_request` are never used [INFO] [stdout] --> src/router/stats.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RouterStats { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn increment_request(&mut self, model_id: &ModelName) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/provider/openai.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OpenAIProvider { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | model: ModelName, [INFO] [stdout] 14 | config: OpenAIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIProvider` 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: method `name` is never used [INFO] [stdout] --> src/provider/provider.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 28 | // Used in tests only now. [INFO] [stdout] 29 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "7818bd15ff07373dffbbca1a82eb60270e4a08dd2e1e3017400902701d678a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7818bd15ff07373dffbbca1a82eb60270e4a08dd2e1e3017400902701d678a5f", kill_on_drop: false }` [INFO] [stdout] 7818bd15ff07373dffbbca1a82eb60270e4a08dd2e1e3017400902701d678a5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e4d36741968e964855a4b628e4f527af8867cf61bdfaa2e1007e7fefa63ec5 [INFO] running `Command { std: "docker" "start" "-a" "73e4d36741968e964855a4b628e4f527af8867cf61bdfaa2e1007e7fefa63ec5", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated field `async_openai::types::chat::ChatCompletionResponseMessage::function_call` [INFO] [stdout] --> src/provider/faker.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::chat::CreateChatCompletionResponse::system_fingerprint` [INFO] [stdout] --> src/provider/faker.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | system_fingerprint: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/router/router.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Router { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 26 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouterStats` is never constructed [INFO] [stdout] --> src/router/stats.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RouterStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling arms v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `default` and `increment_request` are never used [INFO] [stdout] --> src/router/stats.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RouterStats { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn increment_request(&mut self, model_id: &ModelName) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/provider/openai.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OpenAIProvider { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | model: ModelName, [INFO] [stdout] 14 | config: OpenAIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIProvider` 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: method `name` is never used [INFO] [stdout] --> src/provider/provider.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 28 | // Used in tests only now. [INFO] [stdout] 29 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::chat::ChatCompletionResponseMessage::function_call` [INFO] [stdout] --> src/provider/faker.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::chat::CreateChatCompletionResponse::system_fingerprint` [INFO] [stdout] --> src/provider/faker.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | system_fingerprint: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouterStats` is never constructed [INFO] [stdout] --> src/router/stats.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RouterStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `increment_request` are never used [INFO] [stdout] --> src/router/stats.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RouterStats { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn increment_request(&mut self, model_id: &ModelName) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/provider/openai.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OpenAIProvider { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | model: ModelName, [INFO] [stdout] 14 | config: OpenAIConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIProvider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.70s [INFO] running `Command { std: "docker" "inspect" "73e4d36741968e964855a4b628e4f527af8867cf61bdfaa2e1007e7fefa63ec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e4d36741968e964855a4b628e4f527af8867cf61bdfaa2e1007e7fefa63ec5", kill_on_drop: false }` [INFO] [stdout] 73e4d36741968e964855a4b628e4f527af8867cf61bdfaa2e1007e7fefa63ec5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1e51d104cfebd98de29eff93a8ba9c72ad13852fddf9c608e0f1aa0f3f47e58 [INFO] running `Command { std: "docker" "start" "-a" "f1e51d104cfebd98de29eff93a8ba9c72ad13852fddf9c608e0f1aa0f3f47e58", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated field `async_openai::types::chat::ChatCompletionResponseMessage::function_call` [INFO] [stderr] --> src/provider/faker.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | function_call: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `async_openai::types::chat::CreateChatCompletionResponse::system_fingerprint` [INFO] [stderr] --> src/provider/faker.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | system_fingerprint: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `name` is never used [INFO] [stderr] --> src/router/router.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub trait Router { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] 26 | fn name(&self) -> &'static str; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `RouterStats` is never constructed [INFO] [stderr] --> src/router/stats.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct RouterStats { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `default` and `increment_request` are never used [INFO] [stderr] --> src/router/stats.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl RouterStats { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 11 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn increment_request(&mut self, model_id: &ModelName) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/provider/openai.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct OpenAIProvider { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 13 | model: ModelName, [INFO] [stderr] 14 | config: OpenAIConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenAIProvider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `name` is never used [INFO] [stderr] --> src/provider/provider.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub trait Provider: Send + Sync { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] 28 | // Used in tests only now. [INFO] [stderr] 29 | fn name(&self) -> &'static str; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RouterStats` is never constructed [INFO] [stderr] --> src/router/stats.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct RouterStats { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `arms` (lib) generated 7 warnings [INFO] [stderr] warning: `arms` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/arms-7fb598e6f630663b) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test client::config::tests::test_config_validation ... ok [INFO] [stdout] test router::router::tests::test_router_construction ... ok [INFO] [stdout] test client::config::tests::test_populate_config ... ok [INFO] [stdout] test router::wrr::tests::test_weighted_round_robin_sampling ... ok [INFO] [stdout] test router::random::tests::test_random_router_sampling ... ok [INFO] [stdout] test provider::provider::tests::test_provider_construction ... FAILED [INFO] [stdout] test client::client::tests::test_client_new ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- provider::provider::tests::test_provider_construction stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'provider::provider::tests::test_provider_construction' (20) panicked at src/provider/openai.rs:26:50: [INFO] [stdout] API key environment variable not set: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a2832fb3032 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a2832fb3032 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a2832fb3032 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5a2832fb3032 - <::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5a2832fca43a - ::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5a2832fca43a - core[585f66e14d78f9ba]::fmt::write [INFO] [stdout] 6: 0x5a2832fb8626 - std[3f03f8b59f91bef1]::io::default_write_fmt::> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a2832fb8626 - as std[3f03f8b59f91bef1]::io::Write>::write_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5a2832f901ef - ::print [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5a2832f901ef - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5a2832faa889 - std[3f03f8b59f91bef1]::panicking::default_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5a28328ac1fe - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5a28328ac1fe - test[30224e0cb089acd2]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a2832faaaf2 - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5a2832faaaf2 - std[3f03f8b59f91bef1]::panicking::panic_with_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5a2832f902a8 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5a2832f85149 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5a2832f9136d - __rustc[caa99d26c7bae192]::rust_begin_unwind [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5a2832fcab7c - core[585f66e14d78f9ba]::panicking::panic_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5a2832fca8f2 - core[585f66e14d78f9ba]::result::unwrap_failed [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5a28327bb54e - >::expect [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x5a28328849b4 - ::builder [INFO] [stdout] at /opt/rustwide/workdir/src/provider/openai.rs:26:50 [INFO] [stdout] 22: 0x5a28328871de - arms[e849487b9e8a6b1b]::provider::provider::construct_provider [INFO] [stdout] at /opt/rustwide/workdir/src/provider/provider.rs:18:13 [INFO] [stdout] 23: 0x5a28328539cb - arms[e849487b9e8a6b1b]::provider::provider::tests::test_provider_construction [INFO] [stdout] at /opt/rustwide/workdir/src/provider/provider.rs:86:32 [INFO] [stdout] 24: 0x5a283284b697 - arms[e849487b9e8a6b1b]::provider::provider::tests::test_provider_construction::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/provider/provider.rs:45:36 [INFO] [stdout] 25: 0x5a2832840006 - >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5a28328a05ab - core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x5a28328a05ab - test[30224e0cb089acd2]::__rust_begin_short_backtrace::, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x5a28328ace0a - test[30224e0cb089acd2]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x5a28328ace0a - as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x5a28328ace0a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 31: 0x5a28328ace0a - std[3f03f8b59f91bef1]::panicking::catch_unwind::, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 32: 0x5a28328ace0a - std[3f03f8b59f91bef1]::panic::catch_unwind::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x5a28328ace0a - test[30224e0cb089acd2]::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x5a28328ace0a - test[30224e0cb089acd2]::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x5a28328a72d4 - test[30224e0cb089acd2]::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x5a28328a72d4 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 37: 0x5a28328af902 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 38: 0x5a28328af902 - ::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x5a28328af902 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 40: 0x5a28328af902 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 41: 0x5a28328af902 - std[3f03f8b59f91bef1]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x5a28328af902 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 43: 0x5a28328af902 - ::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x5a2832fb289f - + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 45: 0x5a2832fb289f - ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 46: 0x7754d8ddeaa4 - [INFO] [stdout] 47: 0x7754d8e6ba64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] provider::provider::tests::test_provider_construction [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "f1e51d104cfebd98de29eff93a8ba9c72ad13852fddf9c608e0f1aa0f3f47e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e51d104cfebd98de29eff93a8ba9c72ad13852fddf9c608e0f1aa0f3f47e58", kill_on_drop: false }` [INFO] [stdout] f1e51d104cfebd98de29eff93a8ba9c72ad13852fddf9c608e0f1aa0f3f47e58