[INFO] cloning repository https://github.com/lmmqxyx404/quic_again [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lmmqxyx404/quic_again" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Fquic_again", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Fquic_again'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16b35731198379c2edfa3397bd3183b74eeb1b83 [INFO] checking lmmqxyx404/quic_again against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Fquic_again" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lmmqxyx404/quic_again [INFO] finished tweaking git repo https://github.com/lmmqxyx404/quic_again [INFO] tweaked toml for git repo https://github.com/lmmqxyx404/quic_again written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lmmqxyx404/quic_again on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lmmqxyx404/quic_again 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.102 [INFO] [stderr] Downloaded rustls v0.23.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccf6839dd6d931ad53a095dd2432c4c2781bc937d6f6e398ca401c62cde4abcd [INFO] running `Command { std: "docker" "start" "-a" "ccf6839dd6d931ad53a095dd2432c4c2781bc937d6f6e398ca401c62cde4abcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccf6839dd6d931ad53a095dd2432c4c2781bc937d6f6e398ca401c62cde4abcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf6839dd6d931ad53a095dd2432c4c2781bc937d6f6e398ca401c62cde4abcd", kill_on_drop: false }` [INFO] [stdout] ccf6839dd6d931ad53a095dd2432c4c2781bc937d6f6e398ca401c62cde4abcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afd1eed75e3b935864b8706350bd128a9067daf363ed8033b47aea48ac7043e5 [INFO] running `Command { std: "docker" "start" "-a" "afd1eed75e3b935864b8706350bd128a9067daf363ed8033b47aea48ac7043e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cc v1.0.102 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking scratch-quinn-udp v0.1.0 (/opt/rustwide/workdir/quinn-udp) [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-udp/src/unix.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment_size` [INFO] [stdout] --> quinn-udp/src/unix.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | if let Some(segment_size) = transmit.segment_size { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v6` [INFO] [stdout] --> quinn-udp/src/unix.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | IpAddr::V6(v6) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-udp/src/unix.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment_size` [INFO] [stdout] --> quinn-udp/src/unix.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | if let Some(segment_size) = transmit.segment_size { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v6` [INFO] [stdout] --> quinn-udp/src/unix.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | IpAddr::V6(v6) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v6` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking rcgen v0.13.1 [INFO] [stderr] Checking scratch-quinn-proto v0.1.0 (/opt/rustwide/workdir/quinn-proto) [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/frame.rs:867:12 [INFO] [stdout] | [INFO] [stdout] 867 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/lib.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/lib.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/lib.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> quinn-proto/src/endpoint.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | time::{Duration, Instant, SystemTime}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> quinn-proto/src/endpoint.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Send` [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use send::{Send, SendState}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> quinn-proto/src/connection/streams/recv.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recv::Recv` [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use recv::Recv; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cid_queue::InsertError` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:1091:25 [INFO] [stdout] | [INFO] [stdout] 1091 | use crate::cid_queue::InsertError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:3524:9 [INFO] [stdout] | [INFO] [stdout] 3524 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/frame.rs:867:12 [INFO] [stdout] | [INFO] [stdout] 867 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/lib.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/lib.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> quinn-proto/src/lib.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ring`, and `rustls` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> quinn-proto/src/endpoint.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | time::{Duration, Instant, SystemTime}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> quinn-proto/src/endpoint.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(not(fuzzing))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Send` [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use send::{Send, SendState}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> quinn-proto/src/connection/streams/recv.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recv::Recv` [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use recv::Recv; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cid_queue::InsertError` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:1091:25 [INFO] [stdout] | [INFO] [stdout] 1091 | use crate::cid_queue::InsertError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:3524:9 [INFO] [stdout] | [INFO] [stdout] 3524 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> quinn-proto/src/connection/mtud.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 291 | return Some(probe_udp_payload_size); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 297 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> quinn-proto/src/frame.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src_cid` is never read [INFO] [stdout] --> quinn-proto/src/packet.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | src_cid: ConnectionId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dst_cid` is never read [INFO] [stdout] --> quinn-proto/src/packet.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | dst_cid: ConnectionId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `UnsupportedVersion` [INFO] [stdout] --> quinn-proto/src/endpoint.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | Err(UnsupportedVersion) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `UnsupportedVersion` [INFO] [stdout] | [INFO] [stdout] 362 | Err(crypto::UnsupportedVersion) => { [INFO] [stdout] | ++++++++ [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 362 | Err(_UnsupportedVersion) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> quinn-proto/src/endpoint.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> quinn-proto/src/endpoint.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 437 | NeedIdentifiers(now, n) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 440 | Drained => { [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 450 | ResetToken(remote, token) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 458 | RetireConnectionId(now, seq, allow_more_cids) => { [INFO] [stdout] | --------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 467 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> quinn-proto/src/connection/mtud.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 291 | return Some(probe_udp_payload_size); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 297 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> quinn-proto/src/config.rs:556:19 [INFO] [stdout] | [INFO] [stdout] 556 | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> quinn-proto/src/connection/paths.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) fn from_previous(remote: SocketAddr, prev: &Self, now: Instant) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> quinn-proto/src/connection/paths.rs:137:53 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) fn from_previous(remote: SocketAddr, prev: &Self, now: Instant) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-proto/src/connection/paths.rs:137:66 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) fn from_previous(remote: SocketAddr, prev: &Self, now: Instant) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn-proto/src/connection/packet_crypto.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | fn push_pending(&mut self, id: StreamId, priority: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> quinn-proto/src/connection/packet_builder.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let span = trace_span!("send", space = ?space_id, pn = exact_number).entered(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:1113:29 [INFO] [stdout] | [INFO] [stdout] 1113 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:3192:13 [INFO] [stdout] | [INFO] [stdout] 3192 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:3192:13 [INFO] [stdout] | [INFO] [stdout] 3178 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3185 | Ok(false) => {} [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 3186 | Ok(true) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3192 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> quinn-proto/src/frame.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> quinn-proto/src/transport_parameters.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | fn read(r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_config` [INFO] [stdout] --> quinn-proto/src/transport_parameters.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | server_config: Option<&ServerConfig>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> quinn-proto/src/frame.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(x: ConnectionClose) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> quinn-proto/src/frame.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn from(x: ApplicationClose) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> quinn-proto/src/frame.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 457 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | now: Instant, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rtt` [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | rtt: &RttEstimator, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `specific` is never read [INFO] [stdout] --> quinn-proto/src/crypto/rustls.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct NoInitialCipherSuite { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 129 | /// Whether the initial cipher suite was supplied by the caller [INFO] [stdout] 130 | specific: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoInitialCipherSuite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cwnd_inc` is never read [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | cwnd_inc: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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: variable `UnsupportedVersion` should have a snake case name [INFO] [stdout] --> quinn-proto/src/endpoint.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | Err(UnsupportedVersion) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unsupported_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn read(&mut self, ordered: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn read(&mut self, ordered: bool) -> Result, ReadableError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src_cid` is never read [INFO] [stdout] --> quinn-proto/src/packet.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | src_cid: ConnectionId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dst_cid` is never read [INFO] [stdout] --> quinn-proto/src/packet.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | dst_cid: ConnectionId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking scratch-quinn v0.1.0 (/opt/rustwide/workdir/quinn) [INFO] [stdout] warning: unused variable: `UnsupportedVersion` [INFO] [stdout] --> quinn-proto/src/endpoint.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | Err(UnsupportedVersion) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `UnsupportedVersion` [INFO] [stdout] | [INFO] [stdout] 362 | Err(crypto::UnsupportedVersion) => { [INFO] [stdout] | ++++++++ [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 362 | Err(_UnsupportedVersion) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionStats` [INFO] [stdout] --> quinn/src/connection.rs:26:64 [INFO] [stdout] | [INFO] [stdout] 26 | congestion::Controller, ConnectionError, ConnectionHandle, ConnectionStats, Dir, EndpointEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `sync::Arc` [INFO] [stdout] --> quinn/src/incoming.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | net::{IpAddr, SocketAddr}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | pin::Pin, [INFO] [stdout] 5 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServerConfig` [INFO] [stdout] --> quinn/src/incoming.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{ConnectionError, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `poll_fn` [INFO] [stdout] --> quinn/src/recv_stream.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | future::{poll_fn, Future}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClosedStream` and `ConnectionError` [INFO] [stdout] --> quinn/src/recv_stream.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{Chunk, Chunks, ClosedStream, ConnectionError, ReadableError, StreamId}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-async-std` [INFO] [stdout] --> quinn/src/runtime.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | feature = "runtime-async-std", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lock_tracking`, `ring`, `runtime-tokio`, and `rustls` [INFO] [stdout] = help: consider adding `runtime-async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-smol` [INFO] [stdout] --> quinn/src/runtime.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | feature = "runtime-smol", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lock_tracking`, `ring`, `runtime-tokio`, and `rustls` [INFO] [stdout] = help: consider adding `runtime-smol` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> quinn/src/send_stream.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionError` and `Written` [INFO] [stdout] --> quinn/src/send_stream.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use proto::{ClosedStream, ConnectionError, FinishError, StreamId, Written}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> quinn-proto/src/endpoint.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> quinn-proto/src/endpoint.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 437 | NeedIdentifiers(now, n) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 440 | Drained => { [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 450 | ResetToken(remote, token) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 458 | RetireConnectionId(now, seq, allow_more_cids) => { [INFO] [stdout] | --------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 467 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> quinn-proto/src/config.rs:556:19 [INFO] [stdout] | [INFO] [stdout] 556 | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> quinn-proto/src/connection/paths.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) fn from_previous(remote: SocketAddr, prev: &Self, now: Instant) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> quinn-proto/src/connection/paths.rs:137:53 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) fn from_previous(remote: SocketAddr, prev: &Self, now: Instant) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-proto/src/connection/paths.rs:137:66 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) fn from_previous(remote: SocketAddr, prev: &Self, now: Instant) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionStats` and `congestion::Controller` [INFO] [stdout] --> quinn/src/connection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | congestion::Controller, ConnectionError, ConnectionHandle, ConnectionStats, Dir, EndpointEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `sync::Arc` [INFO] [stdout] --> quinn/src/incoming.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | net::{IpAddr, SocketAddr}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | pin::Pin, [INFO] [stdout] 5 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServerConfig` [INFO] [stdout] --> quinn/src/incoming.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{ConnectionError, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `poll_fn` [INFO] [stdout] --> quinn/src/recv_stream.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | future::{poll_fn, Future}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClosedStream` and `ConnectionError` [INFO] [stdout] --> quinn/src/recv_stream.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use proto::{Chunk, Chunks, ClosedStream, ConnectionError, ReadableError, StreamId}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-async-std` [INFO] [stdout] --> quinn/src/runtime.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | feature = "runtime-async-std", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lock_tracking`, `ring`, `runtime-tokio`, and `rustls` [INFO] [stdout] = help: consider adding `runtime-async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime-smol` [INFO] [stdout] --> quinn/src/runtime.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | feature = "runtime-smol", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lock_tracking`, `ring`, `runtime-tokio`, and `rustls` [INFO] [stdout] = help: consider adding `runtime-smol` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> quinn/src/send_stream.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionError` and `Written` [INFO] [stdout] --> quinn/src/send_stream.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use proto::{ClosedStream, ConnectionError, FinishError, StreamId, Written}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn-proto/src/connection/packet_crypto.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `congestion::Controller` [INFO] [stdout] --> quinn/src/connection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | congestion::Controller, ConnectionError, ConnectionHandle, ConnectionStats, Dir, EndpointEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_handshake_data_recv` [INFO] [stdout] --> quinn/src/connection.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let (on_handshake_data_send, on_handshake_data_recv) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_handshake_data_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/connection.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | if let Err(e) = conn.process_conn_events(&self.0.shared, cx) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> quinn/src/connection.rs:420:58 [INFO] [stdout] | [INFO] [stdout] 420 | Poll::Ready(Some(ConnectionEvent::Rebind(socket))) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | fn push_pending(&mut self, id: StreamId, priority: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> quinn/src/connection.rs:593:48 [INFO] [stdout] | [INFO] [stdout] 593 | Stream(StreamEvent::Writable { id }) => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> quinn/src/connection.rs:609:48 [INFO] [stdout] | [INFO] [stdout] 609 | Stream(StreamEvent::Readable { id }) => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> quinn/src/connection.rs:618:47 [INFO] [stdout] | [INFO] [stdout] 618 | Stream(StreamEvent::Stopped { id, .. }) => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> quinn/src/connection.rs:637:19 [INFO] [stdout] | [INFO] [stdout] 637 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> quinn/src/connection.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | mut notify: Pin<&mut Notified<'a>>, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> quinn/src/connection.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | ctx: &mut Context<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notify` [INFO] [stdout] --> quinn/src/connection.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | mut notify: Pin<&mut Notified<'a>>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/connection.rs:694:17 [INFO] [stdout] | [INFO] [stdout] 694 | if let Some(ref e) = state.error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transmit` [INFO] [stdout] --> quinn/src/endpoint.rs:342:29 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(transmit) = error.response { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transmit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> quinn-proto/src/connection/packet_builder.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let span = trace_span!("send", space = ?space_id, pn = exact_number).entered(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transmit` [INFO] [stdout] --> quinn/src/endpoint.rs:470:62 [INFO] [stdout] | [INFO] [stdout] 470 | ... Some(DatagramEvent::Response(transmit)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transmit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/endpoint.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> quinn/src/endpoint.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | for incoming in self.recv_state.incoming.drain(..) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> quinn/src/endpoint.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(socket) = &self.prev_socket { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/endpoint.rs:687:22 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some((error_code, ref reason)) = self.close { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> quinn/src/endpoint.rs:687:34 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some((error_code, ref reason)) = self.close { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> quinn/src/incoming.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(state) = self.0.take() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/recv_stream.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | cx: &mut Context, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> quinn/src/recv_stream.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | Some(code) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> quinn/src/recv_stream.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | Some(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/recv_stream.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | ReadStatus::Failed(read, Reset(error_code)) => match read { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `done` [INFO] [stdout] --> quinn/src/recv_stream.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | done => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None` [INFO] [stdout] | [INFO] [stdout] 178 - done => { [INFO] [stdout] 178 + std::prelude::v1::None => { [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | _done => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/send_stream.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | fn execute_poll(&mut self, cx: &mut Context, write_fn: F) -> Poll> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> quinn/src/send_stream.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(ref x) = conn.error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/send_stream.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | Err(Stopped(error_code)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/send_stream.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(Some(error_code)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/send_stream.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(e) = &conn.error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Close`, `Proto`, and `Rebind` are never constructed [INFO] [stdout] --> quinn/src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum ConnectionEvent { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 46 | Close { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | Proto(proto::ConnectionEvent), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Rebind(Arc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_LOOP_BOUND` is never used [INFO] [stdout] --> quinn/src/lib.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const IO_LOOP_BOUND: usize = 160; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECV_TIME_BOUND` is never used [INFO] [stdout] --> quinn/src/lib.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | const RECV_TIME_BOUND: Duration = Duration::from_micros(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_0rtt` is never used [INFO] [stdout] --> quinn/src/connection.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Connecting { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn into_0rtt(mut self) -> Result<(Connection, ZeroRttAccepted), Self> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> quinn/src/connection.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Connection(ConnectionRef); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Connection` 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 `open_uni`, `accept_uni`, and `export_keying_material` are never used [INFO] [stdout] --> quinn/src/connection.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl Connection { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn open_uni(&self) -> OpenUni<'_> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn accept_uni(&self) -> AcceptUni<'_> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn export_keying_material( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_0rtt` is never used [INFO] [stdout] --> quinn/src/connection.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 372 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 624 | pub(crate) fn check_0rtt(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroRttAccepted` is never constructed [INFO] [stdout] --> quinn/src/connection.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 763 | pub struct ZeroRttAccepted(oneshot::Receiver); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `runtime` and `default_client_config` are never read [INFO] [stdout] --> quinn/src/endpoint.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Endpoint { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 42 | pub(crate) inner: EndpointRef, [INFO] [stdout] 43 | runtime: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | pub(crate) default_client_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Endpoint` 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 associated items are never used [INFO] [stdout] --> quinn/src/endpoint.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Endpoint { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn client(addr: SocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn new_with_abstract_socket( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn connect_with( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn set_default_client_config(&mut self, config: ClientConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn connect(&self, addr: SocketAddr, server_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn close(&self, error_code: VarInt, reason: &[u8]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn local_addr(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn accept(&self) -> Accept<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn wait_idle(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> quinn/src/endpoint.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 256 | impl EndpointRef { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 257 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> quinn/src/endpoint.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) struct EndpointInner { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 315 | pub(crate) shared: Shared, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndpointInner` 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 `refuse` and `retry` are never used [INFO] [stdout] --> quinn/src/endpoint.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 318 | impl EndpointInner { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub(crate) fn refuse(&self, incoming: proto::Incoming) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub(crate) fn retry(&self, incoming: proto::Incoming) -> Result<(), proto::RetryError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `recv_limiter` and `recv_buf` are never read [INFO] [stdout] --> quinn/src/endpoint.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 375 | struct RecvState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 381 | recv_limiter: WorkLimiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 382 | /// 4. [INFO] [stdout] 383 | recv_buf: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecvState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `poll_socket` are never used [INFO] [stdout] --> quinn/src/endpoint.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 386 | impl RecvState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 387 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | fn poll_socket( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ipv6`, `prev_socket`, and `events` are never read [INFO] [stdout] --> quinn/src/endpoint.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 504 | pub(crate) struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 516 | ipv6: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | prev_socket: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | events: mpsc::UnboundedReceiver<(ConnectionHandle, EndpointEvent)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incoming` and `idle` are never read [INFO] [stdout] --> quinn/src/endpoint.rs:540:5 [INFO] [stdout] | [INFO] [stdout] 539 | pub(crate) struct Shared { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 540 | incoming: Notify, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 541 | idle: Notify, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shared` 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 `drive_recv` and `handle_events` are never used [INFO] [stdout] --> quinn/src/endpoint.rs:546:8 [INFO] [stdout] | [INFO] [stdout] 544 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 545 | /// 1. [INFO] [stdout] 546 | fn drive_recv(&mut self, cx: &mut Context, now: Instant) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | fn handle_events(&mut self, cx: &mut Context, shared: &Shared) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointDriver` is never constructed [INFO] [stdout] --> quinn/src/endpoint.rs:617:19 [INFO] [stdout] | [INFO] [stdout] 617 | pub(crate) struct EndpointDriver(pub(crate) EndpointRef); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> quinn/src/endpoint.rs:676:8 [INFO] [stdout] | [INFO] [stdout] 675 | impl ConnectionSet { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 676 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PollProgress` is never constructed [INFO] [stdout] --> quinn/src/endpoint.rs:696:8 [INFO] [stdout] | [INFO] [stdout] 696 | struct PollProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outgoing_handshakes` and `refused_handshakes` are never read [INFO] [stdout] --> quinn/src/endpoint.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 706 | pub struct EndpointStats { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 707 | /// Cummulative number of Quic handshakees sent from this [Endpoint] [INFO] [stdout] 708 | pub outgoing_handshakes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 712 | pub refused_handshakes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndpointStats` 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 `proto_ecn` is never used [INFO] [stdout] --> quinn/src/endpoint.rs:758:4 [INFO] [stdout] | [INFO] [stdout] 758 | fn proto_ecn(ecn: udp::EcnCodepoint) -> proto::EcnCodepoint { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `respond` is never used [INFO] [stdout] --> quinn/src/endpoint.rs:766:4 [INFO] [stdout] | [INFO] [stdout] 766 | fn respond(transmit: proto::Transmit, response_buffer: &[u8], socket: &dyn AsyncUdpSocket) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remote_address`, `remote_address_validated`, `refuse`, and `retry` are never used [INFO] [stdout] --> quinn/src/incoming.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Incoming { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn remote_address(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn remote_address_validated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn refuse(mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn retry(mut self) -> Result<(), RetryError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryError` is never constructed [INFO] [stdout] --> quinn/src/incoming.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct RetryError(Incoming); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_incoming` is never used [INFO] [stdout] --> quinn/src/incoming.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl RetryError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 84 | /// Get the [`Incoming`] [INFO] [stdout] 85 | pub fn into_incoming(self) -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `stream`, `is_0rtt`, `all_data_read`, and `reset` are never read [INFO] [stdout] --> quinn/src/recv_stream.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct RecvStream { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 52 | conn: ConnectionRef, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | stream: StreamId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | is_0rtt: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | all_data_read: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | reset: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecvStream` 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 `read_to_end`, `poll_read_chunk`, and `poll_read_generic` are never used [INFO] [stdout] --> quinn/src/recv_stream.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 59 | impl RecvStream { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn read_to_end(&mut self, size_limit: usize) -> Result, ReadToEndError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn poll_read_chunk( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn poll_read_generic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReadToEnd` is never constructed [INFO] [stdout] --> quinn/src/recv_stream.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct ReadToEnd<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadToEndError` is never used [INFO] [stdout] --> quinn/src/recv_stream.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | pub enum ReadToEndError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadError` is never used [INFO] [stdout] --> quinn/src/recv_stream.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | pub enum ReadError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadStatus` is never used [INFO] [stdout] --> quinn/src/recv_stream.rs:271:6 [INFO] [stdout] | [INFO] [stdout] 271 | enum ReadStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wrap_udp_socket` is never used [INFO] [stdout] --> quinn/src/runtime.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Runtime: Send + Sync + Debug + 'static { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 22 | /// 1. Convert `t` into the socket type used by this runtime [INFO] [stdout] 23 | fn wrap_udp_socket(&self, t: std::net::UdpSocket) -> io::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_runtime` is never used [INFO] [stdout] --> quinn/src/runtime.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn default_runtime() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> quinn/src/runtime.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl UdpPollHelper { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn new(make_fut: MakeFut) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UdpSocket` is never constructed [INFO] [stdout] --> quinn/src/runtime/tokio.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct UdpSocket { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `stream`, and `is_0rtt` are never read [INFO] [stdout] --> quinn/src/send_stream.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SendStream { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | conn: ConnectionRef, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | stream: StreamId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | is_0rtt: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendStream` 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 `write_all`, `execute_poll`, `finish`, `stopped`, and `poll_stopped` are never used [INFO] [stdout] --> quinn/src/send_stream.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl SendStream { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn write_all(&mut self, buf: &[u8]) -> Result<(), WriteError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn execute_poll(&mut self, cx: &mut Context, write_fn: F) -> Poll> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn finish(&mut self) -> Result<(), ClosedStream> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn stopped(&mut self) -> Result, StoppedError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn poll_stopped(&mut self, cx: &mut Context) -> Poll, StoppedError>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteAll` is never constructed [INFO] [stdout] --> quinn/src/send_stream.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | struct WriteAll<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WriteError` is never used [INFO] [stdout] --> quinn/src/send_stream.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | pub enum WriteError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StoppedError` is never used [INFO] [stdout] --> quinn/src/send_stream.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum StoppedError {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stopped` is never constructed [INFO] [stdout] --> quinn/src/send_stream.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | struct Stopped<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> quinn/src/work_limiter.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct WorkLimiter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | /// Whether to measure the required work time, or to use the previous estimates [INFO] [stdout] 21 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | /// How many work items have been completed in the cycle [INFO] [stdout] 23 | completed: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | /// The time the cycle started - only used in measurement mode [INFO] [stdout] 25 | start_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | /// The amount of work items which are allowed for a cycle [INFO] [stdout] 27 | allowed: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | /// The desired cycle time [INFO] [stdout] 29 | desired_cycle_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | /// The estimated and smoothed time per work item in nanoseconds [INFO] [stdout] 31 | smoothed_time_per_work_item_nanos: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// The current cycle number [INFO] [stdout] 33 | cycle: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkLimiter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start_cycle`, `finish_cycle`, `record_work`, and `allow_work` are never used [INFO] [stdout] --> quinn/src/work_limiter.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl WorkLimiter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 37 | pub(crate) fn new(desired_cycle_time: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn start_cycle(&mut self, now: impl Fn() -> Instant) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(crate) fn finish_cycle(&mut self, now: impl Fn() -> Instant) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn record_work(&mut self, work: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn allow_work(&mut self, now: impl Fn() -> Instant) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLING_INTERVAL` is never used [INFO] [stdout] --> quinn/src/work_limiter.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | const SAMPLING_INTERVAL: u16 = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Measure` and `HistoricData` are never constructed [INFO] [stdout] --> quinn/src/work_limiter.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 122 | Measure, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 123 | HistoricData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> quinn/src/mutex.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn lock(&self, _purpose: &'static str) -> MutexGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn lock(&self, _purpose: &'static str) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:1113:29 [INFO] [stdout] | [INFO] [stdout] 1113 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> quinn/src/tests.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 483 | todo!() [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 484 | }; [INFO] [stdout] 485 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:3192:13 [INFO] [stdout] | [INFO] [stdout] 3192 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> quinn-proto/src/connection/mod.rs:3192:13 [INFO] [stdout] | [INFO] [stdout] 3178 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3185 | Ok(false) => {} [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 3186 | Ok(true) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3192 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> quinn-proto/src/transport_parameters.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | fn read(r: &mut R) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_config` [INFO] [stdout] --> quinn-proto/src/transport_parameters.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | server_config: Option<&ServerConfig>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> quinn-proto/src/frame.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(x: ConnectionClose) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> quinn-proto/src/frame.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn from(x: ApplicationClose) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> quinn-proto/src/frame.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 457 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | now: Instant, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rtt` [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | rtt: &RttEstimator, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `specific` is never read [INFO] [stdout] --> quinn-proto/src/crypto/rustls.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct NoInitialCipherSuite { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 129 | /// Whether the initial cipher suite was supplied by the caller [INFO] [stdout] 130 | specific: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoInitialCipherSuite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cwnd_inc` is never read [INFO] [stdout] --> quinn-proto/src/congestion/cubic.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | cwnd_inc: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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: unused variable: `handle` [INFO] [stdout] --> quinn/src/tests.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | let handle = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UnsupportedVersion` should have a snake case name [INFO] [stdout] --> quinn-proto/src/endpoint.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | Err(UnsupportedVersion) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unsupported_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_window` [INFO] [stdout] --> quinn/src/tests.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | if let Some(receive_window) = args.receive_window { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_receive_window` [INFO] [stdout] --> quinn/src/tests.rs:432:21 [INFO] [stdout] | [INFO] [stdout] 432 | if let Some(stream_receive_window) = args.stream_receive_window { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_receive_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_addr` [INFO] [stdout] --> quinn/src/tests.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let server_addr = server_sock.local_addr().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> quinn/src/tests.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | let server = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_handshake_data_recv` [INFO] [stdout] --> quinn/src/connection.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let (on_handshake_data_send, on_handshake_data_recv) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_handshake_data_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> quinn-proto/src/connection/streams/mod.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn read(&mut self, ordered: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn read(&mut self, ordered: bool) -> Result, ReadableError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/connection.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | if let Err(e) = conn.process_conn_events(&self.0.shared, cx) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> quinn/src/connection.rs:420:58 [INFO] [stdout] | [INFO] [stdout] 420 | Poll::Ready(Some(ConnectionEvent::Rebind(socket))) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> quinn/src/connection.rs:593:48 [INFO] [stdout] | [INFO] [stdout] 593 | Stream(StreamEvent::Writable { id }) => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> quinn/src/connection.rs:609:48 [INFO] [stdout] | [INFO] [stdout] 609 | Stream(StreamEvent::Readable { id }) => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> quinn/src/connection.rs:618:47 [INFO] [stdout] | [INFO] [stdout] 618 | Stream(StreamEvent::Stopped { id, .. }) => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> quinn/src/connection.rs:637:19 [INFO] [stdout] | [INFO] [stdout] 637 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> quinn/src/connection.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | mut notify: Pin<&mut Notified<'a>>, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> quinn/src/connection.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | ctx: &mut Context<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notify` [INFO] [stdout] --> quinn/src/connection.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | mut notify: Pin<&mut Notified<'a>>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/connection.rs:694:17 [INFO] [stdout] | [INFO] [stdout] 694 | if let Some(ref e) = state.error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transmit` [INFO] [stdout] --> quinn/src/endpoint.rs:342:29 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(transmit) = error.response { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transmit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transmit` [INFO] [stdout] --> quinn/src/endpoint.rs:470:62 [INFO] [stdout] | [INFO] [stdout] 470 | ... Some(DatagramEvent::Response(transmit)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transmit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/endpoint.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> quinn/src/endpoint.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | for incoming in self.recv_state.incoming.drain(..) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> quinn/src/endpoint.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(socket) = &self.prev_socket { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/endpoint.rs:687:22 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some((error_code, ref reason)) = self.close { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> quinn/src/endpoint.rs:687:34 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some((error_code, ref reason)) = self.close { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> quinn/src/incoming.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(state) = self.0.take() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/recv_stream.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | cx: &mut Context, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> quinn/src/recv_stream.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | Some(code) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> quinn/src/recv_stream.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | Some(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/recv_stream.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | ReadStatus::Failed(read, Reset(error_code)) => match read { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `done` [INFO] [stdout] --> quinn/src/recv_stream.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | done => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None` [INFO] [stdout] | [INFO] [stdout] 178 - done => { [INFO] [stdout] 178 + std::prelude::v1::None => { [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | _done => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/send_stream.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | fn execute_poll(&mut self, cx: &mut Context, write_fn: F) -> Poll> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> quinn/src/send_stream.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(ref x) = conn.error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/send_stream.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | Err(Stopped(error_code)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> quinn/src/send_stream.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(Some(error_code)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> quinn/src/send_stream.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(e) = &conn.error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rebind` is never constructed [INFO] [stdout] --> quinn/src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum ConnectionEvent { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | Rebind(Arc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nr_streams` and `stream_size` are never read [INFO] [stdout] --> quinn/src/tests.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 488 | struct EchoArgs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 491 | nr_streams: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 492 | stream_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_incoming` is never used [INFO] [stdout] --> quinn/src/incoming.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl RetryError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 84 | /// Get the [`Incoming`] [INFO] [stdout] 85 | pub fn into_incoming(self) -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> quinn/src/mutex.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn lock(&self, _purpose: &'static str) -> MutexGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn lock(&self, _purpose: &'static str) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.77s [INFO] running `Command { std: "docker" "inspect" "afd1eed75e3b935864b8706350bd128a9067daf363ed8033b47aea48ac7043e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd1eed75e3b935864b8706350bd128a9067daf363ed8033b47aea48ac7043e5", kill_on_drop: false }` [INFO] [stdout] afd1eed75e3b935864b8706350bd128a9067daf363ed8033b47aea48ac7043e5