[INFO] fetching crate garbagetruck 0.1.4... [INFO] testing garbagetruck-0.1.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate garbagetruck 0.1.4 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate garbagetruck 0.1.4 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.28 [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded prost-derive v0.13.5 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded ucd-trie v0.1.7 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded cc v1.2.24 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded iri-string v0.7.8 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded reqwest v0.12.18 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded h2 v0.3.26 [INFO] [stderr] Downloaded tonic v0.12.3 [INFO] [stderr] Downloaded hyper-util v0.1.13 [INFO] [stderr] Downloaded prettyplease v0.2.33 [INFO] [stderr] Downloaded overload v0.1.1 [INFO] [stderr] Downloaded uuid v1.17.0 [INFO] [stderr] Downloaded warp v0.3.7 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded ron v0.8.1 [INFO] [stderr] Downloaded async-trait v0.1.88 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded prost v0.13.5 [INFO] [stderr] Downloaded prost-types v0.13.5 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded crc32fast v1.4.2 [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded toml_write v0.1.1 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded hermit-abi v0.5.1 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded nu-ansi-term v0.46.0 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded serde_spanned v0.6.8 [INFO] [stderr] Downloaded hashlink v0.8.4 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] [stderr] Downloaded anstyle-wincon v3.0.8 [INFO] [stderr] Downloaded matchit v0.7.3 [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded thread_local v1.1.8 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f978a8e1601716221257151ca207f43fadf9661ebb4a421004c945619e21241 [INFO] running `Command { std: "docker" "start" "-a" "0f978a8e1601716221257151ca207f43fadf9661ebb4a421004c945619e21241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f978a8e1601716221257151ca207f43fadf9661ebb4a421004c945619e21241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f978a8e1601716221257151ca207f43fadf9661ebb4a421004c945619e21241", kill_on_drop: false }` [INFO] [stdout] 0f978a8e1601716221257151ca207f43fadf9661ebb4a421004c945619e21241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d35e9cf053e03a844e9f0c912a1fb45793ea7bd59c0b34be91aba2298bfff0a [INFO] running `Command { std: "docker" "start" "-a" "5d35e9cf053e03a844e9f0c912a1fb45793ea7bd59c0b34be91aba2298bfff0a", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling prettyplease v0.2.33 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling toml_write v0.1.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 futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling garbagetruck v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling reqwest v0.12.18 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling md5 v0.7.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: 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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] [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] --> 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 29s [INFO] running `Command { std: "docker" "inspect" "5d35e9cf053e03a844e9f0c912a1fb45793ea7bd59c0b34be91aba2298bfff0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d35e9cf053e03a844e9f0c912a1fb45793ea7bd59c0b34be91aba2298bfff0a", kill_on_drop: false }` [INFO] [stdout] 5d35e9cf053e03a844e9f0c912a1fb45793ea7bd59c0b34be91aba2298bfff0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0761ccf361722c6911961ed15742b4d86e448769eb9af063563cb3a2b4a9b9b6 [INFO] running `Command { std: "docker" "start" "-a" "0761ccf361722c6911961ed15742b4d86e448769eb9af063563cb3a2b4a9b9b6", 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 rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serial_test v3.2.0 [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 toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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 axum v0.7.9 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling toml v0.8.22 [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 garbagetruck v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [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: 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: 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: 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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] [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: `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] = note: `#[warn(unused_variables)]` (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: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: `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] [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] --> 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 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: 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: 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: 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: 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] [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/562dee4820c458d823175268e41601d4c060588a/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=111397f5e329003c -C extra-filename=-4ed8ed6595be3b0b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-e1510cbfe26654d3.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-cefec5518660bc19.so --extern chrono=/opt/rustwide/target/debug/deps/libchrono-76f4471384db9f9d.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-6e80e59a7fe3acfc.rlib --extern config=/opt/rustwide/target/debug/deps/libconfig-0161b8be6169bdaf.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-1ca28608f24dd903.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-811e85a38ac5e55c.rlib --extern fastrand=/opt/rustwide/target/debug/deps/libfastrand-503f12a96d791409.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-d1c1193845afa666.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-6db5c7496d9685d5.rlib --extern md5=/opt/rustwide/target/debug/deps/libmd5-8b7359041afc81b3.rlib --extern pretty_assertions=/opt/rustwide/target/debug/deps/libpretty_assertions-64d41c4183345cb9.rlib --extern prometheus=/opt/rustwide/target/debug/deps/libprometheus-f9fe0e21e8357145.rlib --extern prost=/opt/rustwide/target/debug/deps/libprost-e1106a09254c0e5e.rlib --extern prost_types=/opt/rustwide/target/debug/deps/libprost_types-528f1d73123a31cd.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-c189365758a6d7e7.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-8e315c17dd977672.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-7940f580192b47b9.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-4775e1190379cc28.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-c00c6a0e89838c53.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-33ef00b3fc07f671.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-95396f2540dca437.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-be455356d30edf76.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-8cc28b1130a9f10b.rlib --extern tonic=/opt/rustwide/target/debug/deps/libtonic-a898328493a7bf1c.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-57fd711d27cae64e.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-d99c15a3298fa935.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-007bcd8e9509f5ec.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-08e8bdfede26dcf2.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-21598270bb0cd822.rlib --extern warp=/opt/rustwide/target/debug/deps/libwarp-2a07a466502942b6.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "0761ccf361722c6911961ed15742b4d86e448769eb9af063563cb3a2b4a9b9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0761ccf361722c6911961ed15742b4d86e448769eb9af063563cb3a2b4a9b9b6", kill_on_drop: false }` [INFO] [stdout] 0761ccf361722c6911961ed15742b4d86e448769eb9af063563cb3a2b4a9b9b6