[INFO] cloning repository https://github.com/alphonsasooter/RateLimiter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alphonsasooter/RateLimiter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falphonsasooter%2FRateLimiter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falphonsasooter%2FRateLimiter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f5ad1f797237051063c322fcf450c0a6caf832e8
[INFO] checking alphonsasooter/RateLimiter against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falphonsasooter%2FRateLimiter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alphonsasooter/RateLimiter
[INFO] finished tweaking git repo https://github.com/alphonsasooter/RateLimiter
[INFO] tweaked toml for git repo https://github.com/alphonsasooter/RateLimiter written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alphonsasooter/RateLimiter on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alphonsasooter/RateLimiter 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v1.22.0
[INFO] [stderr]   Downloaded tokio-test v0.4.5
[INFO] [stderr]   Downloaded redis v0.25.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7d14b269f4bfc54d8548063622d75dd0e751c8c3f66c876213676e6332d6340
[INFO] running `Command { std: "docker" "start" "-a" "e7d14b269f4bfc54d8548063622d75dd0e751c8c3f66c876213676e6332d6340", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7d14b269f4bfc54d8548063622d75dd0e751c8c3f66c876213676e6332d6340", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7d14b269f4bfc54d8548063622d75dd0e751c8c3f66c876213676e6332d6340", kill_on_drop: false }`
[INFO] [stdout] e7d14b269f4bfc54d8548063622d75dd0e751c8c3f66c876213676e6332d6340
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 21939c74449bfe5e24170d7751c7e3ae7154fe5745bd7f595b6e5ccc8cb1d0ec
[INFO] running `Command { std: "docker" "start" "-a" "21939c74449bfe5e24170d7751c7e3ae7154fe5745bd7f595b6e5ccc8cb1d0ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking uuid v1.22.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking openssl v0.10.76
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking native-tls v0.2.18
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking redis v0.25.4
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking rate-limiter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RateLimiterError`
[INFO] [stdout]  --> src/algorithms/token_bucket.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::errors::{Result, RateLimiterError};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RateLimiterError`
[INFO] [stdout]  --> src/algorithms/token_bucket.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::errors::{Result, RateLimiterError};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RateLimiterError`
[INFO] [stdout]  --> src/algorithms/token_bucket.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::errors::{Result, RateLimiterError};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> tests/token_bucket_test.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::sync::Arc;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RateLimiterError`
[INFO] [stdout]  --> src/algorithms/token_bucket.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::errors::{Result, RateLimiterError};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixedWindow` is never constructed
[INFO] [stdout]  --> src/algorithms/fixed_window.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct FixedWindow {
[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 function `new` is never used
[INFO] [stdout]   --> src/algorithms/fixed_window.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl FixedWindow {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(store: RedisStore) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RateLimitState` is never constructed
[INFO] [stdout]   --> src/api/middleware.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct RateLimitState {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rate_limit_middleware` is never used
[INFO] [stdout]   --> src/api/middleware.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub async fn rate_limit_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RateLimitExceeded`, `RuleNotFound`, and `InvalidConfig` are never constructed
[INFO] [stdout]   --> src/errors.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum RateLimiterError {
[INFO] [stdout]    |          ---------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     RateLimitExceeded(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     RuleNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     InvalidConfig(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RateLimiterError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `delete_pattern`, `get`, and `set_with_expiry` are never used
[INFO] [stdout]   --> src/store/redis_store.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl RedisStore {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub async fn delete_pattern(&self, pattern: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub async fn get(&self, key: &str) -> Result<Option<String>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub async fn set_with_expiry(&self, key: &str, value: &str, ttl_secs: u64) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixedWindow` is never constructed
[INFO] [stdout]  --> src/algorithms/fixed_window.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct FixedWindow {
[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 function `new` is never used
[INFO] [stdout]   --> src/algorithms/fixed_window.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl FixedWindow {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(store: RedisStore) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RateLimitState` is never constructed
[INFO] [stdout]   --> src/api/middleware.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct RateLimitState {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rate_limit_middleware` is never used
[INFO] [stdout]   --> src/api/middleware.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub async fn rate_limit_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RateLimitExceeded`, `RuleNotFound`, and `InvalidConfig` are never constructed
[INFO] [stdout]   --> src/errors.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum RateLimiterError {
[INFO] [stdout]    |          ---------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     RateLimitExceeded(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     RuleNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     InvalidConfig(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RateLimiterError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `delete_pattern`, `get`, and `set_with_expiry` are never used
[INFO] [stdout]   --> src/store/redis_store.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl RedisStore {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub async fn delete_pattern(&self, pattern: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub async fn get(&self, key: &str) -> Result<Option<String>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub async fn set_with_expiry(&self, key: &str, value: &str, ttl_secs: u64) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.84s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "21939c74449bfe5e24170d7751c7e3ae7154fe5745bd7f595b6e5ccc8cb1d0ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21939c74449bfe5e24170d7751c7e3ae7154fe5745bd7f595b6e5ccc8cb1d0ec", kill_on_drop: false }`
[INFO] [stdout] 21939c74449bfe5e24170d7751c7e3ae7154fe5745bd7f595b6e5ccc8cb1d0ec
