[INFO] cloning repository https://github.com/TwistingTwists/rate_limiter_aimd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TwistingTwists/rate_limiter_aimd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwistingTwists%2Frate_limiter_aimd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwistingTwists%2Frate_limiter_aimd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a703a244e948f39dc431675d3cd07b91c653807 [INFO] building TwistingTwists/rate_limiter_aimd against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwistingTwists%2Frate_limiter_aimd" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TwistingTwists/rate_limiter_aimd on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TwistingTwists/rate_limiter_aimd [INFO] finished tweaking git repo https://github.com/TwistingTwists/rate_limiter_aimd [INFO] tweaked toml for git repo https://github.com/TwistingTwists/rate_limiter_aimd written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TwistingTwists/rate_limiter_aimd 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metrics v0.24.2 [INFO] [stderr] Downloaded metrics-util v0.18.0 [INFO] [stderr] Downloaded metrics-tracing-context v0.17.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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ffa4b067ff5c5568f0eeee9e4fe92a25f97d3b0ded05a7ba2c9460f5c7df53e [INFO] running `Command { std: "docker" "start" "-a" "5ffa4b067ff5c5568f0eeee9e4fe92a25f97d3b0ded05a7ba2c9460f5c7df53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ffa4b067ff5c5568f0eeee9e4fe92a25f97d3b0ded05a7ba2c9460f5c7df53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ffa4b067ff5c5568f0eeee9e4fe92a25f97d3b0ded05a7ba2c9460f5c7df53e", kill_on_drop: false }` [INFO] [stdout] 5ffa4b067ff5c5568f0eeee9e4fe92a25f97d3b0ded05a7ba2c9460f5c7df53e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d98232afa191172fb16509b8d02f1f69c1887f9bf76d1701706e93afe238ca4 [INFO] running `Command { std: "docker" "start" "-a" "0d98232afa191172fb16509b8d02f1f69c1887f9bf76d1701706e93afe238ca4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling quanta v0.12.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling metrics-util v0.18.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v3.6.3 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling metrics-tracing-context v0.17.0 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling bon v3.6.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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.23 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling tower-test v0.4.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling rate_limiter_aimd v0.1.1 (/opt/rustwide/workdir/crates/rate_limiter_aimd) [INFO] [stdout] warning: unused import: `tracing::instrument` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/controller.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retries::ExponentialBackoff` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/controller.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | retries::ExponentialBackoff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/internal_event/mod.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(any(test, feature = "test")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Error as CrateError` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Error as CrateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::AdaptiveConcurrencyLimitLayer` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use layer::AdaptiveConcurrencyLimitLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> crates/rate_limiter_aimd/src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/mod.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Error(bool); [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Error` 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: fields `max_total_retry_duration` and `first_attempt_made` are never read [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/retries.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ExponentialBackoffPolicy { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 376 | max_total_retry_duration: Option, // Optional: if you want to cap total time across retries [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 377 | first_attempt_made: bool, // To ensure backoff_iterator.next() isn't called before the first retry [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExponentialBackoffPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_retry_future` is never used [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/retries.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 388 | impl ExponentialBackoffPolicy { [INFO] [stdout] | ----------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | fn build_retry_future(&self, delay_duration: Duration) -> ExponentialPolicyFuture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gemini_client v0.1.0 (/opt/rustwide/workdir/crates/gemini_client) [INFO] [stderr] Compiling openai_client v0.1.0 (/opt/rustwide/workdir/crates/openai_client) [INFO] [stdout] warning: unused import: `rate_limiter_aimd::adaptive_concurrency::Error as CrateError` [INFO] [stdout] --> crates/openai_client/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rate_limiter_aimd::adaptive_concurrency::Error as CrateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> crates/openai_client/src/lib.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use std::{borrow::Cow, env, fmt, sync::Arc, time::Duration}; // Added env for CARGO_PKG_VERSION [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/openai_client/src/lib.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultReqwestRetryLogic` [INFO] [stdout] --> crates/gemini_client/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DefaultReqwestRetryLogic, ExponentialBackoff, ExponentialBackoffPolicy, JitterMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/openai_client/src/lib.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | .map_err(|e| OpenAIClientError::ServiceError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/openai_client/src/lib.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | .map_err(|e| OpenAIClientError::ServiceError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> crates/gemini_client/src/lib.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 389 | struct GoogleApiError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 392 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "0d98232afa191172fb16509b8d02f1f69c1887f9bf76d1701706e93afe238ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d98232afa191172fb16509b8d02f1f69c1887f9bf76d1701706e93afe238ca4", kill_on_drop: false }` [INFO] [stdout] 0d98232afa191172fb16509b8d02f1f69c1887f9bf76d1701706e93afe238ca4 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 934ee2c4c1741520fcb2328ef40bd16fa1194a77b6dd1cf3db100e29e26dd0bc [INFO] running `Command { std: "docker" "start" "-a" "934ee2c4c1741520fcb2328ef40bd16fa1194a77b6dd1cf3db100e29e26dd0bc", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `tracing::instrument` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/controller.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retries::ExponentialBackoff` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/controller.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | retries::ExponentialBackoff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/internal_event/mod.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(any(test, feature = "test")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Error as CrateError` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Error as CrateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rate_limiter_aimd v0.1.1 (/opt/rustwide/workdir/crates/rate_limiter_aimd) [INFO] [stdout] warning: unused import: `layer::AdaptiveConcurrencyLimitLayer` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use layer::AdaptiveConcurrencyLimitLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> crates/rate_limiter_aimd/src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/mod.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Error(bool); [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Error` 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: fields `max_total_retry_duration` and `first_attempt_made` are never read [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/retries.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ExponentialBackoffPolicy { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 376 | max_total_retry_duration: Option, // Optional: if you want to cap total time across retries [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 377 | first_attempt_made: bool, // To ensure backoff_iterator.next() isn't called before the first retry [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExponentialBackoffPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_retry_future` is never used [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/retries.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 388 | impl ExponentialBackoffPolicy { [INFO] [stdout] | ----------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | fn build_retry_future(&self, delay_duration: Duration) -> ExponentialPolicyFuture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultReqwestRetryLogic` [INFO] [stdout] --> crates/gemini_client/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DefaultReqwestRetryLogic, ExponentialBackoff, ExponentialBackoffPolicy, JitterMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> crates/gemini_client/src/lib.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 389 | struct GoogleApiError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 392 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limiter_aimd::adaptive_concurrency::Error as CrateError` [INFO] [stdout] --> crates/openai_client/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rate_limiter_aimd::adaptive_concurrency::Error as CrateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> crates/openai_client/src/lib.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use std::{borrow::Cow, env, fmt, sync::Arc, time::Duration}; // Added env for CARGO_PKG_VERSION [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/openai_client/src/lib.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/openai_client/src/lib.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | .map_err(|e| OpenAIClientError::ServiceError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/openai_client/src/lib.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | .map_err(|e| OpenAIClientError::ServiceError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gemini_client v0.1.0 (/opt/rustwide/workdir/crates/gemini_client) [INFO] [stderr] Compiling openai_client v0.1.0 (/opt/rustwide/workdir/crates/openai_client) [INFO] [stdout] warning: unused import: `rate_limiter_aimd::adaptive_concurrency::Error as CrateError` [INFO] [stdout] --> crates/openai_client/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rate_limiter_aimd::adaptive_concurrency::Error as CrateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> crates/openai_client/src/lib.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use std::{borrow::Cow, env, fmt, sync::Arc, time::Duration}; // Added env for CARGO_PKG_VERSION [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> crates/rate_limiter_aimd/examples/openai_chat.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::{Level, debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultReqwestRetryLogic` [INFO] [stdout] --> crates/gemini_client/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DefaultReqwestRetryLogic, ExponentialBackoff, ExponentialBackoffPolicy, JitterMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::instrument` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/controller.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retries::ExponentialBackoff` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/controller.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | retries::ExponentialBackoff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/internal_event/mod.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(any(test, feature = "test")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Error as CrateError` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Error as CrateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/reqwest_integration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> crates/rate_limiter_aimd/src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ac_builder_defaults` [INFO] [stdout] --> crates/openai_client/examples/adaptive_openai_client.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let ac_builder_defaults = AdaptiveConcurrencySettings::builder().build(); // to get builder defaults [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ac_builder_defaults` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/openai_client/src/lib.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | .map_err(|e| OpenAIClientError::ServiceError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/openai_client/src/lib.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | .map_err(|e| OpenAIClientError::ServiceError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENV_AC_DECREASE_RATIO` is never used [INFO] [stdout] --> crates/openai_client/examples/adaptive_openai_client.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const ENV_AC_DECREASE_RATIO: &str = "AC_DECREASE_RATIO"; // f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENV_AC_EWMA_ALPHA` is never used [INFO] [stdout] --> crates/openai_client/examples/adaptive_openai_client.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const ENV_AC_EWMA_ALPHA: &str = "AC_EWMA_ALPHA"; // f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENV_AC_RTT_DEVIATION_SCALE` is never used [INFO] [stdout] --> crates/openai_client/examples/adaptive_openai_client.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const ENV_AC_RTT_DEVIATION_SCALE: &str = "AC_RTT_DEVIATION_SCALE"; // f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/rate_limiter_aimd/examples/openai_chat.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let mut service = ServiceBuilder::new() [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> crates/gemini_client/src/lib.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 389 | struct GoogleApiError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 392 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/mod.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Error(bool); [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Error` 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: fields `concurrency_limit` and `averaged_rtt` are never read [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/controller.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub(super) struct ControllerStatistics { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 72 | pub(super) in_flight: TimeHistogram, [INFO] [stdout] 73 | pub(super) concurrency_limit: TimeHistogram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub(super) observed_rtt: TimeWeightedSum, [INFO] [stdout] 75 | pub(super) averaged_rtt: TimeWeightedSum, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControllerStatistics` has derived impls for the traits `Debug` and `Default`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_total_retry_duration` and `first_attempt_made` are never read [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/retries.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ExponentialBackoffPolicy { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 376 | max_total_retry_duration: Option, // Optional: if you want to cap total time across retries [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 377 | first_attempt_made: bool, // To ensure backoff_iterator.next() isn't called before the first retry [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExponentialBackoffPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_retry_future` is never used [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/retries.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 388 | impl ExponentialBackoffPolicy { [INFO] [stdout] | ----------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | fn build_retry_future(&self, delay_duration: Duration) -> ExponentialPolicyFuture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/rate_limiter_aimd/src/adaptive_concurrency/service.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | fn inner(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | fn inner(&self) -> MutexGuard<'_, Inner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.18s [INFO] running `Command { std: "docker" "inspect" "934ee2c4c1741520fcb2328ef40bd16fa1194a77b6dd1cf3db100e29e26dd0bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934ee2c4c1741520fcb2328ef40bd16fa1194a77b6dd1cf3db100e29e26dd0bc", kill_on_drop: false }` [INFO] [stdout] 934ee2c4c1741520fcb2328ef40bd16fa1194a77b6dd1cf3db100e29e26dd0bc