[INFO] cloning repository https://github.com/carterlasalle/PixelChangeCheck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carterlasalle/PixelChangeCheck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarterlasalle%2FPixelChangeCheck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarterlasalle%2FPixelChangeCheck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f886509bb30daa4569f1b9918d6649ede7bceea [INFO] checking carterlasalle/PixelChangeCheck against master#49b6ac01d6f4c3da812039ae846407a20961aa4c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarterlasalle%2FPixelChangeCheck" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/carterlasalle/PixelChangeCheck [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/carterlasalle/PixelChangeCheck [INFO] tweaked toml for git repo https://github.com/carterlasalle/PixelChangeCheck written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/carterlasalle/PixelChangeCheck on toolchain 49b6ac01d6f4c3da812039ae846407a20961aa4c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/carterlasalle/PixelChangeCheck 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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.8.2 [INFO] [stderr] Downloaded screenshots v0.8.10 [INFO] [stderr] Downloaded libwayshot v0.2.0 [INFO] [stderr] Downloaded display-info v0.4.8 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.1.0 [INFO] [stderr] Downloaded jpeg-encoder v0.5.1 [INFO] [stderr] Downloaded rcgen v0.12.1 [INFO] [stderr] Downloaded wayland-backend v0.1.2 [INFO] [stderr] Downloaded wayland-client v0.30.2 [INFO] [stderr] Downloaded wayland-protocols v0.30.1 [INFO] [stderr] Downloaded xcb v1.5.0 [INFO] [stderr] Downloaded wayland-scanner v0.30.1 [INFO] [stderr] Downloaded quick-xml v0.28.2 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f815d5a79c46a7bf75d981a6edc3c60430dfec28abc787ecffbf358ee3d0e91c [INFO] running `Command { std: "docker" "start" "-a" "f815d5a79c46a7bf75d981a6edc3c60430dfec28abc787ecffbf358ee3d0e91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f815d5a79c46a7bf75d981a6edc3c60430dfec28abc787ecffbf358ee3d0e91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f815d5a79c46a7bf75d981a6edc3c60430dfec28abc787ecffbf358ee3d0e91c", kill_on_drop: false }` [INFO] [stdout] f815d5a79c46a7bf75d981a6edc3c60430dfec28abc787ecffbf358ee3d0e91c [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c375885ab0a610174195daf561241fc4d64214a333e2a46ff0451797eb77f1aa [INFO] running `Command { std: "docker" "start" "-a" "c375885ab0a610174195daf561241fc4d64214a333e2a46ff0451797eb77f1aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking jpeg-encoder v0.5.1 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Compiling xcb v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rcgen v0.12.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking wayland-protocols v0.30.1 [INFO] [stderr] Checking display-info v0.4.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.1.0 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking libwayshot v0.2.0 [INFO] [stderr] Checking screenshots v0.8.10 [INFO] [stderr] Checking pixel-change-check-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/network/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct NetworkManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 20 | endpoint: Endpoint, [INFO] [stdout] 21 | config: NetworkConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_tx` and `frame_rx` are never read [INFO] [stdout] --> src/network/transport.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct QUICTransport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | frame_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | frame_rx: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_RETRIES` is never used [INFO] [stdout] --> src/network/resilience.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_RETRIES: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BASE_BACKOFF: Duration = Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_BACKOFF: Duration = Duration::from_secs(5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/server/renderer/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub buffer: Arc, [INFO] [stdout] 11 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/server/renderer/buffer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FrameBuffer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resilience` and `frame_rx` are never read [INFO] [stdout] --> src/server/network/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ServerNetwork { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | resilience: ResilienceConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | frame_tx: mpsc::Sender, [INFO] [stdout] 14 | frame_rx: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transport::QUICTransport` [INFO] [stdout] --> src/network/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use transport::QUICTransport; [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: `NetworkResilience` [INFO] [stdout] --> src/network/mod.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | pub use resilience::{ResilienceConfig, NetworkResilience}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::*` [INFO] [stdout] --> src/network/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use protocol::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::Renderer` [INFO] [stdout] --> src/server/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworkConfig` [INFO] [stdout] --> tests/integration_tests.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | network::{NetworkConfig, ResilienceConfig, NetworkResilience}, [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: `tokio::time` [INFO] [stdout] --> tests/integration_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/network/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct NetworkManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 20 | endpoint: Endpoint, [INFO] [stdout] 21 | config: NetworkConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_tx` and `frame_rx` are never read [INFO] [stdout] --> src/network/transport.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct QUICTransport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | frame_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | frame_rx: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_RETRIES` is never used [INFO] [stdout] --> src/network/resilience.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_RETRIES: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BASE_BACKOFF: Duration = Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_BACKOFF: Duration = Duration::from_secs(5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/server/renderer/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub buffer: Arc, [INFO] [stdout] 11 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/server/renderer/buffer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FrameBuffer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resilience` and `frame_rx` are never read [INFO] [stdout] --> src/server/network/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ServerNetwork { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | resilience: ResilienceConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | frame_tx: mpsc::Sender, [INFO] [stdout] 14 | frame_rx: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transport::QUICTransport` [INFO] [stdout] --> src/network/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use transport::QUICTransport; [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: `NetworkResilience` [INFO] [stdout] --> src/network/mod.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | pub use resilience::{ResilienceConfig, NetworkResilience}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::*` [INFO] [stdout] --> src/network/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use protocol::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::Renderer` [INFO] [stdout] --> src/server/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detector` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let detector = pcc::PCCDetector::default(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let encoder = encoder::FrameEncoder::new( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `frame_counter` are never read [INFO] [stdout] --> src/capture/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenCapture { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | config: QualityConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | screen: Screen, [INFO] [stdout] 11 | frame_counter: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `width`, and `height` are never read [INFO] [stdout] --> src/encoder/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FrameEncoder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | config: QualityConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode_frame` and `reconfigure` are never used [INFO] [stdout] --> src/encoder/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl FrameEncoder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn encode_frame(&self, frame: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn reconfigure(&mut self, config: QualityConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_frame` is never used [INFO] [stdout] --> src/encoder/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn compress_frame(frame: &[u8], _quality: f32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_frame` is never used [INFO] [stdout] --> src/encoder/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn decompress_frame(compressed: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PORT` is never used [INFO] [stdout] --> src/network/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_PORT: u16 = 5800; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkManager` is never constructed [INFO] [stdout] --> src/network/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct NetworkManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client`, `new_server`, `connect`, and `accept` are never used [INFO] [stdout] --> src/network/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl NetworkManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 25 | pub async fn new_client(config: NetworkConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn new_server(config: NetworkConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn connect(&self, addr: SocketAddr) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn accept(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/network/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send_frame`, `receive_frame`, and `start_frame_processing` are never used [INFO] [stdout] --> src/network/mod.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 76 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 77 | async fn new(quinn_conn: quinn::Connection) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn send_frame(&mut self, frame: &Frame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn receive_frame(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn start_frame_processing(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkConfig` is never constructed [INFO] [stdout] --> src/network/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NetworkConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkipServerVerification` is never constructed [INFO] [stdout] --> src/network/config.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct SkipServerVerification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `client_crypto_config` and `server_crypto_config` are never used [INFO] [stdout] --> src/network/config.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl NetworkConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 48 | pub fn client_crypto_config(&self) -> rustls::ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn server_crypto_config(&self) -> rustls::ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QUICTransport` is never constructed [INFO] [stdout] --> src/network/transport.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct QUICTransport { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `connect`, `send_frame`, and `receive_frame` are never used [INFO] [stdout] --> src/network/transport.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl QUICTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(endpoint: Endpoint, config: NetworkConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn connect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn send_frame(&mut self, frame: &Frame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn receive_frame(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_RETRIES` is never used [INFO] [stdout] --> src/network/resilience.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_RETRIES: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BASE_BACKOFF: Duration = Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_BACKOFF: Duration = Duration::from_secs(5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResilienceConfig` is never constructed [INFO] [stdout] --> src/network/resilience.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ResilienceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkResilience` is never constructed [INFO] [stdout] --> src/network/resilience.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NetworkResilience { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_retry`, `monitor_connection`, `record_success`, `is_healthy`, and `get_stats` are never used [INFO] [stdout] --> src/network/resilience.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl NetworkResilience { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(config: ResilienceConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn with_retry(&self, operation: F) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn monitor_connection(&self, health_check: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn record_success(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn is_healthy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn get_stats(&self) -> ConnectionStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionStats` is never constructed [INFO] [stdout] --> src/network/resilience.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct ConnectionStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Resilient` is never used [INFO] [stdout] --> src/network/resilience.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait Resilient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used [INFO] [stdout] --> src/network/protocol.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PROTOCOL_VERSION: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_FRAME_SIZE` is never used [INFO] [stdout] --> src/network/protocol.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_FRAME_SIZE: usize = 1024 * 1024 * 4; // 4MB [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MESSAGE_SIZE` is never used [INFO] [stdout] --> src/network/protocol.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const MAX_MESSAGE_SIZE: usize = 1024 * 64; // 64KB [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/network/protocol.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `serialize` and `deserialize` are never used [INFO] [stdout] --> src/network/protocol.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Message { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 32 | // Serialize message to bytes [INFO] [stdout] 33 | pub fn serialize(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn deserialize(mut bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameProtocol` is never constructed [INFO] [stdout] --> src/network/protocol.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FrameProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `encode_frame` and `decode_frame` are never used [INFO] [stdout] --> src/network/protocol.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl FrameProtocol { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 80 | // Encode a frame for transmission [INFO] [stdout] 81 | pub fn encode_frame(frame: &crate::pcc::Frame) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn decode_frame(messages: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `encode` and `decode` are never used [INFO] [stdout] --> src/pcc/types.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn encode(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn decode(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PixelChange` is never constructed [INFO] [stdout] --> src/pcc/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PixelChange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameUpdate` is never constructed [INFO] [stdout] --> src/pcc/types.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FrameUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PixelChangeDetector` is never used [INFO] [stdout] --> src/pcc/types.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait PixelChangeDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FrameCapture` is never used [INFO] [stdout] --> src/pcc/types.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait FrameCapture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `threshold`, and `block_size` are never read [INFO] [stdout] --> src/pcc/detector.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PCCDetector { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | config: QualityConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | threshold: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | block_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `compare_blocks`, and `find_change_bounds` are never used [INFO] [stdout] --> src/pcc/detector.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PCCDetector { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | /// Create a new PCCDetector with custom configuration [INFO] [stdout] 22 | pub fn new(config: QualityConfig, threshold: u8, block_size: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn compare_blocks(&self, prev: &[u8], curr: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn find_change_bounds(&self, prev: &[u8], curr: &[u8], width: u32, height: u32) -> Option<(u32, u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `fps`, and `frame_interval` are never read [INFO] [stdout] --> src/server/renderer/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub buffer: Arc, [INFO] [stdout] 11 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | frame_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start` and `shutdown` are never used [INFO] [stdout] --> src/server/renderer/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn start(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/server/renderer/buffer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FrameBuffer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_updates`, `current_frame`, and `clear` are never used [INFO] [stdout] --> src/server/renderer/buffer.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl FrameBuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn apply_updates(&self, updates: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn current_frame(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerNetwork` is never constructed [INFO] [stdout] --> src/server/network/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ServerNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `handle_connection` are never used [INFO] [stdout] --> src/server/network/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ServerNetwork { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(config: NetworkConfig, resilience: ResilienceConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn start(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | async fn handle_connection(connection: quinn::Connection, frame_tx: mpsc::Sender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detector` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let detector = pcc::PCCDetector::default(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoder` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let encoder = encoder::FrameEncoder::new( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `frame_counter` are never read [INFO] [stdout] --> src/capture/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenCapture { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | config: QualityConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | screen: Screen, [INFO] [stdout] 11 | frame_counter: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `width`, and `height` are never read [INFO] [stdout] --> src/encoder/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FrameEncoder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | config: QualityConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode_frame` and `reconfigure` are never used [INFO] [stdout] --> src/encoder/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl FrameEncoder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn encode_frame(&self, frame: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn reconfigure(&mut self, config: QualityConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_frame` is never used [INFO] [stdout] --> src/encoder/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn compress_frame(frame: &[u8], _quality: f32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_frame` is never used [INFO] [stdout] --> src/encoder/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn decompress_frame(compressed: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PORT` is never used [INFO] [stdout] --> src/network/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_PORT: u16 = 5800; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkManager` is never constructed [INFO] [stdout] --> src/network/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct NetworkManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client`, `new_server`, `connect`, and `accept` are never used [INFO] [stdout] --> src/network/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl NetworkManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 25 | pub async fn new_client(config: NetworkConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn new_server(config: NetworkConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn connect(&self, addr: SocketAddr) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn accept(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/network/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send_frame`, `receive_frame`, and `start_frame_processing` are never used [INFO] [stdout] --> src/network/mod.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 76 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 77 | async fn new(quinn_conn: quinn::Connection) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn send_frame(&mut self, frame: &Frame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn receive_frame(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn start_frame_processing(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkConfig` is never constructed [INFO] [stdout] --> src/network/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NetworkConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SkipServerVerification` is never constructed [INFO] [stdout] --> src/network/config.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct SkipServerVerification; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `client_crypto_config` and `server_crypto_config` are never used [INFO] [stdout] --> src/network/config.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl NetworkConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 48 | pub fn client_crypto_config(&self) -> rustls::ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn server_crypto_config(&self) -> rustls::ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QUICTransport` is never constructed [INFO] [stdout] --> src/network/transport.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct QUICTransport { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `connect`, `send_frame`, and `receive_frame` are never used [INFO] [stdout] --> src/network/transport.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl QUICTransport { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(endpoint: Endpoint, config: NetworkConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn connect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn send_frame(&mut self, frame: &Frame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn receive_frame(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_RETRIES` is never used [INFO] [stdout] --> src/network/resilience.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_RETRIES: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BASE_BACKOFF: Duration = Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BACKOFF` is never used [INFO] [stdout] --> src/network/resilience.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_BACKOFF: Duration = Duration::from_secs(5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResilienceConfig` is never constructed [INFO] [stdout] --> src/network/resilience.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ResilienceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkResilience` is never constructed [INFO] [stdout] --> src/network/resilience.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NetworkResilience { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_retry`, `monitor_connection`, `record_success`, `is_healthy`, and `get_stats` are never used [INFO] [stdout] --> src/network/resilience.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl NetworkResilience { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(config: ResilienceConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn with_retry(&self, operation: F) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn monitor_connection(&self, health_check: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn record_success(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn is_healthy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn get_stats(&self) -> ConnectionStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionStats` is never constructed [INFO] [stdout] --> src/network/resilience.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct ConnectionStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Resilient` is never used [INFO] [stdout] --> src/network/resilience.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait Resilient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used [INFO] [stdout] --> src/network/protocol.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PROTOCOL_VERSION: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_FRAME_SIZE` is never used [INFO] [stdout] --> src/network/protocol.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_FRAME_SIZE: usize = 1024 * 1024 * 4; // 4MB [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MESSAGE_SIZE` is never used [INFO] [stdout] --> src/network/protocol.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const MAX_MESSAGE_SIZE: usize = 1024 * 64; // 64KB [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/network/protocol.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `serialize` and `deserialize` are never used [INFO] [stdout] --> src/network/protocol.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Message { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 32 | // Serialize message to bytes [INFO] [stdout] 33 | pub fn serialize(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn deserialize(mut bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameProtocol` is never constructed [INFO] [stdout] --> src/network/protocol.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FrameProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `encode_frame` and `decode_frame` are never used [INFO] [stdout] --> src/network/protocol.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl FrameProtocol { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 80 | // Encode a frame for transmission [INFO] [stdout] 81 | pub fn encode_frame(frame: &crate::pcc::Frame) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn decode_frame(messages: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> src/pcc/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `encode` and `decode` are never used [INFO] [stdout] --> src/pcc/types.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn encode(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn decode(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PixelChange` is never constructed [INFO] [stdout] --> src/pcc/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PixelChange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameUpdate` is never constructed [INFO] [stdout] --> src/pcc/types.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FrameUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PixelChangeDetector` is never used [INFO] [stdout] --> src/pcc/types.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait PixelChangeDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FrameCapture` is never used [INFO] [stdout] --> src/pcc/types.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait FrameCapture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `threshold`, and `block_size` are never read [INFO] [stdout] --> src/pcc/detector.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PCCDetector { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | config: QualityConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | threshold: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | block_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `compare_blocks`, and `find_change_bounds` are never used [INFO] [stdout] --> src/pcc/detector.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PCCDetector { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | /// Create a new PCCDetector with custom configuration [INFO] [stdout] 22 | pub fn new(config: QualityConfig, threshold: u8, block_size: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn compare_blocks(&self, prev: &[u8], curr: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn find_change_bounds(&self, prev: &[u8], curr: &[u8], width: u32, height: u32) -> Option<(u32, u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/server/renderer/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `render_frame`, `get_current_frame`, and `shutdown` are never used [INFO] [stdout] --> src/server/renderer/mod.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl Renderer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 20 | pub async fn new(width: u32, height: u32, fps: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn start(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn render_frame(&self, frame: &buffer::BufferedFrame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn get_current_frame(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BUFFER_SIZE` is never used [INFO] [stdout] --> src/server/renderer/buffer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_BUFFER_SIZE: usize = 3; // Maximum number of frames to keep in buffer [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_TIMEOUT` is never used [INFO] [stdout] --> src/server/renderer/buffer.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const FRAME_TIMEOUT: Duration = Duration::from_secs(5); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameBuffer` is never constructed [INFO] [stdout] --> src/server/renderer/buffer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FrameBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferedFrame` is never constructed [INFO] [stdout] --> src/server/renderer/buffer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BufferedFrame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_frame`, `apply_updates`, `next_frame`, `current_frame`, and `clear` are never used [INFO] [stdout] --> src/server/renderer/buffer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl FrameBuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn push_frame(&self, frame: crate::pcc::Frame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn apply_updates(&self, updates: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn next_frame(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn current_frame(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerNetwork` is never constructed [INFO] [stdout] --> src/server/network/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ServerNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `handle_connection` are never used [INFO] [stdout] --> src/server/network/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ServerNetwork { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(config: NetworkConfig, resilience: ResilienceConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn start(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | async fn handle_connection(connection: quinn::Connection, frame_tx: mpsc::Sender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.10 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c375885ab0a610174195daf561241fc4d64214a333e2a46ff0451797eb77f1aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c375885ab0a610174195daf561241fc4d64214a333e2a46ff0451797eb77f1aa", kill_on_drop: false }` [INFO] [stdout] c375885ab0a610174195daf561241fc4d64214a333e2a46ff0451797eb77f1aa