[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] testing cssivision/quic against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcssivision%2Fquic" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cssivision/quic on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-94/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls v0.20.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b2afea33533e021989d92ba912280860705d050344b2c7ca892f62e569b07cd [INFO] running `Command { std: "docker" "start" "-a" "3b2afea33533e021989d92ba912280860705d050344b2c7ca892f62e569b07cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b2afea33533e021989d92ba912280860705d050344b2c7ca892f62e569b07cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2afea33533e021989d92ba912280860705d050344b2c7ca892f62e569b07cd", kill_on_drop: false }` [INFO] [stdout] 3b2afea33533e021989d92ba912280860705d050344b2c7ca892f62e569b07cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78e8a8df64a83da164f2924824daedff3fba0b03af589b407c92936c01c40881 [INFO] running `Command { std: "docker" "start" "-a" "78e8a8df64a83da164f2924824daedff3fba0b03af589b407c92936c01c40881", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling 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 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: variant is never constructed: `Padding` [INFO] [stdout] --> src/frame.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/frame.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Ping, [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] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ack` [INFO] [stdout] --> src/frame.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ack(Ack), [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] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/frame.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/frame.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn encode(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LONG_HEADER_RESERVED_BITS` [INFO] [stdout] --> src/packet.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const LONG_HEADER_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_FIXED_BIT` [INFO] [stdout] --> src/packet.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const SHORT_HEADER_FIXED_BIT: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_SPIN_BIT` [INFO] [stdout] --> src/packet.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const SHORT_HEADER_SPIN_BIT: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_KEY_PHASE_BIT` [INFO] [stdout] --> src/packet.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SHORT_HEADER_KEY_PHASE_BIT: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(data: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_buf` [INFO] [stdout] --> src/packet.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn from_buf(buf: &mut impl Buf, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/packet.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn decode(buf: &mut impl Buf) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) fn encode(&self, buf: &mut impl BufMut) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U8` [INFO] [stdout] --> src/packet.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | U8(u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U16` [INFO] [stdout] --> src/packet.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | U16(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U24` [INFO] [stdout] --> src/packet.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | U24(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U32` [INFO] [stdout] --> src/packet.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | U32(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedVersion` [INFO] [stdout] --> src/packet.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / UnsupportedVersion { [INFO] [stdout] 119 | | src_cid: ConnectionId, [INFO] [stdout] 120 | | dst_cid: ConnectionId, [INFO] [stdout] 121 | | version: u32, [INFO] [stdout] 122 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidHeader` [INFO] [stdout] --> src/packet.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | InvalidHeader(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn new(n: u64, largest_acked: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/packet.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) fn encode(self, w: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/packet.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | pub(crate) fn decode(len: usize, r: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full` [INFO] [stdout] --> src/packet.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/packet.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | header: Header, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header_data` [INFO] [stdout] --> src/packet.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) header_data: Bytes, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `payload` [INFO] [stdout] --> src/packet.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub(crate) payload: BytesMut, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Initial` [INFO] [stdout] --> src/packet.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | / Initial { [INFO] [stdout] 252 | | number: PacketNumber, [INFO] [stdout] 253 | | version: u32, [INFO] [stdout] 254 | | dst_cid: ConnectionId, [INFO] [stdout] 255 | | src_cid: ConnectionId, [INFO] [stdout] 256 | | token: Bytes, [INFO] [stdout] 257 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZeroRTT` [INFO] [stdout] --> src/packet.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / ZeroRTT { [INFO] [stdout] 259 | | number: PacketNumber, [INFO] [stdout] 260 | | version: u32, [INFO] [stdout] 261 | | dst_cid: ConnectionId, [INFO] [stdout] 262 | | src_cid: ConnectionId, [INFO] [stdout] 263 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Handshake` [INFO] [stdout] --> src/packet.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / Handshake { [INFO] [stdout] 265 | | number: PacketNumber, [INFO] [stdout] 266 | | version: u32, [INFO] [stdout] 267 | | dst_cid: ConnectionId, [INFO] [stdout] 268 | | src_cid: ConnectionId, [INFO] [stdout] 269 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Retry` [INFO] [stdout] --> src/packet.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / Retry { [INFO] [stdout] 271 | | version: u32, [INFO] [stdout] 272 | | dst_cid: ConnectionId, [INFO] [stdout] 273 | | src_cid: ConnectionId, [INFO] [stdout] 274 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VersionNegotiate` [INFO] [stdout] --> src/packet.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / VersionNegotiate { [INFO] [stdout] 276 | | random: u8, [INFO] [stdout] 277 | | src_cid: ConnectionId, [INFO] [stdout] 278 | | dst_cid: ConnectionId, [INFO] [stdout] 279 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Short` [INFO] [stdout] --> src/packet.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | / Short { [INFO] [stdout] 281 | | spin: bool, [INFO] [stdout] 282 | | key_phase: bool, [INFO] [stdout] 283 | | dst_cid: ConnectionId, [INFO] [stdout] 284 | | number: PacketNumber, [INFO] [stdout] 285 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PartialEncode` [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: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | pub(crate) fn encode(&self, w: &mut Vec) -> PartialEncode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/range_set/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn iter(&self) -> impl DoubleEndedIterator> + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/range_set/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [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 is never used: `decode` [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: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.46s [INFO] running `Command { std: "docker" "inspect" "78e8a8df64a83da164f2924824daedff3fba0b03af589b407c92936c01c40881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e8a8df64a83da164f2924824daedff3fba0b03af589b407c92936c01c40881", kill_on_drop: false }` [INFO] [stdout] 78e8a8df64a83da164f2924824daedff3fba0b03af589b407c92936c01c40881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71dacbe39c17e50197c5dd3f25814450c6b2274b0d4810b8dec8ad31656eab76 [INFO] running `Command { std: "docker" "start" "-a" "71dacbe39c17e50197c5dd3f25814450c6b2274b0d4810b8dec8ad31656eab76", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: variant is never constructed: `Padding` [INFO] [stdout] --> src/frame.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/frame.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Ping, [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] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ack` [INFO] [stdout] --> src/frame.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ack(Ack), [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] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/frame.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/frame.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn encode(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LONG_HEADER_RESERVED_BITS` [INFO] [stdout] --> src/packet.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const LONG_HEADER_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_FIXED_BIT` [INFO] [stdout] --> src/packet.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const SHORT_HEADER_FIXED_BIT: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_SPIN_BIT` [INFO] [stdout] --> src/packet.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const SHORT_HEADER_SPIN_BIT: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_KEY_PHASE_BIT` [INFO] [stdout] --> src/packet.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SHORT_HEADER_KEY_PHASE_BIT: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(data: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_buf` [INFO] [stdout] --> src/packet.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn from_buf(buf: &mut impl Buf, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/packet.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn decode(buf: &mut impl Buf) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) fn encode(&self, buf: &mut impl BufMut) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U8` [INFO] [stdout] --> src/packet.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | U8(u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U16` [INFO] [stdout] --> src/packet.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | U16(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U24` [INFO] [stdout] --> src/packet.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | U24(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U32` [INFO] [stdout] --> src/packet.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | U32(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedVersion` [INFO] [stdout] --> src/packet.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / UnsupportedVersion { [INFO] [stdout] 119 | | src_cid: ConnectionId, [INFO] [stdout] 120 | | dst_cid: ConnectionId, [INFO] [stdout] 121 | | version: u32, [INFO] [stdout] 122 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `InvalidHeader` [INFO] [stdout] --> src/packet.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | InvalidHeader(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn new(n: u64, largest_acked: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/packet.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) fn encode(self, w: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/packet.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | pub(crate) fn decode(len: usize, r: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full` [INFO] [stdout] --> src/packet.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/packet.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | header: Header, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header_data` [INFO] [stdout] --> src/packet.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) header_data: Bytes, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `payload` [INFO] [stdout] --> src/packet.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub(crate) payload: BytesMut, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Initial` [INFO] [stdout] --> src/packet.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | / Initial { [INFO] [stdout] 252 | | number: PacketNumber, [INFO] [stdout] 253 | | version: u32, [INFO] [stdout] 254 | | dst_cid: ConnectionId, [INFO] [stdout] 255 | | src_cid: ConnectionId, [INFO] [stdout] 256 | | token: Bytes, [INFO] [stdout] 257 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZeroRTT` [INFO] [stdout] --> src/packet.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / ZeroRTT { [INFO] [stdout] 259 | | number: PacketNumber, [INFO] [stdout] 260 | | version: u32, [INFO] [stdout] 261 | | dst_cid: ConnectionId, [INFO] [stdout] 262 | | src_cid: ConnectionId, [INFO] [stdout] 263 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Handshake` [INFO] [stdout] --> src/packet.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / Handshake { [INFO] [stdout] 265 | | number: PacketNumber, [INFO] [stdout] 266 | | version: u32, [INFO] [stdout] 267 | | dst_cid: ConnectionId, [INFO] [stdout] 268 | | src_cid: ConnectionId, [INFO] [stdout] 269 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Retry` [INFO] [stdout] --> src/packet.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / Retry { [INFO] [stdout] 271 | | version: u32, [INFO] [stdout] 272 | | dst_cid: ConnectionId, [INFO] [stdout] 273 | | src_cid: ConnectionId, [INFO] [stdout] 274 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VersionNegotiate` [INFO] [stdout] --> src/packet.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / VersionNegotiate { [INFO] [stdout] 276 | | random: u8, [INFO] [stdout] 277 | | src_cid: ConnectionId, [INFO] [stdout] 278 | | dst_cid: ConnectionId, [INFO] [stdout] 279 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Short` [INFO] [stdout] --> src/packet.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | / Short { [INFO] [stdout] 281 | | spin: bool, [INFO] [stdout] 282 | | key_phase: bool, [INFO] [stdout] 283 | | dst_cid: ConnectionId, [INFO] [stdout] 284 | | number: PacketNumber, [INFO] [stdout] 285 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PartialEncode` [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: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | pub(crate) fn encode(&self, w: &mut Vec) -> PartialEncode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/range_set/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn iter(&self) -> impl DoubleEndedIterator> + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/range_set/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [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 is never used: `decode` [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: 42 warnings emitted [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: variant is never constructed: `Padding` [INFO] [stdout] --> src/frame.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ping` [INFO] [stdout] --> src/frame.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Ping, [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] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ack` [INFO] [stdout] --> src/frame.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ack(Ack), [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] --> src/frame.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/frame.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/frame.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn encode(&self, buf: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LONG_HEADER_RESERVED_BITS` [INFO] [stdout] --> src/packet.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const LONG_HEADER_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_FIXED_BIT` [INFO] [stdout] --> src/packet.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const SHORT_HEADER_FIXED_BIT: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_SPIN_BIT` [INFO] [stdout] --> src/packet.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const SHORT_HEADER_SPIN_BIT: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORT_HEADER_KEY_PHASE_BIT` [INFO] [stdout] --> src/packet.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SHORT_HEADER_KEY_PHASE_BIT: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(data: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_buf` [INFO] [stdout] --> src/packet.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn from_buf(buf: &mut impl Buf, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/packet.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn decode(buf: &mut impl Buf) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) fn encode(&self, buf: &mut impl BufMut) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U8` [INFO] [stdout] --> src/packet.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | U8(u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U16` [INFO] [stdout] --> src/packet.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | U16(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U24` [INFO] [stdout] --> src/packet.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | U24(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U32` [INFO] [stdout] --> src/packet.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | U32(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedVersion` [INFO] [stdout] --> src/packet.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / UnsupportedVersion { [INFO] [stdout] 119 | | src_cid: ConnectionId, [INFO] [stdout] 120 | | dst_cid: ConnectionId, [INFO] [stdout] 121 | | version: u32, [INFO] [stdout] 122 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidHeader` [INFO] [stdout] --> src/packet.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | InvalidHeader(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn new(n: u64, largest_acked: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/packet.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn len(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) fn encode(self, w: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/packet.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | pub(crate) fn decode(len: usize, r: &mut R) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full` [INFO] [stdout] --> src/packet.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/packet.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | header: Header, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header_data` [INFO] [stdout] --> src/packet.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) header_data: Bytes, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `payload` [INFO] [stdout] --> src/packet.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub(crate) payload: BytesMut, [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] --> src/packet.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Initial` [INFO] [stdout] --> src/packet.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | / Initial { [INFO] [stdout] 252 | | number: PacketNumber, [INFO] [stdout] 253 | | version: u32, [INFO] [stdout] 254 | | dst_cid: ConnectionId, [INFO] [stdout] 255 | | src_cid: ConnectionId, [INFO] [stdout] 256 | | token: Bytes, [INFO] [stdout] 257 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZeroRTT` [INFO] [stdout] --> src/packet.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / ZeroRTT { [INFO] [stdout] 259 | | number: PacketNumber, [INFO] [stdout] 260 | | version: u32, [INFO] [stdout] 261 | | dst_cid: ConnectionId, [INFO] [stdout] 262 | | src_cid: ConnectionId, [INFO] [stdout] 263 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Handshake` [INFO] [stdout] --> src/packet.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / Handshake { [INFO] [stdout] 265 | | number: PacketNumber, [INFO] [stdout] 266 | | version: u32, [INFO] [stdout] 267 | | dst_cid: ConnectionId, [INFO] [stdout] 268 | | src_cid: ConnectionId, [INFO] [stdout] 269 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Retry` [INFO] [stdout] --> src/packet.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / Retry { [INFO] [stdout] 271 | | version: u32, [INFO] [stdout] 272 | | dst_cid: ConnectionId, [INFO] [stdout] 273 | | src_cid: ConnectionId, [INFO] [stdout] 274 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VersionNegotiate` [INFO] [stdout] --> src/packet.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / VersionNegotiate { [INFO] [stdout] 276 | | random: u8, [INFO] [stdout] 277 | | src_cid: ConnectionId, [INFO] [stdout] 278 | | dst_cid: ConnectionId, [INFO] [stdout] 279 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Short` [INFO] [stdout] --> src/packet.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | / Short { [INFO] [stdout] 281 | | spin: bool, [INFO] [stdout] 282 | | key_phase: bool, [INFO] [stdout] 283 | | dst_cid: ConnectionId, [INFO] [stdout] 284 | | number: PacketNumber, [INFO] [stdout] 285 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/packet.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PartialEncode` [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: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/packet.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | pub(crate) fn encode(&self, w: &mut Vec) -> PartialEncode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/range_set/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn iter(&self) -> impl DoubleEndedIterator> + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/range_set/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [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 is never used: `decode` [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: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.17s [INFO] running `Command { std: "docker" "inspect" "71dacbe39c17e50197c5dd3f25814450c6b2274b0d4810b8dec8ad31656eab76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71dacbe39c17e50197c5dd3f25814450c6b2274b0d4810b8dec8ad31656eab76", kill_on_drop: false }` [INFO] [stdout] 71dacbe39c17e50197c5dd3f25814450c6b2274b0d4810b8dec8ad31656eab76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f431f2d7835b930c25adff5fce9fa75b5b715bcdf9714d4c9ea29f36c892104 [INFO] running `Command { std: "docker" "start" "-a" "1f431f2d7835b930c25adff5fce9fa75b5b715bcdf9714d4c9ea29f36c892104", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Buf` [INFO] [stderr] --> src/frame.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use bytes::{Buf, BufMut, Bytes}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/frame.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Padding` [INFO] [stderr] --> src/frame.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Padding, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/frame.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ping` [INFO] [stderr] --> src/frame.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Ping, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/frame.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ack` [INFO] [stderr] --> src/frame.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Ack(Ack), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/frame.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode` [INFO] [stderr] --> src/frame.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn encode( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode` [INFO] [stderr] --> src/frame.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn encode(&self, buf: &mut W) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LONG_HEADER_RESERVED_BITS` [INFO] [stderr] --> src/packet.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const LONG_HEADER_RESERVED_BITS: u8 = 0x0c; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SHORT_HEADER_FIXED_BIT` [INFO] [stderr] --> src/packet.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const SHORT_HEADER_FIXED_BIT: u8 = 0x40; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SHORT_HEADER_SPIN_BIT` [INFO] [stderr] --> src/packet.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const SHORT_HEADER_SPIN_BIT: u8 = 0x20; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SHORT_HEADER_KEY_PHASE_BIT` [INFO] [stderr] --> src/packet.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | const SHORT_HEADER_KEY_PHASE_BIT: u8 = 0x04; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/packet.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(data: &[u8]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_buf` [INFO] [stderr] --> src/packet.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) fn from_buf(buf: &mut impl Buf, len: usize) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `decode` [INFO] [stderr] --> src/packet.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | pub(crate) fn decode(buf: &mut impl Buf) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode` [INFO] [stderr] --> src/packet.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 86 | pub(crate) fn encode(&self, buf: &mut impl BufMut) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `U8` [INFO] [stderr] --> src/packet.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | U8(u8), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `U16` [INFO] [stderr] --> src/packet.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | U16(u16), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `U24` [INFO] [stderr] --> src/packet.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | U24(u32), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `U32` [INFO] [stderr] --> src/packet.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | U32(u32), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PacketNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnsupportedVersion` [INFO] [stderr] --> src/packet.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | / UnsupportedVersion { [INFO] [stderr] 119 | | src_cid: ConnectionId, [INFO] [stderr] 120 | | dst_cid: ConnectionId, [INFO] [stderr] 121 | | version: u32, [INFO] [stderr] 122 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidHeader` [INFO] [stderr] --> src/packet.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | InvalidHeader(&'static str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PacketDecodeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug, Error, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/packet.rs:128:19 [INFO] [stderr] | [INFO] [stderr] 128 | pub(crate) fn new(n: u64, largest_acked: u64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `len` [INFO] [stderr] --> src/packet.rs:161:19 [INFO] [stderr] | [INFO] [stderr] 161 | pub(crate) fn len(self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode` [INFO] [stderr] --> src/packet.rs:171:19 [INFO] [stderr] | [INFO] [stderr] 171 | pub(crate) fn encode(self, w: &mut W) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `decode` [INFO] [stderr] --> src/packet.rs:181:19 [INFO] [stderr] | [INFO] [stderr] 181 | pub(crate) fn decode(len: usize, r: &mut R) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `full` [INFO] [stderr] --> src/packet.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `header` [INFO] [stderr] --> src/packet.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | header: Header, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:242:10 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `header_data` [INFO] [stderr] --> src/packet.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) header_data: Bytes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:242:10 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `payload` [INFO] [stderr] --> src/packet.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | pub(crate) payload: BytesMut, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:242:10 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Initial` [INFO] [stderr] --> src/packet.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | / Initial { [INFO] [stderr] 252 | | number: PacketNumber, [INFO] [stderr] 253 | | version: u32, [INFO] [stderr] 254 | | dst_cid: ConnectionId, [INFO] [stderr] 255 | | src_cid: ConnectionId, [INFO] [stderr] 256 | | token: Bytes, [INFO] [stderr] 257 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ZeroRTT` [INFO] [stderr] --> src/packet.rs:258:5 [INFO] [stderr] | [INFO] [stderr] 258 | / ZeroRTT { [INFO] [stderr] 259 | | number: PacketNumber, [INFO] [stderr] 260 | | version: u32, [INFO] [stderr] 261 | | dst_cid: ConnectionId, [INFO] [stderr] 262 | | src_cid: ConnectionId, [INFO] [stderr] 263 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Handshake` [INFO] [stderr] --> src/packet.rs:264:5 [INFO] [stderr] | [INFO] [stderr] 264 | / Handshake { [INFO] [stderr] 265 | | number: PacketNumber, [INFO] [stderr] 266 | | version: u32, [INFO] [stderr] 267 | | dst_cid: ConnectionId, [INFO] [stderr] 268 | | src_cid: ConnectionId, [INFO] [stderr] 269 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Retry` [INFO] [stderr] --> src/packet.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | / Retry { [INFO] [stderr] 271 | | version: u32, [INFO] [stderr] 272 | | dst_cid: ConnectionId, [INFO] [stderr] 273 | | src_cid: ConnectionId, [INFO] [stderr] 274 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VersionNegotiate` [INFO] [stderr] --> src/packet.rs:275:5 [INFO] [stderr] | [INFO] [stderr] 275 | / VersionNegotiate { [INFO] [stderr] 276 | | random: u8, [INFO] [stderr] 277 | | src_cid: ConnectionId, [INFO] [stderr] 278 | | dst_cid: ConnectionId, [INFO] [stderr] 279 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Short` [INFO] [stderr] --> src/packet.rs:280:5 [INFO] [stderr] | [INFO] [stderr] 280 | / Short { [INFO] [stderr] 281 | | spin: bool, [INFO] [stderr] 282 | | key_phase: bool, [INFO] [stderr] 283 | | dst_cid: ConnectionId, [INFO] [stderr] 284 | | number: PacketNumber, [INFO] [stderr] 285 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/packet.rs:249:10 [INFO] [stderr] | [INFO] [stderr] 249 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `PartialEncode` [INFO] [stderr] --> src/packet.rs:288:19 [INFO] [stderr] | [INFO] [stderr] 288 | pub(crate) struct PartialEncode { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode` [INFO] [stderr] --> src/packet.rs:296:19 [INFO] [stderr] | [INFO] [stderr] 296 | pub(crate) fn encode( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode` [INFO] [stderr] --> src/packet.rs:330:19 [INFO] [stderr] | [INFO] [stderr] 330 | pub(crate) fn encode(&self, w: &mut Vec) -> PartialEncode { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iter` [INFO] [stderr] --> src/range_set/mod.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn iter(&self) -> impl DoubleEndedIterator> + '_ { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `len` [INFO] [stderr] --> src/range_set/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `encode` [INFO] [stderr] --> src/varint.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) fn encode(x: u64, buf: &mut B) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `decode` [INFO] [stderr] --> src/varint.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) fn decode(b: &mut B) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `quic` (lib) generated 42 warnings [INFO] [stderr] warning: `quic` (lib test) generated 42 warnings (42 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.48s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/quic-d220358dadc272e3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests quic [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f431f2d7835b930c25adff5fce9fa75b5b715bcdf9714d4c9ea29f36c892104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f431f2d7835b930c25adff5fce9fa75b5b715bcdf9714d4c9ea29f36c892104", kill_on_drop: false }` [INFO] [stdout] 1f431f2d7835b930c25adff5fce9fa75b5b715bcdf9714d4c9ea29f36c892104