[INFO] cloning repository https://github.com/cssivision/quic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cssivision/quic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcssivision%2Fquic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcssivision%2Fquic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 968dc8f1848fb06e5843350eaca02c51fac528e6 [INFO] checking cssivision/quic against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcssivision%2Fquic" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cssivision/quic on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cssivision/quic [INFO] finished tweaking git repo https://github.com/cssivision/quic [INFO] tweaked toml for git repo https://github.com/cssivision/quic written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cssivision/quic 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9a64569cb2116ab1ecf94e85ad10936d35f53594f978836fb1915a4b6b53561 [INFO] running `Command { std: "docker" "start" "-a" "d9a64569cb2116ab1ecf94e85ad10936d35f53594f978836fb1915a4b6b53561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9a64569cb2116ab1ecf94e85ad10936d35f53594f978836fb1915a4b6b53561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a64569cb2116ab1ecf94e85ad10936d35f53594f978836fb1915a4b6b53561", kill_on_drop: false }` [INFO] [stdout] d9a64569cb2116ab1ecf94e85ad10936d35f53594f978836fb1915a4b6b53561 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e4ad76c27c5fdf496d47b4ce1653cd2769ee6d6ef4a046f86373e02a352a5e0 [INFO] running `Command { std: "docker" "start" "-a" "9e4ad76c27c5fdf496d47b4ce1653cd2769ee6d6ef4a046f86373e02a352a5e0", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking quic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/frame.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BufMut, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/frame.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BufMut, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/frame.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderKey` is never used [INFO] [stdout] --> src/crypto.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait HeaderKey: Send { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PacketKey` is never used [INFO] [stdout] --> src/crypto.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait PacketKey: Send { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CryptoError` is never constructed [INFO] [stdout] --> src/crypto.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CryptoError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frame` is never used [INFO] [stdout] --> src/frame.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ack` is never constructed [INFO] [stdout] --> src/frame.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Ack { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode` is never used [INFO] [stdout] --> src/frame.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Ack { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 43 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EcnCounts` is never constructed [INFO] [stdout] --> src/frame.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct EcnCounts { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcnCounts` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/frame.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl EcnCounts { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 87 | pub fn encode(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/frame.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_HEADER_RESERVED_BITS` is never used [INFO] [stdout] --> src/packet.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const LONG_HEADER_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_HEADER_FIXED_BIT` is never used [INFO] [stdout] --> src/packet.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const SHORT_HEADER_FIXED_BIT: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_HEADER_SPIN_BIT` is never used [INFO] [stdout] --> src/packet.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const SHORT_HEADER_SPIN_BIT: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_HEADER_KEY_PHASE_BIT` is never used [INFO] [stdout] --> src/packet.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SHORT_HEADER_KEY_PHASE_BIT: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CONNECTION_ID_LENGTH` is never used [INFO] [stdout] --> src/packet.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const MAX_CONNECTION_ID_LENGTH: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionId` is never constructed [INFO] [stdout] --> src/packet.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ConnectionId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_buf`, `decode`, and `encode` are never used [INFO] [stdout] --> src/packet.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl ConnectionId { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(data: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(crate) fn from_buf(buf: &mut impl Buf, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn decode(buf: &mut impl Buf) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn encode(&self, buf: &mut impl BufMut) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketNumber` is never used [INFO] [stdout] --> src/packet.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum PacketNumber { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketNumber` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketDecodeError` is never used [INFO] [stdout] --> src/packet.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum PacketDecodeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketDecodeError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `encode`, `decode`, and `full` are never used [INFO] [stdout] --> src/packet.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 127 | impl PacketNumber { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 128 | pub(crate) fn new(n: u64, largest_acked: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub(crate) fn encode(self, w: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub(crate) fn decode(len: usize, r: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Packet` is never constructed [INFO] [stdout] --> src/packet.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Header` is never used [INFO] [stdout] --> src/packet.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartialEncode` is never constructed [INFO] [stdout] --> src/packet.rs:288:19 [INFO] [stdout] | [INFO] [stdout] 288 | pub(crate) struct PartialEncode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/packet.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 295 | impl PartialEncode { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 296 | pub(crate) fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/packet.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 329 | impl Header { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 330 | pub(crate) fn encode(&self, w: &mut Vec) -> PartialEncode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/range_set/mod.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ArrayRangeSet(TinyVec<[Range; ARRAY_RANGE_SET_INLINE_CAPACITY]>); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ArrayRangeSet` 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 `iter` and `len` are never used [INFO] [stdout] --> src/range_set/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ArrayRangeSet { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 11 | pub fn iter(&self) -> impl DoubleEndedIterator> + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/varint.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn encode(x: u64, buf: &mut B) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/varint.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn decode(b: &mut B) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderKey` is never used [INFO] [stdout] --> src/crypto.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait HeaderKey: Send { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PacketKey` is never used [INFO] [stdout] --> src/crypto.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait PacketKey: Send { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CryptoError` is never constructed [INFO] [stdout] --> src/crypto.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CryptoError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frame` is never used [INFO] [stdout] --> src/frame.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ack` is never constructed [INFO] [stdout] --> src/frame.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Ack { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode` is never used [INFO] [stdout] --> src/frame.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Ack { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 43 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EcnCounts` is never constructed [INFO] [stdout] --> src/frame.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct EcnCounts { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcnCounts` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/frame.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl EcnCounts { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 87 | pub fn encode(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_HEADER_RESERVED_BITS` is never used [INFO] [stdout] --> src/packet.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const LONG_HEADER_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_HEADER_FIXED_BIT` is never used [INFO] [stdout] --> src/packet.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const SHORT_HEADER_FIXED_BIT: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_HEADER_SPIN_BIT` is never used [INFO] [stdout] --> src/packet.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const SHORT_HEADER_SPIN_BIT: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_HEADER_KEY_PHASE_BIT` is never used [INFO] [stdout] --> src/packet.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SHORT_HEADER_KEY_PHASE_BIT: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CONNECTION_ID_LENGTH` is never used [INFO] [stdout] --> src/packet.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const MAX_CONNECTION_ID_LENGTH: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionId` is never constructed [INFO] [stdout] --> src/packet.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ConnectionId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_buf`, `decode`, and `encode` are never used [INFO] [stdout] --> src/packet.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl ConnectionId { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(data: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(crate) fn from_buf(buf: &mut impl Buf, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn decode(buf: &mut impl Buf) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn encode(&self, buf: &mut impl BufMut) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketNumber` is never used [INFO] [stdout] --> src/packet.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum PacketNumber { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketNumber` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketDecodeError` is never used [INFO] [stdout] --> src/packet.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum PacketDecodeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketDecodeError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `encode`, `decode`, and `full` are never used [INFO] [stdout] --> src/packet.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 127 | impl PacketNumber { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 128 | pub(crate) fn new(n: u64, largest_acked: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub(crate) fn encode(self, w: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub(crate) fn decode(len: usize, r: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Packet` is never constructed [INFO] [stdout] --> src/packet.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Header` is never used [INFO] [stdout] --> src/packet.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartialEncode` is never constructed [INFO] [stdout] --> src/packet.rs:288:19 [INFO] [stdout] | [INFO] [stdout] 288 | pub(crate) struct PartialEncode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/packet.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 295 | impl PartialEncode { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 296 | pub(crate) fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/packet.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 329 | impl Header { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 330 | pub(crate) fn encode(&self, w: &mut Vec) -> PartialEncode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/range_set/mod.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ArrayRangeSet(TinyVec<[Range; ARRAY_RANGE_SET_INLINE_CAPACITY]>); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ArrayRangeSet` 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 `iter` and `len` are never used [INFO] [stdout] --> src/range_set/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ArrayRangeSet { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 11 | pub fn iter(&self) -> impl DoubleEndedIterator> + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/varint.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn encode(x: u64, buf: &mut B) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/varint.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn decode(b: &mut B) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.36s [INFO] running `Command { std: "docker" "inspect" "9e4ad76c27c5fdf496d47b4ce1653cd2769ee6d6ef4a046f86373e02a352a5e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4ad76c27c5fdf496d47b4ce1653cd2769ee6d6ef4a046f86373e02a352a5e0", kill_on_drop: false }` [INFO] [stdout] 9e4ad76c27c5fdf496d47b4ce1653cd2769ee6d6ef4a046f86373e02a352a5e0