[INFO] fetching crate garbagetruck 0.1.4... [INFO] testing garbagetruck-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate garbagetruck 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate garbagetruck 0.1.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate garbagetruck 0.1.4 [INFO] tweaked toml for crates.io crate garbagetruck 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate garbagetruck 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate garbagetruck 0.1.4 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] [stderr] Downloaded sdd v3.0.8 [INFO] [stderr] Downloaded hyper-util v0.1.13 [INFO] [stderr] Downloaded scc v2.3.4 [INFO] [stderr] Downloaded reqwest v0.12.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 729fd322c8c85081155ad9ce45e18f9bdd862924a2b050c6a56a0cf1b7703c9b [INFO] running `Command { std: "docker" "start" "-a" "729fd322c8c85081155ad9ce45e18f9bdd862924a2b050c6a56a0cf1b7703c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "729fd322c8c85081155ad9ce45e18f9bdd862924a2b050c6a56a0cf1b7703c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729fd322c8c85081155ad9ce45e18f9bdd862924a2b050c6a56a0cf1b7703c9b", kill_on_drop: false }` [INFO] [stdout] 729fd322c8c85081155ad9ce45e18f9bdd862924a2b050c6a56a0cf1b7703c9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 905f637e06f2409d8fc9313342a4a92eee2e1de9e14824bd6aef58fdd27857bd [INFO] running `Command { std: "docker" "start" "-a" "905f637e06f2409d8fc9313342a4a92eee2e1de9e14824bd6aef58fdd27857bd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling prettyplease v0.2.33 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling garbagetruck v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling reqwest v0.12.18 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stdout] warning: unused imports: `CounterVec`, `Counter`, `GaugeVec`, and `Gauge` [INFO] [stdout] --> src/metrics/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Counter, CounterVec, Gauge, GaugeVec, Histogram, HistogramOpts, HistogramVec, IntCounter, [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: `error` [INFO] [stdout] --> src/metrics/mod.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/service/handlers.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GCError` and `Result` [INFO] [stdout] --> src/service/handlers.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::error::{GCError, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/storage/file_persistent.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/storage/file_persistent.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/storage/file_persistent.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WALFileMetadata` [INFO] [stdout] --> src/storage/file_persistent.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | TransactionContext, WALEntry, WALFileMetadata, WALOperation, WALSyncPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interval` [INFO] [stdout] --> src/simulation/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{interval, sleep}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/recovery/manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/recovery/manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LeaseState` and `Lease` [INFO] [stdout] --> src/recovery/manager.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::lease::{Lease, LeaseState}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::Filter` [INFO] [stdout] --> src/simulation/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use warp::Filter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metric_families` [INFO] [stdout] --> src/metrics/mod.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let metric_families = self.registry.gather(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric_families` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/metrics/mod.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | let metrics = Self::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metrics` is never read [INFO] [stdout] --> src/recovery/manager.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct RecoveryManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | metrics: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_files` [INFO] [stdout] --> src/bin/experiment/main.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_bytes` [INFO] [stdout] --> src/bin/experiment/main.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_files` [INFO] [stdout] --> src/bin/experiment/main.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_bytes` [INFO] [stdout] --> src/bin/experiment/main.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `without_gc_stats` [INFO] [stdout] --> src/bin/experiment/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let without_gc_stats = run_experiment_without_garbagetruck(&config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_without_gc_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_gc_stats` [INFO] [stdout] --> src/bin/experiment/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let with_gc_stats = run_experiment_with_garbagetruck(&config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_gc_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = match Config::from_env() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/cli/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut client = match GCClient::new(&cli.endpoint, cli.service_id.clone()).await { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 07s [INFO] running `Command { std: "docker" "inspect" "905f637e06f2409d8fc9313342a4a92eee2e1de9e14824bd6aef58fdd27857bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905f637e06f2409d8fc9313342a4a92eee2e1de9e14824bd6aef58fdd27857bd", kill_on_drop: false }` [INFO] [stdout] 905f637e06f2409d8fc9313342a4a92eee2e1de9e14824bd6aef58fdd27857bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e240ac6b55e7e5a16bb6764acd4393aabea1509c2efa0ab85f6f48e4f3276aee [INFO] running `Command { std: "docker" "start" "-a" "e240ac6b55e7e5a16bb6764acd4393aabea1509c2efa0ab85f6f48e4f3276aee", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling garbagetruck v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.18 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stdout] warning: unused imports: `CounterVec`, `Counter`, `GaugeVec`, and `Gauge` [INFO] [stdout] --> src/metrics/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Counter, CounterVec, Gauge, GaugeVec, Histogram, HistogramOpts, HistogramVec, IntCounter, [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: `error` [INFO] [stdout] --> src/metrics/mod.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/service/handlers.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GCError` and `Result` [INFO] [stdout] --> src/service/handlers.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::error::{GCError, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/storage/file_persistent.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/storage/file_persistent.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/storage/file_persistent.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WALFileMetadata` [INFO] [stdout] --> src/storage/file_persistent.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | TransactionContext, WALEntry, WALFileMetadata, WALOperation, WALSyncPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interval` [INFO] [stdout] --> src/simulation/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{interval, sleep}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/recovery/manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/recovery/manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LeaseState` and `Lease` [INFO] [stdout] --> src/recovery/manager.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::lease::{Lease, LeaseState}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CounterVec`, `Counter`, `GaugeVec`, and `Gauge` [INFO] [stdout] --> src/metrics/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Counter, CounterVec, Gauge, GaugeVec, Histogram, HistogramOpts, HistogramVec, IntCounter, [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: `error` [INFO] [stdout] --> src/metrics/mod.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/service/handlers.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GCError` and `Result` [INFO] [stdout] --> src/service/handlers.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::error::{GCError, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleanupConfig` [INFO] [stdout] --> src/storage/memory.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | use crate::lease::{CleanupConfig, ObjectType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/storage/persistent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/storage/file_persistent.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/storage/file_persistent.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/storage/file_persistent.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WALFileMetadata` [INFO] [stdout] --> src/storage/file_persistent.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | TransactionContext, WALEntry, WALFileMetadata, WALOperation, WALSyncPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interval` [INFO] [stdout] --> src/simulation/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{interval, sleep}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/recovery/manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LeaseState` and `Lease` [INFO] [stdout] --> src/recovery/manager.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::lease::{Lease, LeaseState}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::Filter` [INFO] [stdout] --> src/simulation/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use warp::Filter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metric_families` [INFO] [stdout] --> src/metrics/mod.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let metric_families = self.registry.gather(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric_families` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/metrics/mod.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | let metrics = Self::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::Filter` [INFO] [stdout] --> src/simulation/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use warp::Filter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metrics` is never read [INFO] [stdout] --> src/recovery/manager.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct RecoveryManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | metrics: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metric_families` [INFO] [stdout] --> src/metrics/mod.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let metric_families = self.registry.gather(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric_families` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/metrics/mod.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | let metrics = Self::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/memory.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | let mut lease1 = Lease::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metrics` is never read [INFO] [stdout] --> src/recovery/manager.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct RecoveryManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | metrics: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_files` [INFO] [stdout] --> src/bin/experiment/main.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_bytes` [INFO] [stdout] --> src/bin/experiment/main.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_files` [INFO] [stdout] --> src/bin/experiment/main.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_bytes` [INFO] [stdout] --> src/bin/experiment/main.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/client_usage.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut client = GCClient::new("http://localhost:50051", "example-service".to_string()).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = match Config::from_env() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `without_gc_stats` [INFO] [stdout] --> src/bin/experiment/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let without_gc_stats = run_experiment_without_garbagetruck(&config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_without_gc_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_gc_stats` [INFO] [stdout] --> src/bin/experiment/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let with_gc_stats = run_experiment_with_garbagetruck(&config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_gc_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_files` [INFO] [stdout] --> src/bin/experiment/main.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_bytes` [INFO] [stdout] --> src/bin/experiment/main.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_files` [INFO] [stdout] --> src/bin/experiment/main.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_bytes` [INFO] [stdout] --> src/bin/experiment/main.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | let (remaining_files, remaining_bytes) = simulator.count_remaining_files()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `without_gc_stats` [INFO] [stdout] --> src/bin/experiment/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let without_gc_stats = run_experiment_without_garbagetruck(&config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_without_gc_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_gc_stats` [INFO] [stdout] --> src/bin/experiment/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let with_gc_stats = run_experiment_with_garbagetruck(&config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_gc_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = match Config::from_env() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/cli/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut client = match GCClient::new(&cli.endpoint, cli.service_id.clone()).await { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/auth.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` 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: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/auth.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> tests/integration/grpc/auth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [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: `uuid::Uuid` [INFO] [stdout] --> tests/integration/grpc/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReleaseLeaseRequest` and `RenewLeaseRequest` [INFO] [stdout] --> tests/integration/grpc/auth.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use garbagetruck::proto::{ReleaseLeaseRequest, RenewLeaseRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestHarness` and `print_test_header` [INFO] [stdout] --> tests/integration/grpc/auth.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::integration::{print_test_header, TestHarness}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/basic.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/basic.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/basic.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/basic.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/basic.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/basic.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> tests/integration/grpc/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/integration/grpc/basic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::Request` [INFO] [stdout] --> tests/integration/grpc/basic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tonic::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> tests/integration/grpc/basic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateLeaseRequest`, `GetLeaseRequest`, `HealthCheckRequest`, `LeaseState`, `ListLeasesRequest`, `ReleaseLeaseRequest`, and `RenewLeaseRequest` [INFO] [stdout] --> tests/integration/grpc/basic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | CreateLeaseRequest, GetLeaseRequest, HealthCheckRequest, LeaseState, ListLeasesRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | ReleaseLeaseRequest, RenewLeaseRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestHarness` and `print_test_header` [INFO] [stdout] --> tests/integration/grpc/basic.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::integration::{print_test_header, TestHarness}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::helpers::assertions::assert_cleanup_called_for_lease` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::helpers::assertions::assert_cleanup_called_for_lease; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestHarness` and `print_test_header` [INFO] [stdout] --> tests/integration/grpc/cleanup.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::integration::{print_test_header, TestHarness}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/concurrent.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/concurrent.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grpc` [INFO] [stdout] --> tests/integration/grpc/concurrent.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "grpc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `client`, `default`, `full`, `persistent`, and `server` [INFO] [stdout] = help: consider adding `grpc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> tests/integration/grpc/concurrent.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> tests/integration/grpc/concurrent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `garbagetruck::proto::ObjectType` [INFO] [stdout] --> tests/integration/grpc/concurrent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use garbagetruck::proto::ObjectType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestHarness` and `print_test_header` [INFO] [stdout] --> tests/integration/grpc/concurrent.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::integration::{print_test_header, TestHarness}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lease` and `ObjectType` [INFO] [stdout] --> tests/integration/service/mod.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | use garbagetruck::lease::{Lease, ObjectType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/integration/service/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> tests/integration/cross_backend/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryStorage` and `Storage` [INFO] [stdout] --> tests/integration/cross_backend/mod.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use garbagetruck::storage::{MemoryStorage, Storage}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `skip_if_no_env` and `test_data::create_test_lease_data` [INFO] [stdout] --> tests/integration/cross_backend/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::helpers::{skip_if_no_env, test_data::create_test_lease_data}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> tests/integration/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let port = cleanup_server.get_port(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage::Storage` [INFO] [stdout] --> tests/integration/storage/memory.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | storage::Storage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration/storage/memory.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | let mut expired_lease = Lease::new( [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestHarness` is never constructed [INFO] [stdout] --> tests/integration/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TestHarness { [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 items `new`, `create_test_lease`, `create_test_lease_custom`, `unique_object_id`, and `wait_for_condition` are never used [INFO] [stdout] --> tests/integration/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 33 | impl TestHarness { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 34 | /// Create a new test harness [INFO] [stdout] 35 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn create_test_lease( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn create_test_lease_custom( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn unique_object_id(&self, prefix: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn wait_for_condition(&self, mut condition: F, timeout: Duration) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_test_success` is never used [INFO] [stdout] --> tests/integration/mod.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn print_test_success(test_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lease_request` is never used [INFO] [stdout] --> tests/integration/grpc/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create_lease_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lease_request_with_metadata` is never used [INFO] [stdout] --> tests/integration/grpc/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn create_lease_request_with_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lease_request_no_cleanup` is never used [INFO] [stdout] --> tests/integration/grpc/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create_lease_request_no_cleanup( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_test_lease` and `wait_for_cleanup` are never used [INFO] [stdout] --> tests/integration/service/mod.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TestHarness { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn create_test_lease(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn wait_for_cleanup(&self, timeout: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_memory_config` is never used [INFO] [stdout] --> tests/integration/service/mod.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn create_memory_config() -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_persistent_config` is never used [INFO] [stdout] --> tests/integration/service/mod.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn create_persistent_config(data_dir: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_config_with_cleanup_interval` is never used [INFO] [stdout] --> tests/integration/service/mod.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn create_test_config_with_cleanup_interval(interval_seconds: u64) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/persistent_storage_example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [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: `ObjectType` [INFO] [stdout] --> examples/persistent_storage_example.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | lease::{CleanupConfig, ObjectType}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> examples/persistent_storage_example.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let service = GCService::new(config, metrics).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> examples/persistent_storage_example.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let service = GCService::new(config, metrics).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lease_management_example` is never used [INFO] [stdout] --> examples/persistent_storage_example.rs:356:10 [INFO] [stdout] | [INFO] [stdout] 356 | async fn lease_management_example() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `environment_config_example` is never used [INFO] [stdout] --> examples/persistent_storage_example.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | async fn environment_config_example() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `monitoring_integration_example` is never used [INFO] [stdout] --> examples/persistent_storage_example.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 450 | async fn monitoring_integration_example() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_additional_examples` is never used [INFO] [stdout] --> examples/persistent_storage_example.rs:488:10 [INFO] [stdout] | [INFO] [stdout] 488 | async fn run_additional_examples() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garbagetruck` (lib test); 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/bin/rustc --crate-name garbagetruck --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="clap"' --cfg 'feature="client"' --cfg 'feature="default"' --cfg 'feature="persistent"' --cfg 'feature="server"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clap", "client", "default", "full", "persistent", "server"))' -C metadata=ad02ed9c82f763b6 -C extra-filename=-450ccee5ff69aa4e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-1062fd8720902979.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-34c4eb00d839d4ce.so --extern chrono=/opt/rustwide/target/debug/deps/libchrono-0133943911795d8d.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-05dccdd95793c9fc.rlib --extern config=/opt/rustwide/target/debug/deps/libconfig-c3a80fe52353223a.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-514d0212d39f9053.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-8a22549c4d5b6066.rlib --extern fastrand=/opt/rustwide/target/debug/deps/libfastrand-503f12a96d791409.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-9d99b0c075a5290d.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-c3a6786a4ea40cf6.rlib --extern md5=/opt/rustwide/target/debug/deps/libmd5-8b7359041afc81b3.rlib --extern pretty_assertions=/opt/rustwide/target/debug/deps/libpretty_assertions-cb10fec72c85aede.rlib --extern prometheus=/opt/rustwide/target/debug/deps/libprometheus-59b2c92d9b92ba83.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-f8fdc57bf6fd3f49.rlib --extern prost_types=/opt/rustwide/target/debug/deps/libprost_types-6d45c454125fae08.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-ba3a8749a2891a04.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-7c819bd220a9d5f0.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-09f57521cbcc103e.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-903c1df5fbcf1a84.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-cb5a5c7eafd9e02f.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-c0ee179f4e96f11a.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-bbda21c21137afaa.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-40be3afaea5ebd80.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-343a4c3e9dec6301.rlib --extern tonic=/opt/rustwide/target/debug/deps/libtonic-9f28c0528f7b513a.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-7adb71666d7d7279.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-e8f15c9a77ffc443.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-bacf95a0e35140bc.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-9477b99c78b931f8.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-b90c46294c58a656.rlib --extern warp=/opt/rustwide/target/debug/deps/libwarp-8069dcbd70161bd1.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `garbagetruck` (bin "garbagetruck-server"); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/bin/rustc --crate-name garbagetruck_server --edition=2021 src/bin/server/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="clap"' --cfg 'feature="client"' --cfg 'feature="default"' --cfg 'feature="persistent"' --cfg 'feature="server"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clap", "client", "default", "full", "persistent", "server"))' -C metadata=20455e4fc994c9c3 -C extra-filename=-0aea8b8b5b832e1e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-1062fd8720902979.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-34c4eb00d839d4ce.so --extern chrono=/opt/rustwide/target/debug/deps/libchrono-0133943911795d8d.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-05dccdd95793c9fc.rlib --extern config=/opt/rustwide/target/debug/deps/libconfig-c3a80fe52353223a.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-8a22549c4d5b6066.rlib --extern fastrand=/opt/rustwide/target/debug/deps/libfastrand-503f12a96d791409.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-9d99b0c075a5290d.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-c3a6786a4ea40cf6.rlib --extern garbagetruck=/opt/rustwide/target/debug/deps/libgarbagetruck-aa61046013c608cf.rlib --extern md5=/opt/rustwide/target/debug/deps/libmd5-8b7359041afc81b3.rlib --extern prometheus=/opt/rustwide/target/debug/deps/libprometheus-59b2c92d9b92ba83.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-f8fdc57bf6fd3f49.rlib --extern prost_types=/opt/rustwide/target/debug/deps/libprost_types-6d45c454125fae08.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-ba3a8749a2891a04.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-7c819bd220a9d5f0.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-09f57521cbcc103e.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-cb5a5c7eafd9e02f.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-c0ee179f4e96f11a.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-bbda21c21137afaa.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-40be3afaea5ebd80.rlib --extern tonic=/opt/rustwide/target/debug/deps/libtonic-9f28c0528f7b513a.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-7adb71666d7d7279.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-e8f15c9a77ffc443.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-bacf95a0e35140bc.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-9477b99c78b931f8.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-b90c46294c58a656.rlib --extern warp=/opt/rustwide/target/debug/deps/libwarp-8069dcbd70161bd1.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "e240ac6b55e7e5a16bb6764acd4393aabea1509c2efa0ab85f6f48e4f3276aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e240ac6b55e7e5a16bb6764acd4393aabea1509c2efa0ab85f6f48e4f3276aee", kill_on_drop: false }` [INFO] [stdout] e240ac6b55e7e5a16bb6764acd4393aabea1509c2efa0ab85f6f48e4f3276aee