[INFO] cloning repository https://github.com/cfping/screen-bridge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cfping/screen-bridge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfping%2Fscreen-bridge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfping%2Fscreen-bridge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a58a0afb7e4d8433f987b6a931cf46925358ff2 [INFO] checking cfping/screen-bridge against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfping%2Fscreen-bridge" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cfping/screen-bridge [INFO] finished tweaking git repo https://github.com/cfping/screen-bridge [INFO] tweaked toml for git repo https://github.com/cfping/screen-bridge written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cfping/screen-bridge on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cfping/screen-bridge 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stringmatch v0.4.0 [INFO] [stderr] Downloaded thirtyfour-macros v0.2.0 [INFO] [stderr] Downloaded thirtyfour v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c41f681ba1cb6b49d74e55d3529f54539d143b2fd44d566c1f0c64ec60bdcf2 [INFO] running `Command { std: "docker" "start" "-a" "6c41f681ba1cb6b49d74e55d3529f54539d143b2fd44d566c1f0c64ec60bdcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c41f681ba1cb6b49d74e55d3529f54539d143b2fd44d566c1f0c64ec60bdcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c41f681ba1cb6b49d74e55d3529f54539d143b2fd44d566c1f0c64ec60bdcf2", kill_on_drop: false }` [INFO] [stdout] 6c41f681ba1cb6b49d74e55d3529f54539d143b2fd44d566c1f0c64ec60bdcf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4832ded59409c2d3e8e4e1ad768802c118c0eeb3a3ba2a0115681ca064434993 [INFO] running `Command { std: "docker" "start" "-a" "4832ded59409c2d3e8e4e1ad768802c118c0eeb3a3ba2a0115681ca064434993", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking zune-jpeg v0.4.19 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking stringmatch v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustls-webpki v0.103.4 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling thirtyfour-macros v0.2.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking tungstenite v0.27.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [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-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [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 hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking thirtyfour v0.36.1 [INFO] [stderr] Checking screen-bridge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/capture.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Utf8Bytes` and `get_service` [INFO] [stdout] --> src/server.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | extract::ws::{Utf8Bytes, WebSocket, WebSocketUpgrade}, response::Response, routing::{get, get_service}, Router [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/server.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{net::SocketAddr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/capture.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Utf8Bytes` and `get_service` [INFO] [stdout] --> src/server.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | extract::ws::{Utf8Bytes, WebSocket, WebSocketUpgrade}, response::Response, routing::{get, get_service}, Router [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/server.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{net::SocketAddr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_width` is never read [INFO] [stdout] --> src/capture.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ScreenshotStream { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | target_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_fps`, `with_dimensions`, `with_metadata`, `to_json`, `from_json`, and `optimize_image` are never used [INFO] [stdout] --> src/models.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl VideoFrame { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn with_fps(frame_data: String, actual_fps: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_dimensions(mut self, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_metadata(mut self, data: T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn to_json(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn from_json(json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn optimize_image(original: &[u8], target_width: u32) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/models.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/models.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_jpeg_bytes` is never used [INFO] [stdout] --> src/models.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn to_jpeg_bytes(img: &DynamicImage, quality: u8) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resize_image` is never used [INFO] [stdout] --> src/models.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn resize_image( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_width` is never read [INFO] [stdout] --> src/capture.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ScreenshotStream { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | target_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_fps`, `with_dimensions`, `with_metadata`, `to_json`, `from_json`, and `optimize_image` are never used [INFO] [stdout] --> src/models.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl VideoFrame { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn with_fps(frame_data: String, actual_fps: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_dimensions(mut self, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_metadata(mut self, data: T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn to_json(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn from_json(json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn optimize_image(original: &[u8], target_width: u32) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/models.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/models.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_jpeg_bytes` is never used [INFO] [stdout] --> src/models.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn to_jpeg_bytes(img: &DynamicImage, quality: u8) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resize_image` is never used [INFO] [stdout] --> src/models.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn resize_image( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.96s [INFO] running `Command { std: "docker" "inspect" "4832ded59409c2d3e8e4e1ad768802c118c0eeb3a3ba2a0115681ca064434993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4832ded59409c2d3e8e4e1ad768802c118c0eeb3a3ba2a0115681ca064434993", kill_on_drop: false }` [INFO] [stdout] 4832ded59409c2d3e8e4e1ad768802c118c0eeb3a3ba2a0115681ca064434993