[INFO] cloning repository https://github.com/henno/zoom-gallery-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henno/zoom-gallery-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenno%2Fzoom-gallery-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenno%2Fzoom-gallery-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7f46db5221f9cc48f582cc03a1b85854fb7ef88 [INFO] checking henno/zoom-gallery-rust against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenno%2Fzoom-gallery-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/henno/zoom-gallery-rust [INFO] finished tweaking git repo https://github.com/henno/zoom-gallery-rust [INFO] tweaked toml for git repo https://github.com/henno/zoom-gallery-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/henno/zoom-gallery-rust on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/henno/zoom-gallery-rust 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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f26efd4d3f4fa3c15a435b99f817e5358d71c4b6d9b46536a66686679a94a39 [INFO] running `Command { std: "docker" "start" "-a" "6f26efd4d3f4fa3c15a435b99f817e5358d71c4b6d9b46536a66686679a94a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f26efd4d3f4fa3c15a435b99f817e5358d71c4b6d9b46536a66686679a94a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f26efd4d3f4fa3c15a435b99f817e5358d71c4b6d9b46536a66686679a94a39", kill_on_drop: false }` [INFO] [stdout] 6f26efd4d3f4fa3c15a435b99f817e5358d71c4b6d9b46536a66686679a94a39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb19d45ab75624de0766dde6be5b439342c36d9abc5d34bbe35efdf2a90cc6a1 [INFO] running `Command { std: "docker" "start" "-a" "fb19d45ab75624de0766dde6be5b439342c36d9abc5d34bbe35efdf2a90cc6a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling leptonica-sys v0.4.9 [INFO] [stderr] Compiling tesseract-sys v0.6.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking zune-jpeg v0.5.8 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking rustfft v6.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking leptonica-plumbing v1.4.0 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking tesseract-plumbing v0.11.1 [INFO] [stderr] Checking tesseract v0.15.2 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking rustdct v0.7.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking image_hasher v2.0.0 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking r2d2_sqlite v0.25.0 [INFO] [stderr] Checking imageproc v0.25.0 [INFO] [stderr] Checking zoom-gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `frames::*` [INFO] [stdout] --> src/video/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use frames::*; [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: `frames::*` [INFO] [stdout] --> src/video/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use frames::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ocr_batch_size` is never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub ocr_batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OcrKeyword` is never constructed [INFO] [stdout] --> src/db/models.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OcrKeyword { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoWithKeywords` is never constructed [INFO] [stdout] --> src/db/models.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct VideoWithKeywords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_video_count` is never used [INFO] [stdout] --> src/db/queries.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn get_video_count(pool: &DbPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ocr_progress` is never used [INFO] [stdout] --> src/db/queries.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_ocr_progress(pool: &DbPool) -> Result<(i64, i64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoForFrames` is never constructed [INFO] [stdout] --> src/db/queries.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct VideoForFrames { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_videos_needing_frames` is never used [INFO] [stdout] --> src/db/queries.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn get_videos_needing_frames(pool: &DbPool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_frames_extracted` is never used [INFO] [stdout] --> src/db/queries.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn mark_frames_extracted(pool: &DbPool, video_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest` and `Conflict` are never constructed [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_keywords` is never used [INFO] [stdout] --> src/ocr/keywords.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn extract_keywords(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_ocr_text` is never used [INFO] [stdout] --> src/ocr/keywords.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn clean_ocr_text(texts: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanProgress` is never constructed [INFO] [stdout] --> src/scanner/progress.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScanProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/video/ffmpeg.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VideoMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | pub duration_seconds: Option, [INFO] [stdout] 13 | pub width: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub height: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoMetadata` 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: function `extract_frames_for_video` is never used [INFO] [stdout] --> src/video/frames.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn extract_frames_for_video( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_video_frames` is never used [INFO] [stdout] --> src/video/frames.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn delete_video_frames(video_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ocr_batch_size` is never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub ocr_batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OcrKeyword` is never constructed [INFO] [stdout] --> src/db/models.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OcrKeyword { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoWithKeywords` is never constructed [INFO] [stdout] --> src/db/models.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct VideoWithKeywords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_video_count` is never used [INFO] [stdout] --> src/db/queries.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn get_video_count(pool: &DbPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ocr_progress` is never used [INFO] [stdout] --> src/db/queries.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_ocr_progress(pool: &DbPool) -> Result<(i64, i64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoForFrames` is never constructed [INFO] [stdout] --> src/db/queries.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct VideoForFrames { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_videos_needing_frames` is never used [INFO] [stdout] --> src/db/queries.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn get_videos_needing_frames(pool: &DbPool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_frames_extracted` is never used [INFO] [stdout] --> src/db/queries.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn mark_frames_extracted(pool: &DbPool, video_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest` and `Conflict` are never constructed [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_ocr_text` is never used [INFO] [stdout] --> src/ocr/keywords.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn clean_ocr_text(texts: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanProgress` is never constructed [INFO] [stdout] --> src/scanner/progress.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScanProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/video/ffmpeg.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VideoMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | pub duration_seconds: Option, [INFO] [stdout] 13 | pub width: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub height: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoMetadata` 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: function `extract_frames_for_video` is never used [INFO] [stdout] --> src/video/frames.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn extract_frames_for_video( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_video_frames` is never used [INFO] [stdout] --> src/video/frames.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn delete_video_frames(video_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.18s [INFO] running `Command { std: "docker" "inspect" "fb19d45ab75624de0766dde6be5b439342c36d9abc5d34bbe35efdf2a90cc6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb19d45ab75624de0766dde6be5b439342c36d9abc5d34bbe35efdf2a90cc6a1", kill_on_drop: false }` [INFO] [stdout] fb19d45ab75624de0766dde6be5b439342c36d9abc5d34bbe35efdf2a90cc6a1