[INFO] cloning repository https://github.com/MrGunflame/streamsync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrGunflame/streamsync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fstreamsync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fstreamsync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47daa22de02917f5e16628055f7bb7748a6dd3c0 [INFO] testing MrGunflame/streamsync against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fstreamsync" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrGunflame/streamsync on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrGunflame/streamsync [INFO] finished tweaking git repo https://github.com/MrGunflame/streamsync [INFO] tweaked toml for git repo https://github.com/MrGunflame/streamsync written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MrGunflame/streamsync 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/stsync-proxy/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ragequit v0.1.1 [INFO] [stderr] Downloaded snowflaked v0.1.8 [INFO] [stderr] Downloaded regex v1.8.0 [INFO] [stderr] Downloaded regex-syntax v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea53612ebea1c8c41fe9542bfcea50ef6b3ecbd076b0de2f2c7b2de825161b9b [INFO] running `Command { std: "docker" "start" "-a" "ea53612ebea1c8c41fe9542bfcea50ef6b3ecbd076b0de2f2c7b2de825161b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea53612ebea1c8c41fe9542bfcea50ef6b3ecbd076b0de2f2c7b2de825161b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea53612ebea1c8c41fe9542bfcea50ef6b3ecbd076b0de2f2c7b2de825161b9b", kill_on_drop: false }` [INFO] [stdout] ea53612ebea1c8c41fe9542bfcea50ef6b3ecbd076b0de2f2c7b2de825161b9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32402eb320d0498ce6c2225ae3105a065350b37d30e93324db1378768cb87f41 [INFO] running `Command { std: "docker" "start" "-a" "32402eb320d0498ce6c2225ae3105a065350b37d30e93324db1378768cb87f41", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/stsync-proxy/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.51 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling linux-raw-sys v0.3.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.86 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.7.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling snowflaked v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling regex v1.8.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.0 [INFO] [stderr] Compiling clap_builder v4.2.4 [INFO] [stderr] Compiling tokio-macros v2.0.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling streamsync-macros v0.1.0 (/opt/rustwide/workdir/streamsync-macros) [INFO] [stderr] Compiling clap v4.2.4 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling ragequit v0.1.1 [INFO] [stderr] Compiling h2 v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.16 [INFO] [stderr] Compiling stsync-proxy v0.2.1 (/opt/rustwide/workdir/stsync-proxy) [INFO] [stderr] Compiling streamsync-api v0.1.0 (/opt/rustwide/workdir/streamsync-api) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | async fn delete(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:348:37 [INFO] [stdout] | [INFO] [stdout] 348 | Poll::Ready(Err(err)) => Poll::Ready(Ok(())), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1083:18 [INFO] [stdout] | [INFO] [stdout] 1083 | fn decode(mut bytes: &mut B) -> Result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1217:25 [INFO] [stdout] | [INFO] [stdout] 1217 | fn encode(&self, writer: W) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1228:18 [INFO] [stdout] | [INFO] [stdout] 1228 | fn decode(bytes: &mut B) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct LiveStream [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct LiveSink [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveSink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resource_id` is never used [INFO] [stdout] --> stsync-proxy/src/session.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 170 | / impl LiveSink [INFO] [stdout] 171 | | where [INFO] [stdout] 172 | | S: Sink, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn resource_id(&self) -> ResourceId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 33 | resource_id: Generator, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl SessionRegistry { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get(&self, resource_id: ResourceId, session_id: SessionId) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> stsync-proxy/src/session/file.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FileSessionManager { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `packet_position_flag`, `order_flag`, `encryption_flag`, and `retransmission_flag` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl DataPacket { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn packet_position_flag(&self) -> PacketPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn order_flag(&self) -> OrderFlag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn encryption_flag(&self) -> EncryptionFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn retransmission_flag(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderFlag` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | pub enum OrderFlag { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncryptionFlag` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | pub enum EncryptionFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlPacket` is never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct ControlPacket { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `control_type`, `set_control_type`, and `subtype` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl ControlPacket { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 295 | pub fn control_type(&self) -> ControlPacketType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn set_control_type(&mut self, type_: ControlPacketType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn subtype(&self) -> ControlSubType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ControlSubType` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | pub enum ControlSubType {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_u32`, `is_done`, `is_agreement`, `is_wavehand`, and `is_rejection` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl HandshakeType { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn to_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | pub fn is_done(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn is_agreement(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn is_wavehand(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn is_rejection(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `packet_sequence_number`, `packet_position`, `is_ordered`, `kk`, `set_kk`, and `is_retransmitted` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:692:12 [INFO] [stdout] | [INFO] [stdout] 691 | impl<'a> DataHeader<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 692 | pub fn packet_sequence_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | pub fn packet_position(&self) -> PacketPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | pub fn is_ordered(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn kk(&self) -> ! { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn set_kk(&mut self) -> ! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn is_retransmitted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `First`, `Middle`, and `Last` are never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 756 | pub enum PacketPosition { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 757 | /// The packet is the first packet of the data stream. [INFO] [stdout] 758 | First, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 759 | /// The packet is in the middle of the data stream. [INFO] [stdout] 760 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 761 | /// The packet is the last packet of the data stream. [INFO] [stdout] 762 | Last, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketPosition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `acknowledgement_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:799:12 [INFO] [stdout] | [INFO] [stdout] 796 | impl AckPacket { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 799 | pub fn acknowledgement_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hsreq` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:830:12 [INFO] [stdout] | [INFO] [stdout] 829 | impl Extensions { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 830 | pub fn hsreq(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:922:26 [INFO] [stdout] | [INFO] [stdout] 922 | pub struct PeerIpAddress([u8; 8]); [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PeerIpAddress` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 922 | pub struct PeerIpAddress(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1108:15 [INFO] [stdout] | [INFO] [stdout] 1105 | impl HandshakeExtensionFlags { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1108 | pub const TSBPDSND: Self = Self(1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1112 | pub const TSBPDRCV: Self = Self(1 << 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1120 | pub const TLPKTDROP: Self = Self(1 << 3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1124 | pub const PERIODICNAK: Self = Self(1 << 4); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1138 | pub const PACKET_FILTER: Self = Self(1 << 7); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1139 | [INFO] [stdout] 1140 | pub const fn to_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1145 | pub const fn from_u32(n: u32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user`, `host`, and `type_` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1344:12 [INFO] [stdout] | [INFO] [stdout] 1343 | impl StandardStreamId { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 1344 | pub fn user(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1352 | pub fn host(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1360 | pub fn type_(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_magic` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1409:12 [INFO] [stdout] | [INFO] [stdout] 1397 | impl ExtensionField { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1409 | pub fn is_magic(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KeyMaterial` and `Group` are never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1462:5 [INFO] [stdout] | [INFO] [stdout] 1460 | pub enum ExtensionContent { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 1461 | Handshake(HandshakeExtensionMessage), [INFO] [stdout] 1462 | KeyMaterial(KeyMaterialExtension), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1465 | Group(()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtensionContent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1469:12 [INFO] [stdout] | [INFO] [stdout] 1468 | impl ExtensionContent { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 1469 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> stsync-proxy/src/srt/buffer.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Buffer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_prio` and `handle_dropreq` are never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 99 | / impl Connection [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | S: SessionManager, [INFO] [stdout] | |______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | fn send_prio(&mut self, packet: T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | fn handle_dropreq(&mut self, _packet: DropRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first_unchecked` and `last_unchecked` are never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1154:19 [INFO] [stdout] | [INFO] [stdout] 1102 | impl LossList { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1154 | pub unsafe fn first_unchecked(&mut self) -> Sequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1167 | pub unsafe fn last_unchecked(&mut self) -> Sequence { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_request` is never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1246:12 [INFO] [stdout] | [INFO] [stdout] 1238 | / impl ConnectionMode [INFO] [stdout] 1239 | | where [INFO] [stdout] 1240 | | S: SessionManager, [INFO] [stdout] | |______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1246 | pub fn is_request(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1362:12 [INFO] [stdout] | [INFO] [stdout] 1344 | impl TransmissionQueue { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1362 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl LightAck { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 208 | pub fn builder() -> LightAckBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lost_packet_sequence_number` and `set_lost_packet_sequence_number` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl Nak { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn lost_packet_sequence_number(&self) -> &SequenceNumbers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn set_lost_packet_sequence_number(&mut self, n: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 311 | impl DropRequest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn message_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LightAckBuilder(LightAck); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LightAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LightAckBuilder(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, and `build` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl LightAckBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn build(self) -> LightAck { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SmallAckBuilder(SmallAck); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SmallAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SmallAckBuilder(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, `rtt`, `rtt_variance`, and `build` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl SmallAckBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub const fn rtt(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub const fn rtt_variance(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub const fn build(self) -> SmallAck { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lost_packet_sequence_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl NakBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn lost_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `packet_position` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 249 | impl DataPacketBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn packet_position(mut self, val: PacketPosition) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> stsync-proxy/src/srt/state.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl ConnectionPool { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling streamsync-play v0.1.0 (/opt/rustwide/workdir/streamsync-play) [INFO] [stderr] Compiling streamsync-bench v0.1.0 (/opt/rustwide/workdir/streamsync-bench) [INFO] [stderr] Compiling streamsync-transmit v0.1.0 (/opt/rustwide/workdir/streamsync-transmit) [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> streamsync-transmit/src/stream.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> streamsync-bench/src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let cmd = Command::new("ffmpeg") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> streamsync-bench/src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let cmd = Command::new("ffplay").arg(addr).spawn().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.63s [INFO] running `Command { std: "docker" "inspect" "32402eb320d0498ce6c2225ae3105a065350b37d30e93324db1378768cb87f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32402eb320d0498ce6c2225ae3105a065350b37d30e93324db1378768cb87f41", kill_on_drop: false }` [INFO] [stdout] 32402eb320d0498ce6c2225ae3105a065350b37d30e93324db1378768cb87f41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad429108b8804cf3dc9e572215426e1638e413f119f1bc40be78a9141fe2b325 [INFO] running `Command { std: "docker" "start" "-a" "ad429108b8804cf3dc9e572215426e1638e413f119f1bc40be78a9141fe2b325", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/stsync-proxy/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling streamsync-macros v0.1.0 (/opt/rustwide/workdir/streamsync-macros) [INFO] [stderr] Compiling streamsync-api v0.1.0 (/opt/rustwide/workdir/streamsync-api) [INFO] [stderr] Compiling streamsync-transmit v0.1.0 (/opt/rustwide/workdir/streamsync-transmit) [INFO] [stderr] Compiling streamsync-bench v0.1.0 (/opt/rustwide/workdir/streamsync-bench) [INFO] [stderr] Compiling streamsync-play v0.1.0 (/opt/rustwide/workdir/streamsync-play) [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> streamsync-transmit/src/stream.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> streamsync-bench/src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let cmd = Command::new("ffmpeg") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> streamsync-bench/src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let cmd = Command::new("ffplay").arg(addr).spawn().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stsync-proxy v0.2.1 (/opt/rustwide/workdir/stsync-proxy) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | async fn delete(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:348:37 [INFO] [stdout] | [INFO] [stdout] 348 | Poll::Ready(Err(err)) => Poll::Ready(Ok(())), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1083:18 [INFO] [stdout] | [INFO] [stdout] 1083 | fn decode(mut bytes: &mut B) -> Result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1217:25 [INFO] [stdout] | [INFO] [stdout] 1217 | fn encode(&self, writer: W) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1228:18 [INFO] [stdout] | [INFO] [stdout] 1228 | fn decode(bytes: &mut B) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct LiveStream [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct LiveSink [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveSink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resource_id` is never used [INFO] [stdout] --> stsync-proxy/src/session.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 170 | / impl LiveSink [INFO] [stdout] 171 | | where [INFO] [stdout] 172 | | S: Sink, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn resource_id(&self) -> ResourceId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 33 | resource_id: Generator, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl SessionRegistry { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get(&self, resource_id: ResourceId, session_id: SessionId) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> stsync-proxy/src/session/file.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FileSessionManager { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `packet_position_flag`, `order_flag`, `encryption_flag`, and `retransmission_flag` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl DataPacket { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn packet_position_flag(&self) -> PacketPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn order_flag(&self) -> OrderFlag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn encryption_flag(&self) -> EncryptionFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn retransmission_flag(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderFlag` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | pub enum OrderFlag { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncryptionFlag` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | pub enum EncryptionFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlPacket` is never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct ControlPacket { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `control_type`, `set_control_type`, and `subtype` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl ControlPacket { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 295 | pub fn control_type(&self) -> ControlPacketType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn set_control_type(&mut self, type_: ControlPacketType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn subtype(&self) -> ControlSubType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ControlSubType` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | pub enum ControlSubType {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_u32`, `is_done`, `is_agreement`, `is_wavehand`, and `is_rejection` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl HandshakeType { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn to_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | pub fn is_done(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn is_agreement(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn is_wavehand(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn is_rejection(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `packet_sequence_number`, `packet_position`, `is_ordered`, `kk`, `set_kk`, and `is_retransmitted` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:692:12 [INFO] [stdout] | [INFO] [stdout] 691 | impl<'a> DataHeader<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 692 | pub fn packet_sequence_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | pub fn packet_position(&self) -> PacketPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | pub fn is_ordered(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn kk(&self) -> ! { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn set_kk(&mut self) -> ! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn is_retransmitted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `First`, `Middle`, and `Last` are never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 756 | pub enum PacketPosition { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 757 | /// The packet is the first packet of the data stream. [INFO] [stdout] 758 | First, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 759 | /// The packet is in the middle of the data stream. [INFO] [stdout] 760 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 761 | /// The packet is the last packet of the data stream. [INFO] [stdout] 762 | Last, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketPosition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `acknowledgement_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:799:12 [INFO] [stdout] | [INFO] [stdout] 796 | impl AckPacket { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 799 | pub fn acknowledgement_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hsreq` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:830:12 [INFO] [stdout] | [INFO] [stdout] 829 | impl Extensions { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 830 | pub fn hsreq(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:922:26 [INFO] [stdout] | [INFO] [stdout] 922 | pub struct PeerIpAddress([u8; 8]); [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PeerIpAddress` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 922 | pub struct PeerIpAddress(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1108:15 [INFO] [stdout] | [INFO] [stdout] 1105 | impl HandshakeExtensionFlags { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1108 | pub const TSBPDSND: Self = Self(1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1112 | pub const TSBPDRCV: Self = Self(1 << 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1120 | pub const TLPKTDROP: Self = Self(1 << 3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1124 | pub const PERIODICNAK: Self = Self(1 << 4); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1138 | pub const PACKET_FILTER: Self = Self(1 << 7); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1139 | [INFO] [stdout] 1140 | pub const fn to_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1145 | pub const fn from_u32(n: u32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user`, `host`, and `type_` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1344:12 [INFO] [stdout] | [INFO] [stdout] 1343 | impl StandardStreamId { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 1344 | pub fn user(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1352 | pub fn host(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1360 | pub fn type_(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_magic` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1409:12 [INFO] [stdout] | [INFO] [stdout] 1397 | impl ExtensionField { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1409 | pub fn is_magic(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KeyMaterial` and `Group` are never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1462:5 [INFO] [stdout] | [INFO] [stdout] 1460 | pub enum ExtensionContent { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 1461 | Handshake(HandshakeExtensionMessage), [INFO] [stdout] 1462 | KeyMaterial(KeyMaterialExtension), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1465 | Group(()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtensionContent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1469:12 [INFO] [stdout] | [INFO] [stdout] 1468 | impl ExtensionContent { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 1469 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> stsync-proxy/src/srt/buffer.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Buffer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_prio` and `handle_dropreq` are never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 99 | / impl Connection [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | S: SessionManager, [INFO] [stdout] | |______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | fn send_prio(&mut self, packet: T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | fn handle_dropreq(&mut self, _packet: DropRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first_unchecked` and `last_unchecked` are never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1154:19 [INFO] [stdout] | [INFO] [stdout] 1102 | impl LossList { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1154 | pub unsafe fn first_unchecked(&mut self) -> Sequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1167 | pub unsafe fn last_unchecked(&mut self) -> Sequence { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_request` is never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1246:12 [INFO] [stdout] | [INFO] [stdout] 1238 | / impl ConnectionMode [INFO] [stdout] 1239 | | where [INFO] [stdout] 1240 | | S: SessionManager, [INFO] [stdout] | |______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1246 | pub fn is_request(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1362:12 [INFO] [stdout] | [INFO] [stdout] 1344 | impl TransmissionQueue { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1362 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl LightAck { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 208 | pub fn builder() -> LightAckBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lost_packet_sequence_number` and `set_lost_packet_sequence_number` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl Nak { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn lost_packet_sequence_number(&self) -> &SequenceNumbers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn set_lost_packet_sequence_number(&mut self, n: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 311 | impl DropRequest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn message_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LightAckBuilder(LightAck); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LightAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LightAckBuilder(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, and `build` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl LightAckBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn build(self) -> LightAck { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SmallAckBuilder(SmallAck); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SmallAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SmallAckBuilder(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, `rtt`, `rtt_variance`, and `build` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl SmallAckBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub const fn rtt(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub const fn rtt_variance(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub const fn build(self) -> SmallAck { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lost_packet_sequence_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl NakBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn lost_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `packet_position` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 249 | impl DataPacketBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn packet_position(mut self, val: PacketPosition) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> stsync-proxy/src/srt/state.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl ConnectionPool { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "ad429108b8804cf3dc9e572215426e1638e413f119f1bc40be78a9141fe2b325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad429108b8804cf3dc9e572215426e1638e413f119f1bc40be78a9141fe2b325", kill_on_drop: false }` [INFO] [stdout] ad429108b8804cf3dc9e572215426e1638e413f119f1bc40be78a9141fe2b325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb9352a20a1b4cc44bfce1de9a34ca870d4646c6deb8791d4b539d6802289afe [INFO] running `Command { std: "docker" "start" "-a" "bb9352a20a1b4cc44bfce1de9a34ca870d4646c6deb8791d4b539d6802289afe", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/stsync-proxy/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused import: `Stdio` [INFO] [stderr] --> streamsync-transmit/src/stream.rs:1:29 [INFO] [stderr] | [INFO] [stderr] 1 | use std::process::{Command, Stdio}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:28 [INFO] [stderr] | [INFO] [stderr] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:44 [INFO] [stderr] | [INFO] [stderr] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> stsync-proxy/src/http/v1/streams/sessions.rs:78:47 [INFO] [stderr] | [INFO] [stderr] 78 | async fn delete(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:15 [INFO] [stderr] | [INFO] [stderr] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:29 [INFO] [stderr] | [INFO] [stderr] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> stsync-proxy/src/session/buffer.rs:131:41 [INFO] [stderr] | [INFO] [stderr] 131 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> stsync-proxy/src/session/buffer.rs:140:41 [INFO] [stderr] | [INFO] [stderr] 140 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> stsync-proxy/src/session/buffer.rs:144:41 [INFO] [stderr] | [INFO] [stderr] 144 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> stsync-proxy/src/session/file.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | session_id: Option, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> stsync-proxy/src/session/file.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | session_id: Option, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> stsync-proxy/src/session/file.rs:89:41 [INFO] [stderr] | [INFO] [stderr] 89 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> stsync-proxy/src/session/file.rs:97:41 [INFO] [stderr] | [INFO] [stderr] 97 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> stsync-proxy/src/session/file.rs:101:41 [INFO] [stderr] | [INFO] [stderr] 101 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> stsync-proxy/src/session/file.rs:115:44 [INFO] [stderr] | [INFO] [stderr] 115 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> stsync-proxy/src/srt/conn.rs:348:37 [INFO] [stderr] | [INFO] [stderr] 348 | Poll::Ready(Err(err)) => Poll::Ready(Ok(())), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1083:18 [INFO] [stderr] | [INFO] [stderr] 1083 | fn decode(mut bytes: &mut B) -> Result [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `writer` [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1217:25 [INFO] [stderr] | [INFO] [stderr] 1217 | fn encode(&self, writer: W) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1228:18 [INFO] [stderr] | [INFO] [stderr] 1228 | fn decode(bytes: &mut B) -> Result [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: field `resource_id` is never read [INFO] [stderr] --> stsync-proxy/src/session.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 118 | pub struct LiveStream [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 122 | resource_id: ResourceId, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LiveStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `resource_id` is never read [INFO] [stderr] --> stsync-proxy/src/session.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 162 | pub struct LiveSink [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 166 | resource_id: ResourceId, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LiveSink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `resource_id` is never used [INFO] [stderr] --> stsync-proxy/src/session.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 170 | / impl LiveSink [INFO] [stderr] 171 | | where [INFO] [stderr] 172 | | S: Sink, [INFO] [stderr] | |___________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 180 | pub fn resource_id(&self) -> ResourceId { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `resource_id` is never read [INFO] [stderr] --> stsync-proxy/src/session/buffer.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Inner { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 33 | resource_id: Generator, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> stsync-proxy/src/session/buffer.rs:188:12 [INFO] [stderr] | [INFO] [stderr] 173 | impl SessionRegistry { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 188 | pub fn get(&self, resource_id: ResourceId, session_id: SessionId) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> stsync-proxy/src/session/file.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl FileSessionManager { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 18 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `packet_position_flag`, `order_flag`, `encryption_flag`, and `retransmission_flag` are never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 181 | impl DataPacket { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 194 | pub fn packet_position_flag(&self) -> PacketPosition { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | pub fn order_flag(&self) -> OrderFlag { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | pub fn encryption_flag(&self) -> EncryptionFlag { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | pub fn retransmission_flag(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `OrderFlag` is never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:279:10 [INFO] [stderr] | [INFO] [stderr] 279 | pub enum OrderFlag { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `EncryptionFlag` is never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:284:10 [INFO] [stderr] | [INFO] [stderr] 284 | pub enum EncryptionFlag { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ControlPacket` is never constructed [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:290:12 [INFO] [stderr] | [INFO] [stderr] 290 | pub struct ControlPacket { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `control_type`, `set_control_type`, and `subtype` are never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:295:12 [INFO] [stderr] | [INFO] [stderr] 294 | impl ControlPacket { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] 295 | pub fn control_type(&self) -> ControlPacketType { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 311 | pub fn set_control_type(&mut self, type_: ControlPacketType) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 315 | pub fn subtype(&self) -> ControlSubType { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ControlSubType` is never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:387:10 [INFO] [stderr] | [INFO] [stderr] 387 | pub enum ControlSubType {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_u32`, `is_done`, `is_agreement`, `is_wavehand`, and `is_rejection` are never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:520:12 [INFO] [stderr] | [INFO] [stderr] 463 | impl HandshakeType { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 520 | pub fn to_u32(self) -> u32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 551 | pub fn is_done(self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 555 | pub fn is_agreement(self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 563 | pub fn is_wavehand(self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 571 | pub fn is_rejection(self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `packet_sequence_number`, `packet_position`, `is_ordered`, `kk`, `set_kk`, and `is_retransmitted` are never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:692:12 [INFO] [stderr] | [INFO] [stderr] 691 | impl<'a> DataHeader<'a> { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 692 | pub fn packet_sequence_number(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 700 | pub fn packet_position(&self) -> PacketPosition { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 721 | pub fn is_ordered(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 729 | pub fn kk(&self) -> ! { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 733 | pub fn set_kk(&mut self) -> ! { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 737 | pub fn is_retransmitted(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `First`, `Middle`, and `Last` are never constructed [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:758:5 [INFO] [stderr] | [INFO] [stderr] 756 | pub enum PacketPosition { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 757 | /// The packet is the first packet of the data stream. [INFO] [stderr] 758 | First, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 759 | /// The packet is in the middle of the data stream. [INFO] [stderr] 760 | Middle, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 761 | /// The packet is the last packet of the data stream. [INFO] [stderr] 762 | Last, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PacketPosition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `acknowledgement_number` is never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:799:12 [INFO] [stderr] | [INFO] [stderr] 796 | impl AckPacket { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 799 | pub fn acknowledgement_number(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `hsreq` is never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:830:12 [INFO] [stderr] | [INFO] [stderr] 829 | impl Extensions { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 830 | pub fn hsreq(&self) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:922:26 [INFO] [stderr] | [INFO] [stderr] 922 | pub struct PeerIpAddress([u8; 8]); [INFO] [stderr] | ------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `PeerIpAddress` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 922 | pub struct PeerIpAddress(()); [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1108:15 [INFO] [stderr] | [INFO] [stderr] 1105 | impl HandshakeExtensionFlags { [INFO] [stderr] | ---------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 1108 | pub const TSBPDSND: Self = Self(1); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1112 | pub const TSBPDRCV: Self = Self(1 << 1); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1120 | pub const TLPKTDROP: Self = Self(1 << 3); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1124 | pub const PERIODICNAK: Self = Self(1 << 4); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1138 | pub const PACKET_FILTER: Self = Self(1 << 7); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 1139 | [INFO] [stderr] 1140 | pub const fn to_u32(self) -> u32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1145 | pub const fn from_u32(n: u32) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `user`, `host`, and `type_` are never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1344:12 [INFO] [stderr] | [INFO] [stderr] 1343 | impl StandardStreamId { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] 1344 | pub fn user(&self) -> Option<&str> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 1352 | pub fn host(&self) -> Option<&str> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 1360 | pub fn type_(&self) -> Option<&str> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_magic` is never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1409:12 [INFO] [stderr] | [INFO] [stderr] 1397 | impl ExtensionField { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 1409 | pub fn is_magic(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `KeyMaterial` and `Group` are never constructed [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1462:5 [INFO] [stderr] | [INFO] [stderr] 1460 | pub enum ExtensionContent { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 1461 | Handshake(HandshakeExtensionMessage), [INFO] [stderr] 1462 | KeyMaterial(KeyMaterialExtension), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1465 | Group(()), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExtensionContent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `len` is never used [INFO] [stderr] --> stsync-proxy/src/srt/mod.rs:1469:12 [INFO] [stderr] | [INFO] [stderr] 1468 | impl ExtensionContent { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 1469 | pub fn len(&self) -> u32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_empty` is never used [INFO] [stderr] --> stsync-proxy/src/srt/buffer.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Buffer { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `send_prio` and `handle_dropreq` are never used [INFO] [stderr] --> stsync-proxy/src/srt/conn.rs:517:8 [INFO] [stderr] | [INFO] [stderr] 99 | / impl Connection [INFO] [stderr] 100 | | where [INFO] [stderr] 101 | | S: SessionManager, [INFO] [stderr] | |______________________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 517 | fn send_prio(&mut self, packet: T) -> Result<()> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 947 | fn handle_dropreq(&mut self, _packet: DropRequest) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `first_unchecked` and `last_unchecked` are never used [INFO] [stderr] --> stsync-proxy/src/srt/conn.rs:1154:19 [INFO] [stderr] | [INFO] [stderr] 1102 | impl LossList { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 1154 | pub unsafe fn first_unchecked(&mut self) -> Sequence { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1167 | pub unsafe fn last_unchecked(&mut self) -> Sequence { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_request` is never used [INFO] [stderr] --> stsync-proxy/src/srt/conn.rs:1246:12 [INFO] [stderr] | [INFO] [stderr] 1238 | / impl ConnectionMode [INFO] [stderr] 1239 | | where [INFO] [stderr] 1240 | | S: SessionManager, [INFO] [stderr] | |______________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 1246 | pub fn is_request(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_empty` is never used [INFO] [stderr] --> stsync-proxy/src/srt/conn.rs:1362:12 [INFO] [stderr] | [INFO] [stderr] 1344 | impl TransmissionQueue { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 1362 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `builder` is never used [INFO] [stderr] --> stsync-proxy/src/srt/proto.rs:208:12 [INFO] [stderr] | [INFO] [stderr] 207 | impl LightAck { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 208 | pub fn builder() -> LightAckBuilder { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `lost_packet_sequence_number` and `set_lost_packet_sequence_number` are never used [INFO] [stderr] --> stsync-proxy/src/srt/proto.rs:274:12 [INFO] [stderr] | [INFO] [stderr] 269 | impl Nak { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 274 | pub fn lost_packet_sequence_number(&self) -> &SequenceNumbers { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 278 | pub fn set_lost_packet_sequence_number(&mut self, n: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `message_number` is never used [INFO] [stderr] --> stsync-proxy/src/srt/proto.rs:316:12 [INFO] [stderr] | [INFO] [stderr] 311 | impl DropRequest { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 316 | pub fn message_number(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> stsync-proxy/src/srt/proto/builder.rs:86:28 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct LightAckBuilder(LightAck); [INFO] [stderr] | --------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `LightAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 86 | pub struct LightAckBuilder(()); [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, and `build` are never used [INFO] [stderr] --> stsync-proxy/src/srt/proto/builder.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 88 | impl LightAckBuilder { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 91 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub const fn build(self) -> LightAck { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> stsync-proxy/src/srt/proto/builder.rs:109:28 [INFO] [stderr] | [INFO] [stderr] 109 | pub struct SmallAckBuilder(SmallAck); [INFO] [stderr] | --------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `SmallAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 109 | pub struct SmallAckBuilder(()); [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, `rtt`, `rtt_variance`, and `build` are never used [INFO] [stderr] --> stsync-proxy/src/srt/proto/builder.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 111 | impl SmallAckBuilder { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 114 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub const fn rtt(mut self, n: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 128 | pub const fn rtt_variance(mut self, n: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | pub const fn build(self) -> SmallAck { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `lost_packet_sequence_number` is never used [INFO] [stderr] --> stsync-proxy/src/srt/proto/builder.rs:174:12 [INFO] [stderr] | [INFO] [stderr] 167 | impl NakBuilder { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 174 | pub fn lost_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `packet_position` is never used [INFO] [stderr] --> stsync-proxy/src/srt/proto/builder.rs:292:12 [INFO] [stderr] | [INFO] [stderr] 249 | impl DataPacketBuilder { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 292 | pub fn packet_position(mut self, val: PacketPosition) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `len` is never used [INFO] [stderr] --> stsync-proxy/src/srt/state.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 96 | impl ConnectionPool { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> streamsync-bench/src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let cmd = Command::new("ffmpeg") [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> streamsync-bench/src/main.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | let cmd = Command::new("ffplay").arg(addr).spawn().unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: `streamsync-transmit` (bin "streamsync-transmit" test) generated 1 warning (run `cargo fix --bin "streamsync-transmit" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `stsync-proxy` (bin "stsync-proxy" test) generated 57 warnings (run `cargo fix --bin "stsync-proxy" --tests` to apply 19 suggestions) [INFO] [stderr] warning: `streamsync-bench` (bin "streamsync-bench" test) generated 2 warnings (run `cargo fix --bin "streamsync-bench" --tests` to apply 2 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/streamsync_api-f4c86e293fde8a8e) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/streamsync_bench-6c9e3128f9216cb4) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/streamsync_macros-53b046a50e1c5bbb) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/streamsync_play-b6fe1e920a872a89) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/streamsync_transmit-7e30e233ec18f92b) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stsync_proxy-e6351e53de6c6d06) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test proto::tests::test_bits_be ... ok [INFO] [stdout] test srt::queue::tests::test_queue ... ok [INFO] [stdout] test srt::buffer::tests::test_buffer_new ... ok [INFO] [stdout] test utils::serial::tests::test_add ... ok [INFO] [stdout] test utils::serial::tests::test_cmp ... ok [INFO] [stdout] test srt::proto::tests::test_sequence_numbers ... ok [INFO] [stdout] test srt::tests::test_streamid_extension ... ok [INFO] [stdout] test utils::serial::tests::test_sub ... ok [INFO] [stdout] test srt::proto::tests::test_sequence_numbers_iter ... ok [INFO] [stdout] test srt::buffer::tests::test_buffer_get ... ok [INFO] [stdout] test srt::conn::tests::test_rtt ... ok [INFO] [stdout] test srt::proto::tests::test_peer_ip_address ... ok [INFO] [stdout] test srt::conn::tests::test_loss_list ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests streamsync-api [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] [stderr] Doc-tests streamsync-macros [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" "bb9352a20a1b4cc44bfce1de9a34ca870d4646c6deb8791d4b539d6802289afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9352a20a1b4cc44bfce1de9a34ca870d4646c6deb8791d4b539d6802289afe", kill_on_drop: false }` [INFO] [stdout] bb9352a20a1b4cc44bfce1de9a34ca870d4646c6deb8791d4b539d6802289afe [INFO] testing MrGunflame/streamsync against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrGunflame%2Fstreamsync" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrGunflame/streamsync on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrGunflame/streamsync [INFO] finished tweaking git repo https://github.com/MrGunflame/streamsync [INFO] tweaked toml for git repo https://github.com/MrGunflame/streamsync written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MrGunflame/streamsync 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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc2/source/stsync-proxy/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59ba2b64332ff4c1dbd1ea314e6aaa646d43f5c09ef280f1180104503bf6cb6c [INFO] running `Command { std: "docker" "start" "-a" "59ba2b64332ff4c1dbd1ea314e6aaa646d43f5c09ef280f1180104503bf6cb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59ba2b64332ff4c1dbd1ea314e6aaa646d43f5c09ef280f1180104503bf6cb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ba2b64332ff4c1dbd1ea314e6aaa646d43f5c09ef280f1180104503bf6cb6c", kill_on_drop: false }` [INFO] [stdout] 59ba2b64332ff4c1dbd1ea314e6aaa646d43f5c09ef280f1180104503bf6cb6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00f189d3ed9c404dfb8668fb64433c19e19837c94a2155e15c4527a157b16dc7 [INFO] running `Command { std: "docker" "start" "-a" "00f189d3ed9c404dfb8668fb64433c19e19837c94a2155e15c4527a157b16dc7", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/stsync-proxy/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling openssl v0.10.51 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.86 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.7.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling snowflaked v0.1.8 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.0.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling regex v1.8.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.0 [INFO] [stderr] Compiling clap_builder v4.2.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling streamsync-macros v0.1.0 (/opt/rustwide/workdir/streamsync-macros) [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling clap v4.2.4 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling ragequit v0.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling h2 v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.16 [INFO] [stderr] Compiling stsync-proxy v0.2.1 (/opt/rustwide/workdir/stsync-proxy) [INFO] [stderr] Compiling streamsync-api v0.1.0 (/opt/rustwide/workdir/streamsync-api) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | async fn get(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | async fn delete(ctx: Context, id: ResourceId, session_id: SessionId) -> Response { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> stsync-proxy/src/http/v1/streams/sessions.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | async fn list(ctx: Context, id: ResourceId) -> Response { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> stsync-proxy/src/session/file.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:348:37 [INFO] [stdout] | [INFO] [stdout] 348 | Poll::Ready(Err(err)) => Poll::Ready(Ok(())), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1083:18 [INFO] [stdout] | [INFO] [stdout] 1083 | fn decode(mut bytes: &mut B) -> Result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1217:25 [INFO] [stdout] | [INFO] [stdout] 1217 | fn encode(&self, writer: W) -> Result<(), Self::Error> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1228:18 [INFO] [stdout] | [INFO] [stdout] 1228 | fn decode(bytes: &mut B) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Zeroable` is never used [INFO] [stdout] --> stsync-proxy/src/proto.rs:437:18 [INFO] [stdout] | [INFO] [stdout] 437 | pub unsafe trait Zeroable: Sized { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct LiveStream [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct LiveSink [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | resource_id: ResourceId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveSink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resource_id` is never used [INFO] [stdout] --> stsync-proxy/src/session.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 170 | / impl LiveSink [INFO] [stdout] 171 | | where [INFO] [stdout] 172 | | S: Sink, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn resource_id(&self) -> ResourceId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resource_id` is never read [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 33 | resource_id: Generator, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> stsync-proxy/src/session/buffer.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl SessionRegistry { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get(&self, resource_id: ResourceId, session_id: SessionId) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> stsync-proxy/src/session/file.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FileSessionManager { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `packet_position_flag`, `order_flag`, `encryption_flag`, and `retransmission_flag` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl DataPacket { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn packet_position_flag(&self) -> PacketPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn order_flag(&self) -> OrderFlag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn encryption_flag(&self) -> EncryptionFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn retransmission_flag(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderFlag` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | pub enum OrderFlag { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncryptionFlag` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | pub enum EncryptionFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlPacket` is never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct ControlPacket { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `control_type`, `set_control_type`, and `subtype` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl ControlPacket { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 295 | pub fn control_type(&self) -> ControlPacketType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn set_control_type(&mut self, type_: ControlPacketType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn subtype(&self) -> ControlSubType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ControlSubType` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | pub enum ControlSubType {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_u32`, `is_done`, `is_agreement`, `is_wavehand`, and `is_rejection` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl HandshakeType { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn to_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | pub fn is_done(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn is_agreement(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn is_wavehand(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn is_rejection(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `packet_sequence_number`, `packet_position`, `is_ordered`, `kk`, `set_kk`, and `is_retransmitted` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:692:12 [INFO] [stdout] | [INFO] [stdout] 691 | impl<'a> DataHeader<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 692 | pub fn packet_sequence_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | pub fn packet_position(&self) -> PacketPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | pub fn is_ordered(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn kk(&self) -> ! { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn set_kk(&mut self) -> ! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn is_retransmitted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `First`, `Middle`, and `Last` are never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 756 | pub enum PacketPosition { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 757 | /// The packet is the first packet of the data stream. [INFO] [stdout] 758 | First, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 759 | /// The packet is in the middle of the data stream. [INFO] [stdout] 760 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 761 | /// The packet is the last packet of the data stream. [INFO] [stdout] 762 | Last, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketPosition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `acknowledgement_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:799:12 [INFO] [stdout] | [INFO] [stdout] 796 | impl AckPacket { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 799 | pub fn acknowledgement_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hsreq` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:830:12 [INFO] [stdout] | [INFO] [stdout] 829 | impl Extensions { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 830 | pub fn hsreq(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerIpAddress` is never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:922:12 [INFO] [stdout] | [INFO] [stdout] 922 | pub struct PeerIpAddress([u8; 8]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerIpAddress` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1108:15 [INFO] [stdout] | [INFO] [stdout] 1105 | impl HandshakeExtensionFlags { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1108 | pub const TSBPDSND: Self = Self(1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1112 | pub const TSBPDRCV: Self = Self(1 << 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1120 | pub const TLPKTDROP: Self = Self(1 << 3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1124 | pub const PERIODICNAK: Self = Self(1 << 4); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1138 | pub const PACKET_FILTER: Self = Self(1 << 7); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1139 | [INFO] [stdout] 1140 | pub const fn to_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1145 | pub const fn from_u32(n: u32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user`, `host`, and `type_` are never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1344:12 [INFO] [stdout] | [INFO] [stdout] 1343 | impl StandardStreamId { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 1344 | pub fn user(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1352 | pub fn host(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1360 | pub fn type_(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_magic` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1409:12 [INFO] [stdout] | [INFO] [stdout] 1397 | impl ExtensionField { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1409 | pub fn is_magic(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KeyMaterial` and `Group` are never constructed [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1462:5 [INFO] [stdout] | [INFO] [stdout] 1460 | pub enum ExtensionContent { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 1461 | Handshake(HandshakeExtensionMessage), [INFO] [stdout] 1462 | KeyMaterial(KeyMaterialExtension), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1465 | Group(()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtensionContent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> stsync-proxy/src/srt/mod.rs:1469:12 [INFO] [stdout] | [INFO] [stdout] 1468 | impl ExtensionContent { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 1469 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> stsync-proxy/src/srt/buffer.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Buffer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_prio` and `handle_dropreq` are never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 99 | / impl Connection [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | S: SessionManager, [INFO] [stdout] | |______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | fn send_prio(&mut self, packet: T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | fn handle_dropreq(&mut self, _packet: DropRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first_unchecked` and `last_unchecked` are never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1154:19 [INFO] [stdout] | [INFO] [stdout] 1102 | impl LossList { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1154 | pub unsafe fn first_unchecked(&mut self) -> Sequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1167 | pub unsafe fn last_unchecked(&mut self) -> Sequence { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_request` is never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1246:12 [INFO] [stdout] | [INFO] [stdout] 1238 | / impl ConnectionMode [INFO] [stdout] 1239 | | where [INFO] [stdout] 1240 | | S: SessionManager, [INFO] [stdout] | |______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1246 | pub fn is_request(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> stsync-proxy/src/srt/conn.rs:1362:12 [INFO] [stdout] | [INFO] [stdout] 1344 | impl TransmissionQueue { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1362 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl LightAck { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 208 | pub fn builder() -> LightAckBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lost_packet_sequence_number` and `set_lost_packet_sequence_number` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl Nak { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn lost_packet_sequence_number(&self) -> &SequenceNumbers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn set_lost_packet_sequence_number(&mut self, n: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 311 | impl DropRequest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn message_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LightAckBuilder(LightAck); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LightAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LightAckBuilder(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, and `build` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl LightAckBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn build(self) -> LightAck { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SmallAckBuilder(SmallAck); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SmallAckBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 109 | pub struct SmallAckBuilder(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `last_acknowledged_packet_sequence_number`, `rtt`, `rtt_variance`, and `build` are never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl SmallAckBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub const fn last_acknowledged_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub const fn rtt(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub const fn rtt_variance(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub const fn build(self) -> SmallAck { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lost_packet_sequence_number` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl NakBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn lost_packet_sequence_number(mut self, n: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `packet_position` is never used [INFO] [stdout] --> stsync-proxy/src/srt/proto/builder.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 249 | impl DataPacketBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn packet_position(mut self, val: PacketPosition) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> stsync-proxy/src/srt/state.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl ConnectionPool { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling streamsync-transmit v0.1.0 (/opt/rustwide/workdir/streamsync-transmit) [INFO] [stderr] Compiling streamsync-play v0.1.0 (/opt/rustwide/workdir/streamsync-play) [INFO] [stderr] Compiling streamsync-bench v0.1.0 (/opt/rustwide/workdir/streamsync-bench) [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> streamsync-transmit/src/stream.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> streamsync-bench/src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let cmd = Command::new("ffmpeg") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> streamsync-bench/src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let cmd = Command::new("ffplay").arg(addr).spawn().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stsync-proxy` (bin "stsync-proxy"); 58 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-03-24-x86_64-unknown-linux-gnu/bin/rustc --crate-name stsync_proxy --edition=2021 stsync-proxy/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=17977f003c319d97 -C extra-filename=-17977f003c319d97 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ahash=/opt/rustwide/target/debug/deps/libahash-a6f8ff15d6c5d5e7.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-8217216c646d0e94.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-376d97faca1cebcb.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-8c41a1e96a775cc4.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-f6fd0254396c2f50.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-5dd7ca7285786d5e.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-7a8f96e6de19a112.rlib --extern pin_project=/opt/rustwide/target/debug/deps/libpin_project-3977304ed7f4751c.rlib --extern pretty_env_logger=/opt/rustwide/target/debug/deps/libpretty_env_logger-3f43188fa7a5745e.rlib --extern ragequit=/opt/rustwide/target/debug/deps/libragequit-8c22ee3866accafd.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-6ac270706feb1111.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-4a3fef79aa697bd1.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-b67a679366b2bae0.rlib --extern snowflaked=/opt/rustwide/target/debug/deps/libsnowflaked-30e5146868ba2d4a.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-c0966e475237eebd.rlib --extern streamsync_macros=/opt/rustwide/target/debug/deps/libstreamsync_macros-c0e396497754f095.so --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-5f90b060b95b8197.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-cc612d5269c3a989.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-67f2aedfbff77240.rlib --extern toml=/opt/rustwide/target/debug/deps/libtoml-b8070637df68be48.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-72a72346c850ddfe.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "00f189d3ed9c404dfb8668fb64433c19e19837c94a2155e15c4527a157b16dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f189d3ed9c404dfb8668fb64433c19e19837c94a2155e15c4527a157b16dc7", kill_on_drop: false }` [INFO] [stdout] 00f189d3ed9c404dfb8668fb64433c19e19837c94a2155e15c4527a157b16dc7