[INFO] cloning repository https://github.com/King-Of-Cabbage/PhotoCleaner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/King-Of-Cabbage/PhotoCleaner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKing-Of-Cabbage%2FPhotoCleaner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKing-Of-Cabbage%2FPhotoCleaner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f51f2197414567225ea64cfa4e7d1db4d82633ce [INFO] checking King-Of-Cabbage/PhotoCleaner against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKing-Of-Cabbage%2FPhotoCleaner" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/King-Of-Cabbage/PhotoCleaner [INFO] finished tweaking git repo https://github.com/King-Of-Cabbage/PhotoCleaner [INFO] tweaked toml for git repo https://github.com/King-Of-Cabbage/PhotoCleaner written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/King-Of-Cabbage/PhotoCleaner on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/King-Of-Cabbage/PhotoCleaner 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89 [INFO] running `Command { std: "docker" "start" "edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89", 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" "edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89", 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 -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Compiling cc v1.4.0 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling zerocopy v0.8.55 [INFO] [stderr] Compiling wayland-client v0.31.15 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling quick-xml v0.41.0 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Checking futures-core v0.3.33 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-io v0.3.33 [INFO] [stderr] Checking fastrand v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling cfg_aliases v0.2.2 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling thiserror v2.0.19 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling matrixmultiply v0.3.11 [INFO] [stderr] Checking futures-sink v0.3.33 [INFO] [stderr] Checking futures-task v0.3.33 [INFO] [stderr] Compiling wayland-scanner v0.31.11 [INFO] [stderr] Checking sha1 v0.10.7 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling toml_edit v0.25.13+spec-1.1.0 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling ort-sys v2.0.0-rc.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking futures-channel v0.3.33 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling rfd v0.14.1 [INFO] [stderr] Checking pxfm v0.1.30 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking fax v0.2.7 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking either v1.17.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling wayland-backend v0.3.16 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Checking mutate_once v0.1.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking uuid v1.24.0 [INFO] [stderr] Checking kamadak-exif v0.5.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking serde_json v1.0.151 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking crossbeam-channel v0.5.16 [INFO] [stderr] Checking xxhash-rust v0.8.18 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling thiserror-impl v2.0.19 [INFO] [stderr] Compiling serde_repr v0.1.21 [INFO] [stderr] Compiling async-trait v0.1.91 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling zerocopy-derive v0.8.55 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling bytemuck_derive v1.11.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.33 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking ort v2.0.0-rc.4 [INFO] [stderr] Checking ecolor v0.27.2 [INFO] [stderr] Checking emath v0.27.2 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking wayland-protocols v0.32.13 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking futures-util v0.3.33 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking epaint v0.27.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.7 [INFO] [stderr] Checking tiff v0.11.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking egui v0.27.2 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking egui_glow v0.27.2 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking egui-winit v0.27.2 [INFO] [stderr] Checking eframe v0.27.2 [INFO] [stderr] Checking ashpd v0.8.2 [INFO] [stderr] Checking photocleaner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `ANN_INDEX_VERSION` is never used [INFO] [stdout] --> src/ann/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ANN_INDEX_VERSION: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnnDescriptor` is never constructed [INFO] [stdout] --> src/ann/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct AnnDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ann/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl AnnDescriptor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 100 | pub fn new(library_id: &str, model_hash: Option<&str>, dimension: usize, dtype: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/ann/mod.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl HnswIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanRunRecord` is never constructed [INFO] [stdout] --> src/database/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ScanRunRecord { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `duration_ms` is never read [INFO] [stdout] --> src/database/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct CleanupAsset { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub duration_ms: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CleanupAsset` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `relative_path` is never read [INFO] [stdout] --> src/database/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct RecognitionFile { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 184 | id: i64, [INFO] [stdout] 185 | relative_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecognitionFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `latest_scan_runs` and `photo_count` are never used [INFO] [stdout] --> src/database/mod.rs:1279:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1279 | pub fn latest_scan_runs(&self, limit: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1308 | pub fn photo_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_available` is never used [INFO] [stdout] --> src/ffprobe/mod.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn is_available(paths: &PortablePaths) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_read` is never read [INFO] [stdout] --> src/hashing/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FileFingerprint { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_hash_file` is never used [INFO] [stdout] --> src/hashing/mod.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn quick_hash_file(path: &Path, expected_size: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_dimensions` is never used [INFO] [stdout] --> src/metadata/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn image_dimensions(path: &Path) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_queue_wait` is never used [INFO] [stdout] --> src/perf.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl StageTimer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn add_queue_wait(&mut self, elapsed: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/phash/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn distance(left: u64, right: u64) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IncompleteLivePhoto` is never constructed [INFO] [stdout] --> src/retention/mod.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum RetentionReason { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 369 | IncompleteLivePhoto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetentionReason` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL` is never used [INFO] [stdout] --> src/scan_state.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const ALL: &[&str] = &[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `severity` is never used [INFO] [stdout] --> src/scan_state.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn severity(state: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_state`, `state`, and `note` are never used [INFO] [stdout] --> src/scan_state.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl StateAccumulator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn from_state(state: &str, stage: Option<&str>, message: Option<&str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn state(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn note(&mut self, state: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AiEmbedding` is never constructed [INFO] [stdout] --> src/scanner/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ScanStage { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 55 | AiEmbedding, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanStage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ai_pending` is never read [INFO] [stdout] --> src/scanner/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ScanProgress { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | pub ai_pending: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanProgress` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stage_perf` is never read [INFO] [stdout] --> src/scanner/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct ScanOutcome { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 193 | pub summary: ScanSummary, [INFO] [stdout] 194 | pub stage_perf: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanOutcome` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `snapshot` is never used [INFO] [stdout] --> src/scanner/progress.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 301 | impl ProgressHub { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn snapshot(&self) -> ScanProgress { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `used_bytes`, `len`, `is_empty`, and `contains` are never used [INFO] [stdout] --> src/thumbnails/mod.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl LruBudget { [INFO] [stdout] | --------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn contains(&self, key: &K) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/ann/mod.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl HnswIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanRunRecord` is never constructed [INFO] [stdout] --> src/database/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ScanRunRecord { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `duration_ms` is never read [INFO] [stdout] --> src/database/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct CleanupAsset { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub duration_ms: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CleanupAsset` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `relative_path` is never read [INFO] [stdout] --> src/database/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct RecognitionFile { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 184 | id: i64, [INFO] [stdout] 185 | relative_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecognitionFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `latest_scan_runs` and `photo_count` are never used [INFO] [stdout] --> src/database/mod.rs:1279:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1279 | pub fn latest_scan_runs(&self, limit: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1308 | pub fn photo_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_available` is never used [INFO] [stdout] --> src/ffprobe/mod.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn is_available(paths: &PortablePaths) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_dimensions` is never used [INFO] [stdout] --> src/metadata/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn image_dimensions(path: &Path) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_queue_wait` is never used [INFO] [stdout] --> src/perf.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl StageTimer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn add_queue_wait(&mut self, elapsed: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IncompleteLivePhoto` is never constructed [INFO] [stdout] --> src/retention/mod.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 362 | pub enum RetentionReason { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 369 | IncompleteLivePhoto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetentionReason` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AiEmbedding` is never constructed [INFO] [stdout] --> src/scanner/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ScanStage { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 55 | AiEmbedding, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanStage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ai_pending` is never read [INFO] [stdout] --> src/scanner/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ScanProgress { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | pub ai_pending: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanProgress` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stage_perf` is never read [INFO] [stdout] --> src/scanner/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct ScanOutcome { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 193 | pub summary: ScanSummary, [INFO] [stdout] 194 | pub stage_perf: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanOutcome` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `snapshot` is never used [INFO] [stdout] --> src/scanner/progress.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 301 | impl ProgressHub { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn snapshot(&self) -> ScanProgress { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/thumbnails/mod.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl LruBudget { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rayon` [INFO] [stderr] --> Cargo.toml:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | rayon = "1.10" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rayon` [INFO] [stderr] warning: `photocleaner` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.99s [INFO] running `Command { std: "docker" "inspect" "edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89", kill_on_drop: false }` [INFO] [stdout] edb701ed815c11cf6eeb6c5df6f6e022b9503e53d40daf459e337529fbceed89