[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] testing alphonsasooter/RateLimiter against 1.99.0-beta.8 for beta-1.100-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falphonsasooter%2FRateLimiter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alphonsasooter/RateLimiter on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "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 iri-string v0.7.11
[INFO] [stderr] Downloaded cc v1.2.58
[INFO] [stderr] Downloaded rustls-webpki v0.103.10
[INFO] [stderr] Downloaded axum v0.7.9
[INFO] [stderr] Downloaded axum-core v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8bc849c0683ff4b091817000ed6d6c4e35f8ab1933e92c8da664df07734eae9d
[INFO] running `Command { std: "docker" "start" "8bc849c0683ff4b091817000ed6d6c4e35f8ab1933e92c8da664df07734eae9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bc849c0683ff4b091817000ed6d6c4e35f8ab1933e92c8da664df07734eae9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8bc849c0683ff4b091817000ed6d6c4e35f8ab1933e92c8da664df07734eae9d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bc849c0683ff4b091817000ed6d6c4e35f8ab1933e92c8da664df07734eae9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8bc849c0683ff4b091817000ed6d6c4e35f8ab1933e92c8da664df07734eae9d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.106
[INFO] [stderr] Compiling quote v1.0.45
[INFO] [stderr] Compiling libc v0.2.183
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling bytes v1.11.1
[INFO] [stderr] Compiling futures-core v0.3.32
[INFO] [stderr] Compiling stable_deref_trait v1.2.1
[INFO] [stderr] Compiling log v0.4.29
[INFO] [stderr] Compiling tracing-core v0.1.36
[INFO] [stderr] Compiling find-msvc-tools v0.1.9
[INFO] [stderr] Compiling slab v0.4.12
[INFO] [stderr] Compiling vcpkg v0.2.15
[INFO] [stderr] Compiling futures-task v0.3.32
[INFO] [stderr] Compiling litemap v0.8.1
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling writeable v0.6.2
[INFO] [stderr] Compiling hashbrown v0.16.1
[INFO] [stderr] Compiling cc v1.2.58
[INFO] [stderr] Compiling icu_properties_data v2.1.2
[INFO] [stderr] Compiling futures-util v0.3.32
[INFO] [stderr] Compiling icu_normalizer_data v2.1.1
[INFO] [stderr] Compiling bitflags v2.11.0
[INFO] [stderr] Compiling serde v1.0.228
[INFO] [stderr] Compiling try-lock v0.2.5
[INFO] [stderr] Compiling openssl v0.10.76
[INFO] [stderr] Compiling foreign-types-shared v0.1.1
[INFO] [stderr] Compiling foreign-types v0.3.2
[INFO] [stderr] Compiling want v0.3.1
[INFO] [stderr] Compiling futures-channel v0.3.32
[INFO] [stderr] Compiling sync_wrapper v1.0.2
[INFO] [stderr] Compiling memchr v2.8.0
[INFO] [stderr] Compiling native-tls v0.2.18
[INFO] [stderr] Compiling zmij v1.0.21
[INFO] [stderr] Compiling openssl-probe v0.2.1
[INFO] [stderr] Compiling serde_json v1.0.149
[INFO] [stderr] Compiling rustversion v1.0.22
[INFO] [stderr] Compiling ipnet v2.12.0
[INFO] [stderr] Compiling getrandom v0.4.2
[INFO] [stderr] Compiling iri-string v0.7.11
[INFO] [stderr] Compiling zeroize v1.8.2
[INFO] [stderr] Compiling tracing-log v0.2.0
[INFO] [stderr] Compiling thread_local v1.1.9
[INFO] [stderr] Compiling rustls-pki-types v1.14.0
[INFO] [stderr] Compiling http v1.4.0
[INFO] [stderr] Compiling nu-ansi-term v0.50.3
[INFO] [stderr] Compiling unsafe-libyaml v0.2.11
[INFO] [stderr] Compiling syn v2.0.117
[INFO] [stderr] Compiling indexmap v2.13.0
[INFO] [stderr] Compiling matchit v0.7.3
[INFO] [stderr] Compiling tracing-subscriber v0.3.23
[INFO] [stderr] Compiling openssl-sys v0.9.112
[INFO] [stderr] Compiling http-body v1.0.1
[INFO] [stderr] Compiling http-body-util v0.1.3
[INFO] [stderr] Compiling parking_lot_core v0.9.12
[INFO] [stderr] Compiling errno v0.3.14
[INFO] [stderr] Compiling socket2 v0.6.3
[INFO] [stderr] Compiling mio v1.1.1
[INFO] [stderr] Compiling socket2 v0.5.10
[INFO] [stderr] Compiling signal-hook-registry v1.4.8
[INFO] [stderr] Compiling tower-http v0.5.2
[INFO] [stderr] Compiling uuid v1.22.0
[INFO] [stderr] Compiling parking_lot v0.12.5
[INFO] [stderr] Compiling serde_path_to_error v0.1.20
[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 serde_derive v1.0.228
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling async-trait v0.1.89
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling tokio v1.50.0
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling yoke v0.8.1
[INFO] [stderr] Compiling tracing v0.1.44
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Compiling axum-core v0.4.5
[INFO] [stderr] Compiling zerovec v0.11.5
[INFO] [stderr] Compiling zerotrie v0.2.3
[INFO] [stderr] Compiling tinystr v0.8.2
[INFO] [stderr] Compiling potential_utf v0.1.4
[INFO] [stderr] Compiling icu_locale_core v2.1.1
[INFO] [stderr] Compiling icu_collections v2.1.1
[INFO] [stderr] Compiling icu_provider v2.1.1
[INFO] [stderr] Compiling icu_normalizer v2.1.1
[INFO] [stderr] Compiling icu_properties v2.1.2
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr] Compiling idna_adapter v1.2.1
[INFO] [stderr] Compiling idna v1.1.0
[INFO] [stderr] Compiling url v2.5.8
[INFO] [stderr] Compiling tokio-util v0.7.18
[INFO] [stderr] Compiling tower v0.5.3
[INFO] [stderr] Compiling tokio-native-tls v0.3.1
[INFO] [stderr] Compiling h2 v0.4.13
[INFO] [stderr] Compiling combine v4.6.7
[INFO] [stderr] Compiling tower-http v0.6.8
[INFO] [stderr] Compiling hyper v1.8.1
[INFO] [stderr] Compiling redis v0.25.4
[INFO] [stderr] Compiling hyper-util v0.1.20
[INFO] [stderr] Compiling hyper-tls v0.6.0
[INFO] [stderr] Compiling axum v0.7.9
[INFO] [stderr] Compiling reqwest v0.12.28
[INFO] [stderr] Compiling 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: 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