[INFO] cloning repository https://github.com/rbarjavel/homies_gaming_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rbarjavel/homies_gaming_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbarjavel%2Fhomies_gaming_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbarjavel%2Fhomies_gaming_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afe416e5eae7b652db12696f65cb4df7ddf9b079 [INFO] building rbarjavel/homies_gaming_backend against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbarjavel%2Fhomies_gaming_backend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 38% (97/254) Updating files: 39% (100/254) Updating files: 40% (102/254) Updating files: 41% (105/254) Updating files: 42% (107/254) Updating files: 43% (110/254) Updating files: 44% (112/254) Updating files: 45% (115/254) Updating files: 46% (117/254) Updating files: 47% (120/254) Updating files: 48% (122/254) Updating files: 49% (125/254) Updating files: 50% (127/254) Updating files: 51% (130/254) Updating files: 52% (133/254) Updating files: 53% (135/254) Updating files: 54% (138/254) Updating files: 55% (140/254) Updating files: 56% (143/254) Updating files: 57% (145/254) Updating files: 58% (148/254) Updating files: 59% (150/254) Updating files: 60% (153/254) Updating files: 61% (155/254) Updating files: 62% (158/254) Updating files: 63% (161/254) Updating files: 64% (163/254) Updating files: 65% (166/254) Updating files: 66% (168/254) Updating files: 67% (171/254) Updating files: 68% (173/254) Updating files: 69% (176/254) Updating files: 70% (178/254) Updating files: 71% (181/254) Updating files: 72% (183/254) Updating files: 73% (186/254) Updating files: 74% (188/254) Updating files: 75% (191/254) Updating files: 76% (194/254) Updating files: 77% (196/254) Updating files: 78% (199/254) Updating files: 79% (201/254) Updating files: 80% (204/254) Updating files: 81% (206/254) Updating files: 82% (209/254) Updating files: 83% (211/254) Updating files: 84% (214/254) Updating files: 85% (216/254) Updating files: 86% (219/254) Updating files: 87% (221/254) Updating files: 88% (224/254) Updating files: 89% (227/254) Updating files: 90% (229/254) Updating files: 91% (232/254) Updating files: 92% (234/254) Updating files: 93% (237/254) Updating files: 94% (239/254) Updating files: 95% (242/254) Updating files: 96% (244/254) Updating files: 97% (247/254) Updating files: 98% (249/254) Updating files: 99% (252/254) Updating files: 100% (254/254) Updating files: 100% (254/254), done. [INFO] started tweaking git repo https://github.com/rbarjavel/homies_gaming_backend [INFO] finished tweaking git repo https://github.com/rbarjavel/homies_gaming_backend [INFO] tweaked toml for git repo https://github.com/rbarjavel/homies_gaming_backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rbarjavel/homies_gaming_backend on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rbarjavel/homies_gaming_backend 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-range-header v0.3.1 [INFO] [stderr] Downloaded basic-toml v0.1.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded tower-http v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adfce4a79df2c70e865dc4c26e0253b465327abbf6ba60668e79f80c3c8b464c [INFO] running `Command { std: "docker" "start" "-a" "adfce4a79df2c70e865dc4c26e0253b465327abbf6ba60668e79f80c3c8b464c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adfce4a79df2c70e865dc4c26e0253b465327abbf6ba60668e79f80c3c8b464c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adfce4a79df2c70e865dc4c26e0253b465327abbf6ba60668e79f80c3c8b464c", kill_on_drop: false }` [INFO] [stdout] adfce4a79df2c70e865dc4c26e0253b465327abbf6ba60668e79f80c3c8b464c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d3b935b07071d5e9aa49e37c4083532a74a33eed5169a8fa44bb35f92908f54 [INFO] running `Command { std: "docker" "start" "-a" "6d3b935b07071d5e9aa49e37c4083532a74a33eed5169a8fa44bb35f92908f54", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling homies_gaming_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers/upload.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 617 | return true; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 618 | [INFO] [stdout] 619 | / match ext.as_str() { [INFO] [stdout] 620 | | // Image formats [INFO] [stdout] 621 | | "jpg" | "jpeg" => data.starts_with(&[0xFF, 0xD8, 0xFF]), [INFO] [stdout] 622 | | "png" => data.starts_with(&[0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A]), [INFO] [stdout] ... | [INFO] [stdout] 645 | | _ => true, [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/handlers/upload.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let ext = filename.split('.').next_back().unwrap_or("").to_lowercase(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handlers/upload.rs:615:42 [INFO] [stdout] | [INFO] [stdout] 615 | fn is_valid_file_content(filename: &str, data: &[u8]) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/state.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MediaInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaInfo` has derived impls for the traits `Debug` and `Clone`, but these are 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: fields `upload_time` and `marked_for_deletion` are never read [INFO] [stdout] --> src/state.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SoundInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | pub filename: String, [INFO] [stdout] 20 | pub upload_time: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub marked_for_deletion: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SoundInfo` 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 `get_last_media`, `file_exists`, and `get_last_sound` are never used [INFO] [stdout] --> src/state.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl MediaViewState { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_last_media(&self) -> Option<&MediaInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn file_exists(&self, filename: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_last_sound(&self) -> Option<&SoundInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaContainerTemplate` is never constructed [INFO] [stdout] --> src/templates.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MediaContainerTemplate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GreetTemplate` is never constructed [INFO] [stdout] --> src/templates.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct GreetTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `platform` is never read [INFO] [stdout] --> src/video_processing.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 458 | pub struct VideoMetadata { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 462 | pub platform: VideoPlatform, [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 `broadcast_new_browser_raw` is never used [INFO] [stdout] --> src/websocket.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn broadcast_new_browser_raw(clients: &WsClients, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "6d3b935b07071d5e9aa49e37c4083532a74a33eed5169a8fa44bb35f92908f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3b935b07071d5e9aa49e37c4083532a74a33eed5169a8fa44bb35f92908f54", kill_on_drop: false }` [INFO] [stdout] 6d3b935b07071d5e9aa49e37c4083532a74a33eed5169a8fa44bb35f92908f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57afc3a9c0ff1d2ef9b755c5fdf1eaf460198e17cffe675d169531479fd38a02 [INFO] running `Command { std: "docker" "start" "-a" "57afc3a9c0ff1d2ef9b755c5fdf1eaf460198e17cffe675d169531479fd38a02", kill_on_drop: false }` [INFO] [stderr] Compiling homies_gaming_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers/upload.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 617 | return true; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 618 | [INFO] [stdout] 619 | / match ext.as_str() { [INFO] [stdout] 620 | | // Image formats [INFO] [stdout] 621 | | "jpg" | "jpeg" => data.starts_with(&[0xFF, 0xD8, 0xFF]), [INFO] [stdout] 622 | | "png" => data.starts_with(&[0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A]), [INFO] [stdout] ... | [INFO] [stdout] 645 | | _ => true, [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/handlers/upload.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let ext = filename.split('.').next_back().unwrap_or("").to_lowercase(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handlers/upload.rs:615:42 [INFO] [stdout] | [INFO] [stdout] 615 | fn is_valid_file_content(filename: &str, data: &[u8]) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/state.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MediaInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaInfo` has derived impls for the traits `Debug` and `Clone`, but these are 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: fields `upload_time` and `marked_for_deletion` are never read [INFO] [stdout] --> src/state.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SoundInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | pub filename: String, [INFO] [stdout] 20 | pub upload_time: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub marked_for_deletion: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SoundInfo` 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 `get_last_media`, `file_exists`, and `get_last_sound` are never used [INFO] [stdout] --> src/state.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl MediaViewState { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_last_media(&self) -> Option<&MediaInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn file_exists(&self, filename: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_last_sound(&self) -> Option<&SoundInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaContainerTemplate` is never constructed [INFO] [stdout] --> src/templates.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MediaContainerTemplate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GreetTemplate` is never constructed [INFO] [stdout] --> src/templates.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct GreetTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `platform` is never read [INFO] [stdout] --> src/video_processing.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 458 | pub struct VideoMetadata { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 462 | pub platform: VideoPlatform, [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 `broadcast_new_browser_raw` is never used [INFO] [stdout] --> src/websocket.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn broadcast_new_browser_raw(clients: &WsClients, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.65s [INFO] running `Command { std: "docker" "inspect" "57afc3a9c0ff1d2ef9b755c5fdf1eaf460198e17cffe675d169531479fd38a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57afc3a9c0ff1d2ef9b755c5fdf1eaf460198e17cffe675d169531479fd38a02", kill_on_drop: false }` [INFO] [stdout] 57afc3a9c0ff1d2ef9b755c5fdf1eaf460198e17cffe675d169531479fd38a02