[INFO] cloning repository https://github.com/nikitavbv/cloud-storage-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikitavbv/cloud-storage-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a42b8b0f02adbe1e01423290c166893fd480bfea [INFO] testing nikitavbv/cloud-storage-proxy against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikitavbv/cloud-storage-proxy on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikitavbv/cloud-storage-proxy [INFO] finished tweaking git repo https://github.com/nikitavbv/cloud-storage-proxy [INFO] tweaked toml for git repo https://github.com/nikitavbv/cloud-storage-proxy written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/nikitavbv/cloud-storage-proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4f1a0a952553c5f3c02d7e013cbcef0b9c5fd687a2ec68d6d0afcc937188ebd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4f1a0a952553c5f3c02d7e013cbcef0b9c5fd687a2ec68d6d0afcc937188ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4f1a0a952553c5f3c02d7e013cbcef0b9c5fd687a2ec68d6d0afcc937188ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f1a0a952553c5f3c02d7e013cbcef0b9c5fd687a2ec68d6d0afcc937188ebd", kill_on_drop: false }` [INFO] [stdout] d4f1a0a952553c5f3c02d7e013cbcef0b9c5fd687a2ec68d6d0afcc937188ebd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5bd3bee4cfef56ce4c567fcfc2095d0b7bf66296971ae984614b5ac484d9120c [INFO] running `Command { std: "docker" "start" "-a" "5bd3bee4cfef56ce4c567fcfc2095d0b7bf66296971ae984614b5ac484d9120c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling protobuf v2.18.0 [INFO] [stderr] Compiling prometheus v0.10.0 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling seahash v4.0.0 [INFO] [stderr] Compiling custom_error v1.7.1 [INFO] [stderr] Compiling openssl-src v111.10.0+1.1.1g [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling ttl_cache v0.5.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling dns-lookup v1.0.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling redis-async v0.6.3 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling yup-oauth2 v4.1.2 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling actix v0.9.0 [INFO] [stderr] Compiling cloud-storage-proxy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cache_type` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | cache_type => Err(RateLimiterInstantiationError::NotImplemented { rate_limiter_type: v.to_string() }) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.stats` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/rate_limiting/local.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | let current_stats = self.stats.get(&key).unwrap_or(&(0 as u64, 0 as u64)); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 41 | self.stats.insert(key, (current_stats.0 + 1, current_stats.1)); [INFO] [stdout] | ^^^^^^^^^^ --------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rate_limiting/local.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RateLimiting` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RateLimiting { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_rate_limiter` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | async fn make_rate_limiter(config: &config::RateLimitingConfiguration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rate_limiter` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_rate_limiter(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LocalRateLimiter` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | LocalRateLimiter(Addr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 40s [INFO] running `Command { std: "docker" "inspect" "5bd3bee4cfef56ce4c567fcfc2095d0b7bf66296971ae984614b5ac484d9120c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd3bee4cfef56ce4c567fcfc2095d0b7bf66296971ae984614b5ac484d9120c", kill_on_drop: false }` [INFO] [stdout] 5bd3bee4cfef56ce4c567fcfc2095d0b7bf66296971ae984614b5ac484d9120c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb4f0db4931aa9313cf5aac696253cf1e393880e5860e7a8f1de8eb3fe2f3da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3bb4f0db4931aa9313cf5aac696253cf1e393880e5860e7a8f1de8eb3fe2f3da", kill_on_drop: false }` [INFO] [stderr] Compiling cloud-storage-proxy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cache_type` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | cache_type => Err(RateLimiterInstantiationError::NotImplemented { rate_limiter_type: v.to_string() }) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.stats` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/rate_limiting/local.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | let current_stats = self.stats.get(&key).unwrap_or(&(0 as u64, 0 as u64)); [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 41 | self.stats.insert(key, (current_stats.0 + 1, current_stats.1)); [INFO] [stdout] | ^^^^^^^^^^ --------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rate_limiting/local.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RateLimiting` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RateLimiting { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_rate_limiter` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | async fn make_rate_limiter(config: &config::RateLimitingConfiguration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rate_limiter` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_rate_limiter(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LocalRateLimiter` [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | LocalRateLimiter(Addr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.51s [INFO] running `Command { std: "docker" "inspect" "3bb4f0db4931aa9313cf5aac696253cf1e393880e5860e7a8f1de8eb3fe2f3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb4f0db4931aa9313cf5aac696253cf1e393880e5860e7a8f1de8eb3fe2f3da", kill_on_drop: false }` [INFO] [stdout] 3bb4f0db4931aa9313cf5aac696253cf1e393880e5860e7a8f1de8eb3fe2f3da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6a32a07c5ceb613c263ecfba8fc93cd8036afd615e60fbfd420c77b580717e3c [INFO] running `Command { std: "docker" "start" "-a" "6a32a07c5ceb613c263ecfba8fc93cd8036afd615e60fbfd420c77b580717e3c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cache_type` [INFO] [stderr] --> src/rate_limiting/rate_limiting.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | cache_type => Err(RateLimiterInstantiationError::NotImplemented { rate_limiter_type: v.to_string() }) [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_type` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.stats` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/rate_limiting/local.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 40 | let current_stats = self.stats.get(&key).unwrap_or(&(0 as u64, 0 as u64)); [INFO] [stderr] | ---------- immutable borrow occurs here [INFO] [stderr] 41 | self.stats.insert(key, (current_stats.0 + 1, current_stats.1)); [INFO] [stderr] | ^^^^^^^^^^ --------------- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/rate_limiting/local.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RateLimiting` [INFO] [stderr] --> src/rate_limiting/rate_limiting.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct RateLimiting { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/rate_limiting/rate_limiting.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn new(config: &HashMap) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `make_rate_limiter` [INFO] [stderr] --> src/rate_limiting/rate_limiting.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | async fn make_rate_limiter(config: &config::RateLimitingConfiguration) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_rate_limiter` [INFO] [stderr] --> src/rate_limiting/rate_limiting.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn get_rate_limiter(&self, name: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LocalRateLimiter` [INFO] [stderr] --> src/rate_limiting/rate_limiting.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | LocalRateLimiter(Addr), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cloud-storage-proxy` (bin "cloud-storage-proxy" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cloud_storage_proxy-bf935578b88c5eaa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a32a07c5ceb613c263ecfba8fc93cd8036afd615e60fbfd420c77b580717e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a32a07c5ceb613c263ecfba8fc93cd8036afd615e60fbfd420c77b580717e3c", kill_on_drop: false }` [INFO] [stdout] 6a32a07c5ceb613c263ecfba8fc93cd8036afd615e60fbfd420c77b580717e3c