[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] testing cfping/screen-bridge against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfping%2Fscreen-bridge" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cfping/screen-bridge on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a11d421d2d1f0859d6705b018938d8f8bd68a78ca3cafc479883a11952ed176b [INFO] running `Command { std: "docker" "start" "-a" "a11d421d2d1f0859d6705b018938d8f8bd68a78ca3cafc479883a11952ed176b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a11d421d2d1f0859d6705b018938d8f8bd68a78ca3cafc479883a11952ed176b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11d421d2d1f0859d6705b018938d8f8bd68a78ca3cafc479883a11952ed176b", kill_on_drop: false }` [INFO] [stdout] a11d421d2d1f0859d6705b018938d8f8bd68a78ca3cafc479883a11952ed176b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2eb0669a36e87119029e4ab11c54e7a191e8f671fca9f8436741130a38e0d6c [INFO] running `Command { std: "docker" "start" "-a" "f2eb0669a36e87119029e4ab11c54e7a191e8f671fca9f8436741130a38e0d6c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.19 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling stringmatch v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.8.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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thirtyfour-macros v0.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling thirtyfour v0.36.1 [INFO] [stderr] Compiling 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: 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 14m 34s [INFO] running `Command { std: "docker" "inspect" "f2eb0669a36e87119029e4ab11c54e7a191e8f671fca9f8436741130a38e0d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2eb0669a36e87119029e4ab11c54e7a191e8f671fca9f8436741130a38e0d6c", kill_on_drop: false }` [INFO] [stdout] f2eb0669a36e87119029e4ab11c54e7a191e8f671fca9f8436741130a38e0d6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd3a5c6b737ee3dbfb622c021c09915145fb4476ec8e6c0be201e2f6f423e19c [INFO] running `Command { std: "docker" "start" "-a" "bd3a5c6b737ee3dbfb622c021c09915145fb4476ec8e6c0be201e2f6f423e19c", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "bd3a5c6b737ee3dbfb622c021c09915145fb4476ec8e6c0be201e2f6f423e19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd3a5c6b737ee3dbfb622c021c09915145fb4476ec8e6c0be201e2f6f423e19c", kill_on_drop: false }` [INFO] [stdout] bd3a5c6b737ee3dbfb622c021c09915145fb4476ec8e6c0be201e2f6f423e19c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 522fb9e6d380e8708252c8ff08c1c4c8603f4777958618deba8d9c5c2a89d366 [INFO] running `Command { std: "docker" "start" "-a" "522fb9e6d380e8708252c8ff08c1c4c8603f4777958618deba8d9c5c2a89d366", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/capture.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use tracing::{debug, error, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Utf8Bytes` and `get_service` [INFO] [stderr] --> src/server.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | extract::ws::{Utf8Bytes, WebSocket, WebSocketUpgrade}, response::Response, routing::{get, get_service}, Router [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bytes::BytesMut` [INFO] [stderr] --> src/server.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use bytes::BytesMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sync::Arc` [INFO] [stderr] --> src/server.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{net::SocketAddr, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `target_width` is never read [INFO] [stderr] --> src/capture.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ScreenshotStream { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | target_width: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `with_fps`, `with_dimensions`, `with_metadata`, `to_json`, `from_json`, and `optimize_image` are never used [INFO] [stderr] --> src/models.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl VideoFrame { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn with_fps(frame_data: String, actual_fps: f64) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn with_dimensions(mut self, width: u32, height: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn with_metadata(mut self, data: T) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn to_json(&self) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn from_json(json: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn optimize_image(original: &[u8], target_width: u32) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AppState` is never constructed [INFO] [stderr] --> src/models.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | pub struct AppState { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `AppError` is never used [INFO] [stderr] --> src/models.rs:133:10 [INFO] [stderr] | [INFO] [stderr] 133 | pub enum AppError { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_jpeg_bytes` is never used [INFO] [stderr] --> src/models.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn to_jpeg_bytes(img: &DynamicImage, quality: u8) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `resize_image` is never used [INFO] [stderr] --> src/models.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn resize_image( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `screen-bridge` (bin "screen-bridge" test) generated 10 warnings (run `cargo fix --bin "screen-bridge" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/screen_bridge-b05de91d53491f86) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "522fb9e6d380e8708252c8ff08c1c4c8603f4777958618deba8d9c5c2a89d366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "522fb9e6d380e8708252c8ff08c1c4c8603f4777958618deba8d9c5c2a89d366", kill_on_drop: false }` [INFO] [stdout] 522fb9e6d380e8708252c8ff08c1c4c8603f4777958618deba8d9c5c2a89d366