[INFO] cloning repository https://github.com/Tankanow/6-disc-changer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tankanow/6-disc-changer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTankanow%2F6-disc-changer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTankanow%2F6-disc-changer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b63fd81d0d4c4a4d7460b507a6bb4c33518a8621
[INFO] checking Tankanow/6-disc-changer against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTankanow%2F6-disc-changer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Tankanow/6-disc-changer
[INFO] finished tweaking git repo https://github.com/Tankanow/6-disc-changer
[INFO] tweaked toml for git repo https://github.com/Tankanow/6-disc-changer written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Tankanow/6-disc-changer on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Tankanow/6-disc-changer 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84
[INFO] running `Command { std: "docker" "start" "bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]     Checking base64-simd v0.8.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling aws-types v0.55.3
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling crc32c v0.6.8
[INFO] [stderr]     Checking xmlparser v0.13.6
[INFO] [stderr]     Checking aws-smithy-types v0.55.3
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking aws-smithy-xml v0.55.3
[INFO] [stderr]     Checking aws-smithy-eventstream v0.55.3
[INFO] [stderr]     Checking aws-smithy-json v0.55.3
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking aws-smithy-query v0.55.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking self_cell v1.2.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking memo-map v0.3.3
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking fragile v2.0.1
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking webpki v0.22.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling mockall_derive v0.11.4
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking minijinja v2.10.2
[INFO] [stderr]     Checking bytes-utils v0.1.4
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking aws-smithy-async v0.55.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking aws-credential-types v0.55.3
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper-util v0.1.12
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]     Checking predicates v2.1.5
[INFO] [stderr]     Checking mockall v0.11.4
[INFO] [stderr]     Checking sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking aws-smithy-http v0.55.3
[INFO] [stderr]     Checking hyper-rustls v0.23.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking aws-smithy-http-tower v0.55.3
[INFO] [stderr]     Checking aws-sigv4 v0.55.3
[INFO] [stderr]     Checking aws-smithy-checksums v0.55.3
[INFO] [stderr]     Checking aws-smithy-client v0.55.3
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking aws-sig-auth v0.55.3
[INFO] [stderr]     Checking aws-endpoint v0.55.3
[INFO] [stderr]     Checking aws-http v0.55.3
[INFO] [stderr]     Checking aws-sdk-sts v0.28.0
[INFO] [stderr]     Checking aws-sdk-sso v0.28.0
[INFO] [stderr]     Checking aws-sdk-s3 v0.28.0
[INFO] [stderr]     Checking aws-config v0.55.3
[INFO] [stderr]     Checking six-disc-changer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `backup_manager` and `backup_scheduler` are never read
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct AppState {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     backup_manager: Option<Arc<BackupManager>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     backup_scheduler: Option<Arc<BackupScheduler>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `s3_prefix`, `aws_role_arn`, `shutdown_backup_timeout_seconds`, and `skip_restoration_if_no_backups` are never read
[INFO] [stdout]   --> src/config.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct BackupConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub s3_prefix: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub aws_role_arn: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub shutdown_backup_timeout_seconds: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub skip_restoration_if_no_backups: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `port` and `host` are never read
[INFO] [stdout]    --> src/config.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct Config {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub port: u16,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 193 |     /// Host for the web server
[INFO] [stdout] 194 |     pub host: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATABASE_PATH` is never used
[INFO] [stdout]   --> src/database/mod.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const DATABASE_PATH: &str = "db.sqlite";
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATABASE_DIR` is never used
[INFO] [stdout]   --> src/database/mod.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const DATABASE_DIR: &str = "database";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Aws`, `Backup`, and `BackupServiceUnavailable` are never constructed
[INFO] [stdout]   --> src/database/mod.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum DatabaseError {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |     Aws(String),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Backup(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     BackupServiceUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `retrieve_backup`, `get_latest_backup`, `get_latest_environment_backup`, `delete_backup`, `cleanup_old_backups`, and `cleanup_environment_backups` are never used
[INFO] [stdout]    --> src/database/storage/mod.rs:43:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | pub trait StorageProvider: Send + Sync {
[INFO] [stdout]     |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  43 |     async fn retrieve_backup(&self, backup_id: &str, destination_path: &Path) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     async fn get_latest_backup(&self) -> Result<Option<String>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     async fn get_latest_environment_backup(&self, environment: &str) -> Result<Option<String>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     async fn delete_backup(&self, backup_id: &str) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     async fn cleanup_old_backups(&self, keep_count: usize) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn cleanup_environment_backups(&self, environment: &str, keep_count: usize)
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_backups` is never read
[INFO] [stdout]   --> src/database/storage/local_storage.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct LocalStorageProvider {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     max_backups: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_backup_id` is never used
[INFO] [stdout]   --> src/database/storage/local_storage.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LocalStorageProvider {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn generate_backup_id() -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `temp_dir` is never read
[INFO] [stdout]   --> src/database/storage/s3_storage.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct S3StorageProvider {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     temp_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk_size`, `sleep_ms`, and `step_count` are never read
[INFO] [stdout]   --> src/database/backup.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct BackupOptions {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 45 |     /// Number of pages to copy in each step
[INFO] [stdout] 46 |     pub chunk_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 47 |     /// Sleep duration between chunks (milliseconds)
[INFO] [stdout] 48 |     pub sleep_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 49 |     /// Maximum number of steps (None for unlimited)
[INFO] [stdout] 50 |     pub step_count: Option<usize>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `backup_id`, `timestamp`, `duration`, `size_bytes`, and `status` are never read
[INFO] [stdout]   --> src/database/backup.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct BackupResult {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 73 |     /// Unique identifier for the backup
[INFO] [stdout] 74 |     pub backup_id: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 75 |     /// Timestamp when the backup was created
[INFO] [stdout] 76 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 77 |     /// Duration of the backup operation
[INFO] [stdout] 78 |     pub duration: Duration,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 79 |     /// Size of the backup in bytes
[INFO] [stdout] 80 |     pub size_bytes: u64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 81 |     /// Status of the backup operation
[INFO] [stdout] 82 |     pub status: BackupStatus,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `started_at` is never read
[INFO] [stdout]   --> src/database/backup.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     Running {
[INFO] [stdout]    |     ------- field in this variant
[INFO] [stdout] 90 |         /// When the job started
[INFO] [stdout] 91 |         started_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupJobStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `result` is never read
[INFO] [stdout]   --> src/database/backup.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     Completed {
[INFO] [stdout]    |     --------- field in this variant
[INFO] [stdout] 95 |         /// The backup result
[INFO] [stdout] 96 |         result: BackupResult,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupJobStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `error` and `failed_at` are never read
[INFO] [stdout]    --> src/database/backup.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout]  99 |     Failed {
[INFO] [stdout]     |     ------ fields in this variant
[INFO] [stdout] 100 |         /// Error message
[INFO] [stdout] 101 |         error: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 102 |         /// When the job failed
[INFO] [stdout] 103 |         failed_at: DateTime<Utc>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BackupJobStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Cancelled` is never constructed
[INFO] [stdout]    --> src/database/backup.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout]  87 | pub enum BackupJobStatus {
[INFO] [stdout]     |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 106 |     Cancelled {
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BackupJobStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `job_id` is never read
[INFO] [stdout]    --> src/database/backup.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct BackupJob {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 115 |     /// Unique job identifier
[INFO] [stdout] 116 |     pub job_id: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BackupJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/database/backup.rs:503:18
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl BackupManager {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn get_backup_status(&self, job_id: &str) -> Option<BackupJob> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub async fn wait_for_backup(&self, job_id: &str) -> Result<BackupResult> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 571 |     pub async fn cancel_backup(&self, job_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 596 |     pub async fn get_active_backups(&self) -> Vec<BackupJob> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 604 |     pub async fn cleanup_completed_jobs(&self, older_than: Duration) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 |     pub async fn list_backups(&self) -> Result<Vec<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 751 |     pub fn get_status(&self) -> &SharedBackupStatus {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 756 |     pub async fn get_latest_backup(&self) -> Result<Option<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 761 |     pub async fn delete_backup(&self, backup_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 766 |     pub async fn cleanup_old_backups(&self, keep_count: usize) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_backup_id` is never used
[INFO] [stdout]   --> src/database/backup_naming.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl BackupNamingService {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn generate_backup_id(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id`, `server_id`, `backup_type`, and `random_suffix` are never used
[INFO] [stdout]    --> src/database/backup_naming.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl BackupId {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub fn id(&self) -> &str {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     pub fn server_id(&self) -> Option<&str> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub fn backup_type(&self) -> BackupType {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn random_suffix(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_backup_storage_path` is never used
[INFO] [stdout]    --> src/database/backup_naming.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | pub fn get_backup_storage_path<P: AsRef<Path>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_backup_s3_key` is never used
[INFO] [stdout]    --> src/database/backup_naming.rs:244:8
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub fn get_backup_s3_key(prefix: &str, backup_id: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `started_at`, `completed_at`, `duration`, `success`, `size_bytes`, and `error` are never read
[INFO] [stdout]   --> src/database/backup_status.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct BackupResult {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 33 |     pub started_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 34 |     pub completed_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 35 |     pub duration: Duration,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 36 |     pub success: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 37 |     pub size_bytes: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 38 |     pub error: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `average_backup_duration` and `success_rate` are never used
[INFO] [stdout]    --> src/database/backup_status.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl BackupStatus {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn average_backup_duration(&self) -> Option<Duration> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn success_rate(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `completed_at`, `success`, `error`, `restored_size`, `duration`, and `source` are never read
[INFO] [stdout]   --> src/database/restoration_status.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct RestorationResult {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] 27 |     /// When the restoration completed
[INFO] [stdout] 28 |     pub completed_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 29 |     /// Whether the restoration was successful
[INFO] [stdout] 30 |     pub success: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 31 |     /// Error message if restoration failed
[INFO] [stdout] 32 |     pub error: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 33 |     /// Size of the restored database in bytes
[INFO] [stdout] 34 |     pub restored_size: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 35 |     /// Duration of the restoration operation
[INFO] [stdout] 36 |     pub duration: Duration,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 37 |     /// Source of the restoration (e.g., S3 key or local path)
[INFO] [stdout] 38 |     pub source: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RestorationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `status_string` is never used
[INFO] [stdout]    --> src/database/restoration_status.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl RestorationStatus {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn status_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `environment` and `server_id` are never read
[INFO] [stdout]   --> src/database/restore.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct RestorationChecker {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     environment: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 16 |     server_id: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `trigger_immediate_backup`, `is_running`, and `get_status` are never used
[INFO] [stdout]    --> src/database/scheduler.rs:155:18
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl BackupScheduler {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub async fn trigger_immediate_backup(&self, options: BackupOptions) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub async fn is_running(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub fn get_status(&self) -> &SharedBackupStatus {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_database_health` is never used
[INFO] [stdout]   --> src/db.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn check_database_health(database_path: &Path) -> Result<bool, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `wait_for_shutdown` is never used
[INFO] [stdout]    --> src/shutdown.rs:107:18
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl ShutdownManager {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub async fn wait_for_shutdown(&self) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `backup_manager` and `backup_scheduler` are never read
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct AppState {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     backup_manager: Option<Arc<BackupManager>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     backup_scheduler: Option<Arc<BackupScheduler>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `s3_prefix`, `aws_role_arn`, `shutdown_backup_timeout_seconds`, and `skip_restoration_if_no_backups` are never read
[INFO] [stdout]   --> src/config.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct BackupConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub s3_prefix: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub aws_role_arn: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub shutdown_backup_timeout_seconds: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub skip_restoration_if_no_backups: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `port` and `host` are never read
[INFO] [stdout]    --> src/config.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct Config {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub port: u16,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 193 |     /// Host for the web server
[INFO] [stdout] 194 |     pub host: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATABASE_PATH` is never used
[INFO] [stdout]   --> src/database/mod.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const DATABASE_PATH: &str = "db.sqlite";
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATABASE_DIR` is never used
[INFO] [stdout]   --> src/database/mod.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const DATABASE_DIR: &str = "database";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Aws` is never constructed
[INFO] [stdout]   --> src/database/mod.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum DatabaseError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |     Aws(String),
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_latest_environment_backup` and `cleanup_environment_backups` are never used
[INFO] [stdout]    --> src/database/storage/mod.rs:69:14
[INFO] [stdout]     |
[INFO] [stdout]  24 | pub trait StorageProvider: Send + Sync {
[INFO] [stdout]     |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  69 |     async fn get_latest_environment_backup(&self, environment: &str) -> Result<Option<String>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn cleanup_environment_backups(&self, environment: &str, keep_count: usize)
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_backups` is never read
[INFO] [stdout]   --> src/database/storage/local_storage.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct LocalStorageProvider {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     max_backups: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_backup_id` is never used
[INFO] [stdout]   --> src/database/storage/local_storage.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LocalStorageProvider {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn generate_backup_id() -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `temp_dir` is never read
[INFO] [stdout]   --> src/database/storage/s3_storage.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct S3StorageProvider {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     temp_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chunk_size`, `sleep_ms`, and `step_count` are never read
[INFO] [stdout]   --> src/database/backup.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct BackupOptions {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 45 |     /// Number of pages to copy in each step
[INFO] [stdout] 46 |     pub chunk_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 47 |     /// Sleep duration between chunks (milliseconds)
[INFO] [stdout] 48 |     pub sleep_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 49 |     /// Maximum number of steps (None for unlimited)
[INFO] [stdout] 50 |     pub step_count: Option<usize>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `duration` is never read
[INFO] [stdout]   --> src/database/backup.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct BackupResult {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub duration: Duration,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `started_at` is never read
[INFO] [stdout]   --> src/database/backup.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     Running {
[INFO] [stdout]    |     ------- field in this variant
[INFO] [stdout] 90 |         /// When the job started
[INFO] [stdout] 91 |         started_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupJobStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Cancelled` is never constructed
[INFO] [stdout]    --> src/database/backup.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout]  87 | pub enum BackupJobStatus {
[INFO] [stdout]     |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 106 |     Cancelled {
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BackupJobStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cancel_backup`, `get_status`, `delete_backup`, and `cleanup_old_backups` are never used
[INFO] [stdout]    --> src/database/backup.rs:571:18
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl BackupManager {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 571 |     pub async fn cancel_backup(&self, job_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 751 |     pub fn get_status(&self) -> &SharedBackupStatus {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 761 |     pub async fn delete_backup(&self, backup_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 766 |     pub async fn cleanup_old_backups(&self, keep_count: usize) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db` is never used
[INFO] [stdout]    --> src/database/backup.rs:780:14
[INFO] [stdout]     |
[INFO] [stdout] 780 |     async fn setup_test_db() -> Result<SqlitePool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_backup_id` is never used
[INFO] [stdout]   --> src/database/backup_naming.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl BackupNamingService {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn generate_backup_id(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `started_at`, `completed_at`, `size_bytes`, and `error` are never read
[INFO] [stdout]   --> src/database/backup_status.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct BackupResult {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 33 |     pub started_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 34 |     pub completed_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub size_bytes: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 38 |     pub error: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `environment` and `server_id` are never read
[INFO] [stdout]   --> src/database/restore.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct RestorationChecker {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     environment: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 16 |     server_id: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_status` is never used
[INFO] [stdout]    --> src/database/scheduler.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl BackupScheduler {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub fn get_status(&self) -> &SharedBackupStatus {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_database_health` is never used
[INFO] [stdout]   --> src/db.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn check_database_health(database_path: &Path) -> Result<bool, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `wait_for_shutdown` is never used
[INFO] [stdout]    --> src/shutdown.rs:107:18
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl ShutdownManager {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub async fn wait_for_shutdown(&self) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `futures`
[INFO] [stderr]  --> Cargo.toml:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | futures = "0.3.28"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `futures`
[INFO] [stderr] warning: `six-disc-changer` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s
[INFO] running `Command { std: "docker" "inspect" "bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84", kill_on_drop: false }`
[INFO] [stdout] bcabc7bedc722a9841ca2ddbbc81b3caa97ed9e7d2a9bb7c6790c607f14dde84
