[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] b477c10d82b4e4ca173d9ea06ed1e8df523d1604 [INFO] testing cssivision/quic against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcssivision%2Fquic" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cssivision/quic on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-2/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45b54eb2e06eed3e95c38d3be61b73f57b2e429a5afe91a95fa77e442fb1467c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "45b54eb2e06eed3e95c38d3be61b73f57b2e429a5afe91a95fa77e442fb1467c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45b54eb2e06eed3e95c38d3be61b73f57b2e429a5afe91a95fa77e442fb1467c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b54eb2e06eed3e95c38d3be61b73f57b2e429a5afe91a95fa77e442fb1467c", kill_on_drop: false }` [INFO] [stdout] 45b54eb2e06eed3e95c38d3be61b73f57b2e429a5afe91a95fa77e442fb1467c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] acdedb4f8bc0387c539115a9a552c2b82feac9b40c2035888ab02e89ea70863f [INFO] running `Command { std: "docker" "start" "-a" "acdedb4f8bc0387c539115a9a552c2b82feac9b40c2035888ab02e89ea70863f", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling quic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `LONG_RESERVED_BITS` [INFO] [stdout] --> src/packet.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const LONG_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | 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:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | 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:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | 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:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 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:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / UnsupportedVersion { [INFO] [stdout] 104 | | src_cid: ConnectionId, [INFO] [stdout] 105 | | dst_cid: ConnectionId, [INFO] [stdout] 106 | | version: u32, [INFO] [stdout] 107 | | }, [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:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | 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:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | 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:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | 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:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | 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:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 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:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Packet` [INFO] [stdout] --> src/packet.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Initial` [INFO] [stdout] --> src/packet.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / Initial { [INFO] [stdout] 239 | | token: Bytes, [INFO] [stdout] 240 | | }, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | ZeroRTT, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Handshake, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / Retry { [INFO] [stdout] 244 | | token: Bytes, [INFO] [stdout] 245 | | integrity_tag: [u8; 128], [INFO] [stdout] 246 | | }, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | VersionNegotiate, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.37s [INFO] running `Command { std: "docker" "inspect" "acdedb4f8bc0387c539115a9a552c2b82feac9b40c2035888ab02e89ea70863f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acdedb4f8bc0387c539115a9a552c2b82feac9b40c2035888ab02e89ea70863f", kill_on_drop: false }` [INFO] [stdout] acdedb4f8bc0387c539115a9a552c2b82feac9b40c2035888ab02e89ea70863f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e58aeecf7726523235fda68568c0814200a5a725f0726470ebccdb127bcc245a [INFO] running `Command { std: "docker" "start" "-a" "e58aeecf7726523235fda68568c0814200a5a725f0726470ebccdb127bcc245a", kill_on_drop: false }` [INFO] [stdout] warning: constant is never used: `LONG_RESERVED_BITS` [INFO] [stdout] --> src/packet.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const LONG_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | 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:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | 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:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | 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:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 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:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / UnsupportedVersion { [INFO] [stdout] 104 | | src_cid: ConnectionId, [INFO] [stdout] 105 | | dst_cid: ConnectionId, [INFO] [stdout] 106 | | version: u32, [INFO] [stdout] 107 | | }, [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:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | 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:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | 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:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | 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:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | 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:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 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:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Packet` [INFO] [stdout] --> src/packet.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Initial` [INFO] [stdout] --> src/packet.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / Initial { [INFO] [stdout] 239 | | token: Bytes, [INFO] [stdout] 240 | | }, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | ZeroRTT, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Handshake, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / Retry { [INFO] [stdout] 244 | | token: Bytes, [INFO] [stdout] 245 | | integrity_tag: [u8; 128], [INFO] [stdout] 246 | | }, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | VersionNegotiate, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `LONG_RESERVED_BITS` [INFO] [stdout] --> src/packet.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const LONG_RESERVED_BITS: u8 = 0x0c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packet.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | 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:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | 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:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | 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:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 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:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / UnsupportedVersion { [INFO] [stdout] 104 | | src_cid: ConnectionId, [INFO] [stdout] 105 | | dst_cid: ConnectionId, [INFO] [stdout] 106 | | version: u32, [INFO] [stdout] 107 | | }, [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:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | 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:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | 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:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | 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:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | 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:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 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:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Packet` [INFO] [stdout] --> src/packet.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Initial` [INFO] [stdout] --> src/packet.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / Initial { [INFO] [stdout] 239 | | token: Bytes, [INFO] [stdout] 240 | | }, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | ZeroRTT, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Handshake, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / Retry { [INFO] [stdout] 244 | | token: Bytes, [INFO] [stdout] 245 | | integrity_tag: [u8; 128], [INFO] [stdout] 246 | | }, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | VersionNegotiate, [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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | #[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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "e58aeecf7726523235fda68568c0814200a5a725f0726470ebccdb127bcc245a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58aeecf7726523235fda68568c0814200a5a725f0726470ebccdb127bcc245a", kill_on_drop: false }` [INFO] [stdout] e58aeecf7726523235fda68568c0814200a5a725f0726470ebccdb127bcc245a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3705a9627fc470906e7539c7d48af3e6e6d6765fa192a74f2988595721936f15 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3705a9627fc470906e7539c7d48af3e6e6d6765fa192a74f2988595721936f15", kill_on_drop: false }` [INFO] [stderr] warning: constant is never used: `LONG_RESERVED_BITS` [INFO] [stderr] --> src/packet.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | const LONG_RESERVED_BITS: u8 = 0x0c; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/packet.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | 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:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | 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:61:19 [INFO] [stderr] | [INFO] [stderr] 61 | 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:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | 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:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | 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:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | #[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:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | 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:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | #[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:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | 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:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | #[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:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | 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:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | #[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:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | / UnsupportedVersion { [INFO] [stderr] 104 | | src_cid: ConnectionId, [INFO] [stderr] 105 | | dst_cid: ConnectionId, [INFO] [stderr] 106 | | version: u32, [INFO] [stderr] 107 | | }, [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:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | #[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:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | 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:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | #[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:113:19 [INFO] [stderr] | [INFO] [stderr] 113 | 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:146:19 [INFO] [stderr] | [INFO] [stderr] 146 | pub(crate) fn len(self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode` [INFO] [stderr] --> src/packet.rs:156:19 [INFO] [stderr] | [INFO] [stderr] 156 | 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:166:19 [INFO] [stderr] | [INFO] [stderr] 166 | 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:178:19 [INFO] [stderr] | [INFO] [stderr] 178 | pub(crate) fn full(self, expected: u64) -> u64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Packet` [INFO] [stderr] --> src/packet.rs:227:12 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Packet { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Initial` [INFO] [stderr] --> src/packet.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | / Initial { [INFO] [stderr] 239 | | token: Bytes, [INFO] [stderr] 240 | | }, [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:236:10 [INFO] [stderr] | [INFO] [stderr] 236 | #[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:241:5 [INFO] [stderr] | [INFO] [stderr] 241 | ZeroRTT, [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:236:10 [INFO] [stderr] | [INFO] [stderr] 236 | #[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:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | Handshake, [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:236:10 [INFO] [stderr] | [INFO] [stderr] 236 | #[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:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | / Retry { [INFO] [stderr] 244 | | token: Bytes, [INFO] [stderr] 245 | | integrity_tag: [u8; 128], [INFO] [stderr] 246 | | }, [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:236:10 [INFO] [stderr] | [INFO] [stderr] 236 | #[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:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | VersionNegotiate, [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:236:10 [INFO] [stderr] | [INFO] [stderr] 236 | #[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: `quic` (lib) generated 22 warnings [INFO] [stderr] warning: `quic` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/quic-3e8945f9766b3ba0) [INFO] [stdout] [INFO] [stderr] Doc-tests quic [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] [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" "3705a9627fc470906e7539c7d48af3e6e6d6765fa192a74f2988595721936f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3705a9627fc470906e7539c7d48af3e6e6d6765fa192a74f2988595721936f15", kill_on_drop: false }` [INFO] [stdout] 3705a9627fc470906e7539c7d48af3e6e6d6765fa192a74f2988595721936f15