[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikitavbv%2Fcloud-storage-proxy" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikitavbv/cloud-storage-proxy on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fdd942e783632f9cea283b9e68d0e3c8e284203b2e7560603ff099020870565 [INFO] running `Command { std: "docker" "start" "-a" "7fdd942e783632f9cea283b9e68d0e3c8e284203b2e7560603ff099020870565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fdd942e783632f9cea283b9e68d0e3c8e284203b2e7560603ff099020870565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fdd942e783632f9cea283b9e68d0e3c8e284203b2e7560603ff099020870565", kill_on_drop: false }` [INFO] [stdout] 7fdd942e783632f9cea283b9e68d0e3c8e284203b2e7560603ff099020870565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fcbc39d706c90767002ebf1ba58e61afb0f406179c62733849ae6e92ace24ef [INFO] running `Command { std: "docker" "start" "-a" "8fcbc39d706c90767002ebf1ba58e61afb0f406179c62733849ae6e92ace24ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling protobuf v2.18.0 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling prometheus v0.10.0 [INFO] [stderr] Compiling seahash v4.0.0 [INFO] [stderr] Compiling custom_error v1.7.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling ttl_cache v0.5.1 [INFO] [stderr] Compiling openssl-src v111.10.0+1.1.1g [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling dns-lookup v1.0.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.36 [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 thiserror v1.0.21 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling failure v0.1.8 [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 futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling redis-async v0.6.3 [INFO] [stderr] Compiling actix-codec v0.2.0 [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 chrono v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling hyper v0.13.6 [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 yup-oauth2 v4.1.2 [INFO] [stderr] Compiling actix v0.9.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] note: `RateLimiterInstance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.60s [INFO] running `Command { std: "docker" "inspect" "8fcbc39d706c90767002ebf1ba58e61afb0f406179c62733849ae6e92ace24ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fcbc39d706c90767002ebf1ba58e61afb0f406179c62733849ae6e92ace24ef", kill_on_drop: false }` [INFO] [stdout] 8fcbc39d706c90767002ebf1ba58e61afb0f406179c62733849ae6e92ace24ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d41e0c043f4ea56b1c3f64d1f9efeba5b69e1c647689a96facf3fbbc07232e01 [INFO] running `Command { std: "docker" "start" "-a" "d41e0c043f4ea56b1c3f64d1f9efeba5b69e1c647689a96facf3fbbc07232e01", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] note: `RateLimiterInstance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rate_limiting/rate_limiting.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.47s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cloud_storage_proxy-d33d3b2d60c1bce2) [INFO] running `Command { std: "docker" "inspect" "d41e0c043f4ea56b1c3f64d1f9efeba5b69e1c647689a96facf3fbbc07232e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d41e0c043f4ea56b1c3f64d1f9efeba5b69e1c647689a96facf3fbbc07232e01", kill_on_drop: false }` [INFO] [stdout] d41e0c043f4ea56b1c3f64d1f9efeba5b69e1c647689a96facf3fbbc07232e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a4f8868ad1add25483d1f6ea27e97ce20fdfc92048821ee2888fbfbd5fe4f1d [INFO] running `Command { std: "docker" "start" "-a" "2a4f8868ad1add25483d1f6ea27e97ce20fdfc92048821ee2888fbfbd5fe4f1d", 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] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [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] note: `RateLimiterInstance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rate_limiting/rate_limiting.rs:53:10 [INFO] [stderr] | [INFO] [stderr] 53 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cloud_storage_proxy-d33d3b2d60c1bce2) [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" "2a4f8868ad1add25483d1f6ea27e97ce20fdfc92048821ee2888fbfbd5fe4f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4f8868ad1add25483d1f6ea27e97ce20fdfc92048821ee2888fbfbd5fe4f1d", kill_on_drop: false }` [INFO] [stdout] 2a4f8868ad1add25483d1f6ea27e97ce20fdfc92048821ee2888fbfbd5fe4f1d