[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] 9ce053492ef23a8ee63a4c259964f0f4cb25f3fe [INFO] checking lmmqxyx404/quic_again against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Fquic_again" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lmmqxyx404/quic_again on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.52.5 [INFO] [stderr] Downloaded time-core v0.1.2 [INFO] [stderr] Downloaded num_threads v0.1.7 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded subtle v2.6.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.56 [INFO] [stderr] Downloaded adler v1.0.2 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded pem v3.0.4 [INFO] [stderr] Downloaded tinyvec v1.6.1 [INFO] [stderr] Downloaded hermit-abi v0.3.9 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded miniz_oxide v0.7.4 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded rand v0.8.5 [INFO] [stderr] Downloaded mio v0.8.11 [INFO] [stderr] Downloaded time v0.3.36 [INFO] [stderr] Downloaded cc v1.0.102 [INFO] [stderr] Downloaded base64 v0.22.1 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded tracing-subscriber v0.3.18 [INFO] [stderr] Downloaded rustls-webpki v0.102.5 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded regex v1.10.5 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded object v0.36.1 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded rcgen v0.13.1 [INFO] [stderr] Downloaded regex-syntax v0.8.4 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.5 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.5 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.52.5 [INFO] [stderr] Downloaded rustls v0.23.10 [INFO] [stderr] Downloaded serde_derive v1.0.203 [INFO] [stderr] Downloaded serde v1.0.203 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded regex-automata v0.4.7 [INFO] [stderr] Downloaded assert_matches v1.5.0 [INFO] [stderr] Downloaded bytes v1.5.0 [INFO] [stderr] Downloaded rand_core v0.6.4 [INFO] [stderr] Downloaded yasna v0.5.2 [INFO] [stderr] Downloaded getrandom v0.2.12 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.5 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded tokio v1.38.0 [INFO] [stderr] Downloaded thiserror v1.0.56 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.5 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.5 [INFO] [stderr] Downloaded time-macros v0.2.18 [INFO] [stderr] Downloaded ppv-lite86 v0.2.17 [INFO] [stderr] Downloaded rustc-hash v2.0.0 [INFO] [stderr] Downloaded zeroize v1.8.1 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded deranged v0.3.11 [INFO] [stderr] Downloaded powerfmt v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded socket2 v0.5.7 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded overload v0.1.1 [INFO] [stderr] Downloaded nu-ansi-term v0.46.0 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded num-conv v0.1.0 [INFO] [stderr] Downloaded tokio-macros v2.3.0 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded untrusted v0.9.0 [INFO] [stderr] Downloaded thread_local v1.1.8 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] [stderr] Downloaded windows-sys v0.48.0 [INFO] [stderr] Downloaded ring v0.17.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60854e5d02fd6e5c6feecc251d3d2759a9ecaeb3ecf47618f057d0377a4f73b1 [INFO] running `Command { std: "docker" "start" "-a" "60854e5d02fd6e5c6feecc251d3d2759a9ecaeb3ecf47618f057d0377a4f73b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60854e5d02fd6e5c6feecc251d3d2759a9ecaeb3ecf47618f057d0377a4f73b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60854e5d02fd6e5c6feecc251d3d2759a9ecaeb3ecf47618f057d0377a4f73b1", kill_on_drop: false }` [INFO] [stdout] 60854e5d02fd6e5c6feecc251d3d2759a9ecaeb3ecf47618f057d0377a4f73b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a0e66a0acd5539cc0a48a9e4f8e15a2f6704eee2e4adb3c2ae9f7981d7955e3 [INFO] running `Command { std: "docker" "start" "-a" "7a0e66a0acd5539cc0a48a9e4f8e15a2f6704eee2e4adb3c2ae9f7981d7955e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cc v1.0.102 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking scratch-quinn-udp v0.1.0 (/opt/rustwide/workdir/quinn-udp) [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-udp/src/unix.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn-udp/src/unix.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking matchers v0.1.0 [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/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] = 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: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)]` 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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:3507:9 [INFO] [stdout] | [INFO] [stdout] 3507 | use super::*; [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] [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/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] = 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: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)]` 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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:3507:9 [INFO] [stdout] | [INFO] [stdout] 3507 | use super::*; [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] [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)]` 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: unused variable: `UnsupportedVersion` [INFO] [stdout] --> quinn-proto/src/endpoint.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | Err(UnsupportedVersion) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_UnsupportedVersion` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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)]` on by default [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: 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)]` 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: `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 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 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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inner` is never used [INFO] [stdout] --> quinn-proto/src/crypto/rustls.rs:429:19 [INFO] [stdout] | [INFO] [stdout] 423 | impl QuicServerConfig { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 429 | pub(crate) fn inner( [INFO] [stdout] | ^^^^^ [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 `Default`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [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] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_UnsupportedVersion` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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)]` on by default [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: `config` [INFO] [stdout] --> quinn/src/endpoint.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | config: ClientConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_name` [INFO] [stdout] --> quinn/src/endpoint.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | server_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> quinn/src/endpoint.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut endpoint = self.inner.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> quinn/src/endpoint.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let (sender, events) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv_buf` [INFO] [stdout] --> quinn/src/endpoint.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let recv_buf = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recv_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> quinn/src/endpoint.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | sender: mpsc::UnboundedSender<(ConnectionHandle, EndpointEvent)>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/endpoint.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | fn drive_recv(&mut self, cx: &mut Context, now: Instant) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn/src/endpoint.rs:229:48 [INFO] [stdout] | [INFO] [stdout] 229 | fn drive_recv(&mut self, cx: &mut Context, now: Instant) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/endpoint.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | fn handle_events(&mut self, cx: &mut Context, shared: &Shared) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared` [INFO] [stdout] --> quinn/src/endpoint.rs:233:51 [INFO] [stdout] | [INFO] [stdout] 233 | fn handle_events(&mut self, cx: &mut Context, shared: &Shared) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keep_going` is assigned to, but never used [INFO] [stdout] --> quinn/src/endpoint.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let mut keep_going = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_keep_going` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `keep_going` is never read [INFO] [stdout] --> quinn/src/endpoint.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | keep_going |= endpoint.handle_events(cx, &self.0.shared); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/connection.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> quinn/src/connection.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Endpoint` is never constructed [INFO] [stdout] --> quinn/src/endpoint.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Endpoint { [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `client`, `new_with_abstract_socket`, and `connect_with` are never used [INFO] [stdout] --> quinn/src/endpoint.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Endpoint { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn client(addr: SocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn new_with_abstract_socket( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn connect_with( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> quinn/src/endpoint.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | impl EndpointRef { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 134 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> quinn/src/endpoint.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct RecvState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 184 | connections: ConnectionSet, [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 function `new` is never used [INFO] [stdout] --> quinn/src/endpoint.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 187 | impl RecvState { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 188 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `driver_lost`, `recv_state`, and `ipv6` are never read [INFO] [stdout] --> quinn/src/endpoint.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub(crate) struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 214 | driver_lost: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 215 | /// 5. [INFO] [stdout] 216 | recv_state: RecvState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 217 | /// 6. support or not [INFO] [stdout] 218 | ipv6: bool, [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:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub(crate) struct Shared { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 223 | incoming: Notify, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 224 | 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: field `close` is never read [INFO] [stdout] --> quinn/src/endpoint.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 273 | struct ConnectionSet { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 274 | /// 1. Set if the endpoint has been manually closed [INFO] [stdout] 275 | close: Option<(VarInt, Bytes)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionSet` 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 `wrap_udp_socket` and `spawn` are never used [INFO] [stdout] --> quinn/src/runtime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Runtime: Send + Sync + Debug + 'static { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 10 | /// 1. Convert `t` into the socket type used by this runtime [INFO] [stdout] 11 | fn wrap_udp_socket(&self, t: std::net::UdpSocket) -> io::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// 2. Drive `future` to completion in the background [INFO] [stdout] 13 | fn spawn(&self, future: Pin + Send>>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_runtime` is never used [INFO] [stdout] --> quinn/src/runtime.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn default_runtime() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `local_addr`, `may_fragment`, and `max_receive_segments` are never used [INFO] [stdout] --> quinn/src/runtime.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait AsyncUdpSocket: Send + Sync + Debug + 'static { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 41 | /// 1. Look up the local IP address and port used by this socket [INFO] [stdout] 42 | fn local_addr(&self) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn may_fragment(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn max_receive_segments(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> quinn/src/endpoint.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | config: ClientConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_name` [INFO] [stdout] --> quinn/src/endpoint.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | server_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> quinn/src/endpoint.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut endpoint = self.inner.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> quinn/src/endpoint.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let (sender, events) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv_buf` [INFO] [stdout] --> quinn/src/endpoint.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let recv_buf = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recv_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> quinn/src/endpoint.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | sender: mpsc::UnboundedSender<(ConnectionHandle, EndpointEvent)>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/endpoint.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | fn drive_recv(&mut self, cx: &mut Context, now: Instant) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> quinn/src/endpoint.rs:229:48 [INFO] [stdout] | [INFO] [stdout] 229 | fn drive_recv(&mut self, cx: &mut Context, now: Instant) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/endpoint.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | fn handle_events(&mut self, cx: &mut Context, shared: &Shared) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared` [INFO] [stdout] --> quinn/src/endpoint.rs:233:51 [INFO] [stdout] | [INFO] [stdout] 233 | fn handle_events(&mut self, cx: &mut Context, shared: &Shared) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keep_going` is assigned to, but never used [INFO] [stdout] --> quinn/src/endpoint.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let mut keep_going = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_keep_going` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `keep_going` is never read [INFO] [stdout] --> quinn/src/endpoint.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | keep_going |= endpoint.handle_events(cx, &self.0.shared); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> quinn/src/connection.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> quinn/src/connection.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incoming` and `idle` are never read [INFO] [stdout] --> quinn/src/endpoint.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub(crate) struct Shared { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 223 | incoming: Notify, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 224 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [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 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)]` 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 `Default`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.89s [INFO] running `Command { std: "docker" "inspect" "7a0e66a0acd5539cc0a48a9e4f8e15a2f6704eee2e4adb3c2ae9f7981d7955e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a0e66a0acd5539cc0a48a9e4f8e15a2f6704eee2e4adb3c2ae9f7981d7955e3", kill_on_drop: false }` [INFO] [stdout] 7a0e66a0acd5539cc0a48a9e4f8e15a2f6704eee2e4adb3c2ae9f7981d7955e3