[INFO] cloning repository https://github.com/ShibbityShwab/lightspeed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShibbityShwab/lightspeed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShibbityShwab%2Flightspeed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShibbityShwab%2Flightspeed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3f1c53630afc8895350d6d96cda2da1465959ee [INFO] checking ShibbityShwab/lightspeed against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShibbityShwab%2Flightspeed" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ShibbityShwab/lightspeed [INFO] finished tweaking git repo https://github.com/ShibbityShwab/lightspeed [INFO] tweaked toml for git repo https://github.com/ShibbityShwab/lightspeed written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ShibbityShwab/lightspeed on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ShibbityShwab/lightspeed 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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66f3373dd3e55bd515d0615bb6785d7f85bc05c60797f0b3a73895089798664d [INFO] running `Command { std: "docker" "start" "-a" "66f3373dd3e55bd515d0615bb6785d7f85bc05c60797f0b3a73895089798664d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66f3373dd3e55bd515d0615bb6785d7f85bc05c60797f0b3a73895089798664d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f3373dd3e55bd515d0615bb6785d7f85bc05c60797f0b3a73895089798664d", kill_on_drop: false }` [INFO] [stdout] 66f3373dd3e55bd515d0615bb6785d7f85bc05c60797f0b3a73895089798664d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe7503d5902337c3f16ac25549b318893daa9c8589f848fa3bfda479294e3556 [INFO] running `Command { std: "docker" "start" "-a" "fe7503d5902337c3f16ac25549b318893daa9c8589f848fa3bfda479294e3556", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking criterion-plot v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking deranged v0.5.7 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Compiling pcap v2.4.0 [INFO] [stderr] Checking lightspeed-protocol v0.4.2 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking toml_edit v0.20.2 [INFO] [stderr] Checking tracing-appender v0.2.5 [INFO] [stderr] Checking toml v0.8.2 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.11.0 [INFO] [stderr] Checking criterion v0.8.2 [INFO] [stderr] Checking lightspeed-proxy v0.4.2 (/opt/rustwide/workdir/proxy) [INFO] [stderr] Checking lightspeed-client v0.4.2 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | black_box(TunnelHeader::decode_with_payload(black_box(pkt)).unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:42:69 [INFO] [stdout] | [INFO] [stdout] 42 | black_box(TunnelHeader::decode_with_payload(black_box(pkt)).unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | black_box(TunnelHeader::decode_with_payload(black_box(pkt)).unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:76:69 [INFO] [stdout] | [INFO] [stdout] 76 | black_box(TunnelHeader::decode_with_payload(black_box(pkt)).unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | let _fec = black_box(FecHeader::decode(&mut fec_slice).unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | |b, p| b.iter(|| black_box(header.encode_with_payload(black_box(p)))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:103:67 [INFO] [stdout] | [INFO] [stdout] 103 | |b, p| b.iter(|| black_box(header.encode_with_payload(black_box(p)))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:146:57 [INFO] [stdout] | [INFO] [stdout] 146 | ... let parity = enc.add_packet(black_box(p)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | ... black_box((buf.freeze(), parity)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:180:59 [INFO] [stdout] | [INFO] [stdout] 180 | TunnelHeader::decode_with_payload(black_box(wire)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> proxy/benches/relay_bench.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | black_box(response_hdr.encode_with_payload(payload)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use criterion::{black_box, criterion_group, criterion_main, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | group.bench_function("encode", |b| b.iter(|| black_box(header.encode()))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | b.iter(|| black_box(header.encode_to_array())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | b.iter(|| black_box(TunnelHeader::decode(black_box(&encoded)).unwrap())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | b.iter(|| black_box(TunnelHeader::decode(black_box(&encoded)).unwrap())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | |b, p| b.iter(|| black_box(header.encode_with_payload(black_box(p)))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:58:67 [INFO] [stdout] | [INFO] [stdout] 58 | |b, p| b.iter(|| black_box(header.encode_with_payload(black_box(p)))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | b.iter(|| black_box(TunnelHeader::decode_with_payload(black_box(pkt)).unwrap())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/header_bench.rs:80:71 [INFO] [stdout] | [INFO] [stdout] 80 | b.iter(|| black_box(TunnelHeader::decode_with_payload(black_box(pkt)).unwrap())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ... black_box(enc.add_packet(black_box(p))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | ... black_box(enc.add_packet(black_box(p))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | ... black_box(enc.add_packet(black_box(p))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | ... black_box(enc.add_packet(black_box(p))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | ... parity = enc.add_packet(black_box(&payload)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | black_box(parity) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | black_box(dec.receive_data(black_box(&fec), data.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | black_box(dec.receive_data(black_box(&fec), data.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | ... black_box(dec.receive_parity( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> protocol/benches/fec_bench.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | ... black_box(&fec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lightspeed-gui v0.4.2 (/opt/rustwide/workdir/client-gui) [INFO] [stdout] warning: function `pick_best_interface` is never used [INFO] [stdout] --> client/src/capture/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn pick_best_interface() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interface_description` is never used [INFO] [stdout] --> client/src/capture/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn interface_description(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `socket` is never used [INFO] [stdout] --> client/src/capture/injector.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl PacketInjector { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn socket(&self) -> Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct WinDivertStats { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 48 | /// Game packets intercepted and forwarded to the proxy (outbound). [INFO] [stdout] 49 | pub packets_intercepted: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Bytes intercepted. [INFO] [stdout] 51 | pub bytes_intercepted: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// Proxy responses received. [INFO] [stdout] 53 | pub packets_from_proxy: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Spoofed packets injected back to the game. [INFO] [stdout] 55 | pub packets_injected: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | /// Bytes injected back to the game. [INFO] [stdout] 57 | pub bytes_injected: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | /// Errors during intercept or inject. [INFO] [stdout] 59 | pub errors: AtomicU64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub detected_server: std::sync::Mutex>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WinDivertStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ipv4_udp` is never used [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_ipv4_udp(raw: &[u8]) -> Option<(SocketAddrV4, SocketAddrV4, &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ipv4_udp` is never used [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn build_ipv4_udp(src: SocketAddrV4, dst: SocketAddrV4, payload: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_addr`, `port_range`, `proxy_addr`, `fec_enabled`, and `fec_k` are never read [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct WinDivertConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | pub server_addr: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub port_range: (u16, u16), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 155 | /// LightSpeed proxy address (we redirect outbound packets here). [INFO] [stdout] 156 | pub proxy_addr: SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 157 | /// FEC enabled? [INFO] [stdout] 158 | pub fec_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 159 | /// FEC block size K. [INFO] [stdout] 160 | pub fec_k: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WinDivertConfig` 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 `save` is never used [INFO] [stdout] --> client/src/config.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn save(&self, path: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LightSpeedError` is never used [INFO] [stdout] --> client/src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum LightSpeedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedPlatform` is never constructed [INFO] [stdout] --> client/src/error.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum CaptureError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | UnsupportedPlatform(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout` and `FailoverExhausted` are never constructed [INFO] [stdout] --> client/src/error.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum RouteError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 83 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | FailoverExhausted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionFailed`, `DiscoveryFailed`, `HealthCheckFailed`, and `Tls` are never constructed [INFO] [stdout] --> client/src/error.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum QuicError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 92 | #[error("Connection to proxy failed: {0}")] [INFO] [stdout] 93 | ConnectionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | DiscoveryFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | HealthCheckFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | Tls(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuicError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FeatureExtraction` is never constructed [INFO] [stdout] --> client/src/error.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum MlError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 115 | FeatureExtraction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uses_sdr` and `packet_size_range` are never used [INFO] [stdout] --> client/src/games/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait GameConfig: Send + Sync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 62 | fn uses_sdr(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn packet_size_range(&self) -> (usize, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `model_type` and `model_bytes` are never used [INFO] [stdout] --> client/src/ml/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl RouteModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn model_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn model_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_probe` and `tracker` are never used [INFO] [stdout] --> client/src/ml/collector.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl RouteCollector { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn record_probe(&mut self, proxy_id: &str, proxy_region: &str, rtt_us: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn tracker(&self, proxy_id: &str) -> Option<&LatencyTracker> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `features`, `proxy_region`, and `observed_latency_ms` are never read [INFO] [stdout] --> client/src/ml/data.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TrainingSample { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | /// Input features describing network conditions. [INFO] [stdout] 18 | pub features: NetworkFeatures, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | /// The proxy region this sample is for. [INFO] [stdout] 20 | pub proxy_region: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | /// Actual observed latency through this proxy (ms) — the label. [INFO] [stdout] 22 | pub observed_latency_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingSample` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> client/src/ml/features.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NetworkFeatures { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub historical_p95_ms: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub hop_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | /// Hour of day (0-23). [INFO] [stdout] 24 | pub time_of_day: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | /// Day of week (0-6, Monday=0). [INFO] [stdout] 26 | pub day_of_week: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | /// BGP AS path length. [INFO] [stdout] 28 | pub bgp_as_path_len: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | /// Recent packet loss percentage. [INFO] [stdout] 30 | pub packet_loss_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub geographic_distance_km: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkFeatures` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_array`, `FEATURE_COUNT`, and `FEATURE_NAMES` are never used [INFO] [stdout] --> client/src/ml/features.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl NetworkFeatures { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 38 | /// Convert features to a flat f64 array for linfa input. [INFO] [stdout] 39 | pub fn to_array(&self) -> [f64; Self::FEATURE_COUNT] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub const FEATURE_COUNT: usize = 11; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub const FEATURE_NAMES: [&'static str; 11] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mean`, `sample_count`, and `is_ready` are never used [INFO] [stdout] --> client/src/ml/features.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl LatencyTracker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn mean(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn sample_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_probe`, `retrain_count`, and `is_initialized` are never used [INFO] [stdout] --> client/src/ml/online.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl OnlineLearner { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn record_probe(&mut self, proxy_id: &str, proxy_region: &str, rtt_us: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn retrain_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `best_proxy` is never used [INFO] [stdout] --> client/src/ml/predict.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RoutePrediction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 21 | /// Get the proxy with the lowest predicted latency. [INFO] [stdout] 22 | pub fn best_proxy(&self) -> Option<(&str, f64)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rmse_ms` and `training_time_ms` are never read [INFO] [stdout] --> client/src/ml/trainer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TrainingReport { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub rmse_ms: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub training_time_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `train_test_split` is never used [INFO] [stdout] --> client/src/ml/trainer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn train_test_split( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `train_linear_regression` is never used [INFO] [stdout] --> client/src/ml/trainer.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn train_linear_regression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DiscoveryMethod` is never used [INFO] [stdout] --> client/src/quic/discovery.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum DiscoveryMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyDiscovery` is never constructed [INFO] [stdout] --> client/src/quic/discovery.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProxyDiscovery { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_config`, `new`, `discover`, `discover_static`, and `probe_node` are never used [INFO] [stdout] --> client/src/quic/discovery.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl ProxyDiscovery { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 43 | /// Create a new discovery instance from proxy config. [INFO] [stdout] 44 | pub fn from_config(config: &ProxyConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(static_proxies: Vec, quic_port: u16, data_port: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn discover(&self) -> Result, QuicError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn discover_static(&self) -> Result, QuicError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub async fn probe_node(&self, node: &mut ProxyNode, game: u8) -> Result<(), QuicError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthCheckResult` is never constructed [INFO] [stdout] --> client/src/quic/health.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct HealthCheckResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthChecker` is never constructed [INFO] [stdout] --> client/src/quic/health.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct HealthChecker { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> client/src/quic/health.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl HealthChecker { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 47 | /// Create a new health checker with default settings. [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_config(interval: Duration, timeout: Duration, failure_threshold: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn check_with_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn check_standalone(&mut self, proxy: &ProxyNode, game: u8) -> HealthCheckResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn evaluate_health(&self, proxy_id: &str) -> ProxyHealth { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn average_rtt(&self, proxy_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn latest_rtt(&self, proxy_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_history(&self, proxy_id: &str) -> &[HealthCheckResult] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_connected` and `remote_addr` are never used [INFO] [stdout] --> client/src/quic/mod.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 331 | impl ControlClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | pub fn is_connected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn remote_addr(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence` is never read [INFO] [stdout] --> client/src/redirect.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct UdpRedirect { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | sequence: AtomicU16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_seq` and `run_with_shutdown` are never used [INFO] [stdout] --> client/src/redirect.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl UdpRedirect { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn next_seq(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn run_with_shutdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `control_addr` and `region` are never read [INFO] [stdout] --> client/src/route/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ProxyNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub control_addr: SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Geographic region (e.g., "us-east", "eu-west", "sea"). [INFO] [stdout] 27 | pub region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> client/src/route/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ProxyHealth { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyHealth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `confidence` is never read [INFO] [stdout] --> client/src/route/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SelectedRoute { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub confidence: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectedRoute` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Failover` and `Direct` are never constructed [INFO] [stdout] --> client/src/route/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum RouteStrategy { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | Failover, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | /// Direct — no proxy (bypass mode). [INFO] [stdout] 75 | Direct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `feedback` and `strategy` are never used [INFO] [stdout] --> client/src/route/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub trait RouteSelector: Send + Sync { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 88 | fn feedback(&mut self, proxy_id: &str, observed_latency_us: u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn strategy(&self) -> RouteStrategy; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FailoverConfig` is never constructed [INFO] [stdout] --> client/src/route/failover.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FailoverConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FailoverState` is never constructed [INFO] [stdout] --> client/src/route/failover.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct FailoverState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_keepalive_miss`, `record_keepalive_success`, `should_failover`, `can_failover`, and `can_retry` are never used [INFO] [stdout] --> client/src/route/failover.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl FailoverState { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 58 | /// Create a new failover state with default config. [INFO] [stdout] 59 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn record_keepalive_miss(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn record_keepalive_success(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn should_failover(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn can_failover(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn can_retry(&self, proxy_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultipathConfig` is never constructed [INFO] [stdout] --> client/src/route/multipath.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MultipathConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathStats` is never constructed [INFO] [stdout] --> client/src/route/multipath.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PathStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tracker_window`, `prediction_count`, and `total_inference_us` are never read [INFO] [stdout] --> client/src/route/selector.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct MlSelector { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | tracker_window: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 83 | /// Number of predictions made. [INFO] [stdout] 84 | prediction_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | /// Total inference time (microseconds) for averaging. [INFO] [stdout] 86 | total_inference_us: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_proxy_meta`, `get_tracker`, and `avg_inference_us` are never used [INFO] [stdout] --> client/src/route/selector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl MlSelector { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn set_proxy_meta(&mut self, proxy_id: &str, meta: ProxyMeta) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn get_tracker(&mut self, proxy_id: &str) -> &mut LatencyTracker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn avg_inference_us(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_fec_recovery` and `record_fec_loss` are never used [INFO] [stdout] --> client/src/telemetry.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl TelemetryCollector { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn record_fec_recovery(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn record_fec_loss(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TunnelPacket` is never constructed [INFO] [stdout] --> client/src/tunnel/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TunnelPacket { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TunnelEngineState` is never constructed [INFO] [stdout] --> client/src/tunnel/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TunnelEngineState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_active` are never used [INFO] [stdout] --> client/src/tunnel/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TunnelEngineState { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 35 | /// Create a new inactive tunnel engine state. [INFO] [stdout] 36 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TunnelStats` is never constructed [INFO] [stdout] --> client/src/tunnel/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct TunnelStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp_us` is never read [INFO] [stdout] --> client/src/tunnel/capture.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CapturedPacket { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub timestamp_us: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CapturedPacket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_ips` and `port_range` are never read [INFO] [stdout] --> client/src/tunnel/capture.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CaptureFilter { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | /// Game server IP addresses to intercept. [INFO] [stdout] 33 | pub server_ips: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | /// Game server port range. [INFO] [stdout] 35 | pub port_range: (u16, u16), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureFilter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> client/src/tunnel/capture.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait PacketCapture: Send + Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 110 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `send_errors` and `recv_errors` are never read [INFO] [stdout] --> client/src/tunnel/relay.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RelayStats { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub send_errors: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | pub recv_errors: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelayStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_fec`, `fec_enabled`, `send_keepalive`, `flush_fec`, `fec_stats`, and `close` are never used [INFO] [stdout] --> client/src/tunnel/relay.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl UdpRelay { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn with_fec(mut self, k_size: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn fec_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn send_keepalive(&self, proxy_addr: SocketAddrV4) -> Result<(), TunnelError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn flush_fec(&mut self, proxy_addr: SocketAddrV4) -> Result<(), TunnelError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn fec_stats(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_ip_routed_static` is never used [INFO] [stdout] --> client/src/warp.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl WarpManager { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn is_ip_routed_static(ip: Ipv4Addr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_warp` is never used [INFO] [stdout] --> client/src/warp.rs:523:8 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn detect_warp() -> WarpStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_best_interface` is never used [INFO] [stdout] --> client/src/capture/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn pick_best_interface() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interface_description` is never used [INFO] [stdout] --> client/src/capture/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn interface_description(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `socket` is never used [INFO] [stdout] --> client/src/capture/injector.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl PacketInjector { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn socket(&self) -> Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct WinDivertStats { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 48 | /// Game packets intercepted and forwarded to the proxy (outbound). [INFO] [stdout] 49 | pub packets_intercepted: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Bytes intercepted. [INFO] [stdout] 51 | pub bytes_intercepted: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// Proxy responses received. [INFO] [stdout] 53 | pub packets_from_proxy: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// Spoofed packets injected back to the game. [INFO] [stdout] 55 | pub packets_injected: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | /// Bytes injected back to the game. [INFO] [stdout] 57 | pub bytes_injected: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | /// Errors during intercept or inject. [INFO] [stdout] 59 | pub errors: AtomicU64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub detected_server: std::sync::Mutex>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WinDivertStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ipv4_udp` is never used [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_ipv4_udp(raw: &[u8]) -> Option<(SocketAddrV4, SocketAddrV4, &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ipv4_udp` is never used [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn build_ipv4_udp(src: SocketAddrV4, dst: SocketAddrV4, payload: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_addr`, `port_range`, `proxy_addr`, `fec_enabled`, and `fec_k` are never read [INFO] [stdout] --> client/src/capture/windivert_redirect.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct WinDivertConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | pub server_addr: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub port_range: (u16, u16), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 155 | /// LightSpeed proxy address (we redirect outbound packets here). [INFO] [stdout] 156 | pub proxy_addr: SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 157 | /// FEC enabled? [INFO] [stdout] 158 | pub fec_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 159 | /// FEC block size K. [INFO] [stdout] 160 | pub fec_k: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WinDivertConfig` 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: enum `LightSpeedError` is never used [INFO] [stdout] --> client/src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum LightSpeedError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedPlatform` is never constructed [INFO] [stdout] --> client/src/error.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum CaptureError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | UnsupportedPlatform(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout` and `FailoverExhausted` are never constructed [INFO] [stdout] --> client/src/error.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum RouteError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 83 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | FailoverExhausted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionFailed`, `DiscoveryFailed`, `HealthCheckFailed`, and `Tls` are never constructed [INFO] [stdout] --> client/src/error.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum QuicError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 92 | #[error("Connection to proxy failed: {0}")] [INFO] [stdout] 93 | ConnectionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | DiscoveryFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | HealthCheckFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | Tls(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuicError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FeatureExtraction` is never constructed [INFO] [stdout] --> client/src/error.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum MlError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 115 | FeatureExtraction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `model_type` and `model_bytes` are never used [INFO] [stdout] --> client/src/ml/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl RouteModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn model_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn model_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tracker` is never used [INFO] [stdout] --> client/src/ml/collector.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl RouteCollector { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn tracker(&self, proxy_id: &str) -> Option<&LatencyTracker> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FEATURE_NAMES` is never used [INFO] [stdout] --> client/src/ml/features.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 37 | impl NetworkFeatures { [INFO] [stdout] | -------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub const FEATURE_NAMES: [&'static str; 11] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `record_probe` is never used [INFO] [stdout] --> client/src/ml/online.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl OnlineLearner { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn record_probe(&mut self, proxy_id: &str, proxy_region: &str, rtt_us: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rmse_ms` and `training_time_ms` are never read [INFO] [stdout] --> client/src/ml/trainer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TrainingReport { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub rmse_ms: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub training_time_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainingReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `train_test_split` is never used [INFO] [stdout] --> client/src/ml/trainer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn train_test_split( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `train_linear_regression` is never used [INFO] [stdout] --> client/src/ml/trainer.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn train_linear_regression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DiscoveryMethod` is never used [INFO] [stdout] --> client/src/quic/discovery.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum DiscoveryMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyDiscovery` is never constructed [INFO] [stdout] --> client/src/quic/discovery.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProxyDiscovery { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_config`, `new`, `discover`, `discover_static`, and `probe_node` are never used [INFO] [stdout] --> client/src/quic/discovery.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl ProxyDiscovery { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 43 | /// Create a new discovery instance from proxy config. [INFO] [stdout] 44 | pub fn from_config(config: &ProxyConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(static_proxies: Vec, quic_port: u16, data_port: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn discover(&self) -> Result, QuicError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn discover_static(&self) -> Result, QuicError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub async fn probe_node(&self, node: &mut ProxyNode, game: u8) -> Result<(), QuicError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthCheckResult` is never constructed [INFO] [stdout] --> client/src/quic/health.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct HealthCheckResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthChecker` is never constructed [INFO] [stdout] --> client/src/quic/health.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct HealthChecker { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> client/src/quic/health.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl HealthChecker { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 47 | /// Create a new health checker with default settings. [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_config(interval: Duration, timeout: Duration, failure_threshold: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn check_with_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn check_standalone(&mut self, proxy: &ProxyNode, game: u8) -> HealthCheckResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn evaluate_health(&self, proxy_id: &str) -> ProxyHealth { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn average_rtt(&self, proxy_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn latest_rtt(&self, proxy_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_history(&self, proxy_id: &str) -> &[HealthCheckResult] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_connected` and `remote_addr` are never used [INFO] [stdout] --> client/src/quic/mod.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 331 | impl ControlClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | pub fn is_connected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn remote_addr(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_with_shutdown` is never used [INFO] [stdout] --> client/src/redirect.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 101 | impl UdpRedirect { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn run_with_shutdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `control_addr` and `region` are never read [INFO] [stdout] --> client/src/route/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ProxyNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub control_addr: SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Geographic region (e.g., "us-east", "eu-west", "sea"). [INFO] [stdout] 27 | pub region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> client/src/route/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ProxyHealth { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyHealth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `confidence` is never read [INFO] [stdout] --> client/src/route/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SelectedRoute { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub confidence: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectedRoute` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Failover` and `Direct` are never constructed [INFO] [stdout] --> client/src/route/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum RouteStrategy { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | Failover, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | /// Direct — no proxy (bypass mode). [INFO] [stdout] 75 | Direct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strategy` is never used [INFO] [stdout] --> client/src/route/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub trait RouteSelector: Send + Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn strategy(&self) -> RouteStrategy; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FailoverConfig` is never constructed [INFO] [stdout] --> client/src/route/failover.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FailoverConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FailoverState` is never constructed [INFO] [stdout] --> client/src/route/failover.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct FailoverState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_keepalive_miss`, `record_keepalive_success`, `should_failover`, `can_failover`, and `can_retry` are never used [INFO] [stdout] --> client/src/route/failover.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl FailoverState { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 58 | /// Create a new failover state with default config. [INFO] [stdout] 59 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn record_keepalive_miss(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn record_keepalive_success(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn should_failover(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn can_failover(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn can_retry(&self, proxy_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultipathConfig` is never constructed [INFO] [stdout] --> client/src/route/multipath.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MultipathConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathStats` is never constructed [INFO] [stdout] --> client/src/route/multipath.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PathStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prediction_count` and `total_inference_us` are never read [INFO] [stdout] --> client/src/route/selector.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct MlSelector { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | prediction_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | /// Total inference time (microseconds) for averaging. [INFO] [stdout] 86 | total_inference_us: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_proxy_meta` and `avg_inference_us` are never used [INFO] [stdout] --> client/src/route/selector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl MlSelector { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn set_proxy_meta(&mut self, proxy_id: &str, meta: ProxyMeta) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn avg_inference_us(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TunnelPacket` is never constructed [INFO] [stdout] --> client/src/tunnel/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TunnelPacket { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TunnelEngineState` is never constructed [INFO] [stdout] --> client/src/tunnel/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TunnelEngineState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_active` are never used [INFO] [stdout] --> client/src/tunnel/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TunnelEngineState { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 35 | /// Create a new inactive tunnel engine state. [INFO] [stdout] 36 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TunnelStats` is never constructed [INFO] [stdout] --> client/src/tunnel/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct TunnelStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp_us` is never read [INFO] [stdout] --> client/src/tunnel/capture.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CapturedPacket { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub timestamp_us: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CapturedPacket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server_ips` is never read [INFO] [stdout] --> client/src/tunnel/capture.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CaptureFilter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 32 | /// Game server IP addresses to intercept. [INFO] [stdout] 33 | pub server_ips: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureFilter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> client/src/tunnel/capture.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait PacketCapture: Send + Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 110 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `send_errors` and `recv_errors` are never read [INFO] [stdout] --> client/src/tunnel/relay.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RelayStats { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub send_errors: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | pub recv_errors: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelayStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_fec`, `fec_enabled`, `send_keepalive`, `flush_fec`, `fec_stats`, and `close` are never used [INFO] [stdout] --> client/src/tunnel/relay.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl UdpRelay { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn with_fec(mut self, k_size: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn fec_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn send_keepalive(&self, proxy_addr: SocketAddrV4) -> Result<(), TunnelError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn flush_fec(&mut self, proxy_addr: SocketAddrV4) -> Result<(), TunnelError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn fec_stats(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_warp` is never used [INFO] [stdout] --> client/src/warp.rs:523:8 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn detect_warp() -> WarpStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "fe7503d5902337c3f16ac25549b318893daa9c8589f848fa3bfda479294e3556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe7503d5902337c3f16ac25549b318893daa9c8589f848fa3bfda479294e3556", kill_on_drop: false }` [INFO] [stdout] fe7503d5902337c3f16ac25549b318893daa9c8589f848fa3bfda479294e3556