[INFO] fetching crate flowly-mpegts 0.2.2...
[INFO] testing flowly-mpegts-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate flowly-mpegts 0.2.2 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate flowly-mpegts 0.2.2
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate flowly-mpegts 0.2.2
[INFO] tweaked toml for crates.io crate flowly-mpegts 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate flowly-mpegts 0.2.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate flowly-mpegts 0.2.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f62bbf068ff345426c1fe6a541ea792c371318939fdfc8d659c0548a0a40c527
[INFO] running `Command { std: "docker" "start" "-a" "f62bbf068ff345426c1fe6a541ea792c371318939fdfc8d659c0548a0a40c527", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f62bbf068ff345426c1fe6a541ea792c371318939fdfc8d659c0548a0a40c527", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f62bbf068ff345426c1fe6a541ea792c371318939fdfc8d659c0548a0a40c527", kill_on_drop: false }`
[INFO] [stdout] f62bbf068ff345426c1fe6a541ea792c371318939fdfc8d659c0548a0a40c527
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eccde6ad30f82a98bad5b1c9cd7e706acabd8ec3a6ff22f2e94473c21049de42
[INFO] running `Command { std: "docker" "start" "-a" "eccde6ad30f82a98bad5b1c9cd7e706acabd8ec3a6ff22f2e94473c21049de42", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling trackable_derive v1.0.0
[INFO] [stderr]    Compiling trackable v1.3.0
[INFO] [stderr]    Compiling mpeg2ts v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling stream-cancel v0.8.2
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling flowly-core v0.2.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling flowly-service v0.2.0
[INFO] [stderr]    Compiling flowly-spsc v0.2.0
[INFO] [stderr]    Compiling flowly-io v0.2.4
[INFO] [stderr]    Compiling flowly v0.2.4
[INFO] [stderr]    Compiling flowly-mpegts v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self`
[INFO] [stdout]  --> src/mpegts/crc32.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{self, Read, Write},
[INFO] [stdout]   |          ^^^^  ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/mpegts/io.rs:826:19
[INFO] [stdout]     |
[INFO] [stdout] 825 |             pointer_field: todo!(),
[INFO] [stdout]     |                            ------- any code following this expression is unreachable
[INFO] [stdout] 826 |             data: todo!(),
[INFO] [stdout]     |                   ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]     --> src/mpegts/io.rs:1023:16
[INFO] [stdout]      |
[INFO] [stdout] 1023 |         writer.put_u16(todo!());
[INFO] [stdout]      |                ^^^^^^^ ------- any code following this expression is unreachable
[INFO] [stdout]      |                |
[INFO] [stdout]      |                unreachable call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]   --> src/mpegts/timestamp.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub(crate) fn check_bits(&self, arg: u8) -> Result<(), Error> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/mpegts/io.rs:70:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn serialize(&mut self, item: &TsHeader, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/mpegts/io.rs:70:46
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn serialize(&mut self, item: &TsHeader, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]    |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         item: &Option<AdaptationField>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         item: &Timestamp<PtsDts>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         item: &Timestamp<Clock<PCR>>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |         item: &Timestamp<Clock<ESCR>>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         item: &AdaptationExtensionField,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:274:29
[INFO] [stdout]     |
[INFO] [stdout] 274 |     fn serialize(&mut self, item: &Pid, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 |     fn serialize(&mut self, item: &Pid, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:817:29
[INFO] [stdout]     |
[INFO] [stdout] 817 |     fn serialize(&mut self, item: &Descriptor, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:817:48
[INFO] [stdout]     |
[INFO] [stdout] 817 |     fn serialize(&mut self, item: &Descriptor, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/mpegts/io.rs:823:25
[INFO] [stdout]     |
[INFO] [stdout] 823 |     fn parse(&mut self, input: &mut impl Buf) -> Result<Section, Error> {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:830:29
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn serialize(&mut self, item: &Section, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:830:45
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn serialize(&mut self, item: &Section, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:839:29
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn serialize(&mut self, item: &Null, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:839:42
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn serialize(&mut self, item: &Null, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/mpegts/io.rs:1025:13
[INFO] [stdout]      |
[INFO] [stdout] 1025 |         let n = 0b1000_0000
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/mpegts/io.rs:1037:13
[INFO] [stdout]      |
[INFO] [stdout] 1037 |         let n = ((item.pts.is_some() as u8) << 7)
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pes_header_len`
[INFO] [stdout]     --> src/mpegts/io.rs:1043:13
[INFO] [stdout]      |
[INFO] [stdout] 1043 |         let pes_header_len = item.optional_header_len() as u8 - 3;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pes_header_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1046:21
[INFO] [stdout]      |
[INFO] [stdout] 1046 |         if let Some(x) = item.pts {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_bits`
[INFO] [stdout]     --> src/mpegts/io.rs:1047:17
[INFO] [stdout]      |
[INFO] [stdout] 1047 |             let check_bits = if item.dts.is_some() { 3 } else { 2 };
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1048:13
[INFO] [stdout]      |
[INFO] [stdout] 1048 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1051:21
[INFO] [stdout]      |
[INFO] [stdout] 1051 |         if let Some(x) = item.dts {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_bits`
[INFO] [stdout]     --> src/mpegts/io.rs:1052:17
[INFO] [stdout]      |
[INFO] [stdout] 1052 |             let check_bits = 1;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1053:13
[INFO] [stdout]      |
[INFO] [stdout] 1053 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1055:21
[INFO] [stdout]      |
[INFO] [stdout] 1055 |         if let Some(x) = item.escr {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1056:13
[INFO] [stdout]      |
[INFO] [stdout] 1056 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mpeg2TsFrame` is never constructed
[INFO] [stdout]  --> src/frame.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Mpeg2TsFrame {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WritableLen` is never used
[INFO] [stdout]   --> src/mpegts.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait WritableLen {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawData` is never constructed
[INFO] [stdout]   --> src/mpegts/bytes.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct RawData {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_SIZE` and `new` are never used
[INFO] [stdout]   --> src/mpegts/bytes.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl RawData {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 19 |     /// Maximum size of a byte sequence.
[INFO] [stdout] 20 |     pub const MAX_SIZE: usize = TsPacket::SIZE - 4 /* the size of the sync byte and a header */;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn new(bytes: &[u8]) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContinuityCounter` is never constructed
[INFO] [stdout]  --> src/mpegts/continuity_counter.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ContinuityCounter(u8);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, `from_u8`, `as_u8`, and `increment` are never used
[INFO] [stdout]   --> src/mpegts/continuity_counter.rs:8:15
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl ContinuityCounter {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout]  7 |     /// Maximum counter value.
[INFO] [stdout]  8 |     pub const MAX: u8 = (1 << 4) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn from_u8(n: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn increment(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CRC32_TABLE` is never used
[INFO] [stdout]  --> src/mpegts/crc32.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const CRC32_TABLE: &[u32] = &[
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Crc32` is never constructed
[INFO] [stdout]   --> src/mpegts/crc32.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Crc32(u32);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `value` are never used
[INFO] [stdout]   --> src/mpegts/crc32.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Crc32 {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn update(&mut self, data: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn value(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithCrc32` is never constructed
[INFO] [stdout]   --> src/mpegts/crc32.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct WithCrc32<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `crc32` are never used
[INFO] [stdout]   --> src/mpegts/crc32.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl<T> WithCrc32<T> {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 70 |     pub fn new(stream: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn crc32(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LegalTimeWindow` is never constructed
[INFO] [stdout]  --> src/mpegts/legal_time_window.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LegalTimeWindow {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_OFFSET`, `new`, `is_valid`, and `offset` are never used
[INFO] [stdout]   --> src/mpegts/legal_time_window.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl LegalTimeWindow {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 14 |     /// Maximum offset value.
[INFO] [stdout] 15 |     pub const MAX_OFFSET: u16 = (1 << 15) - 1;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn new(is_valid: bool, offset: u16) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn offset(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PidKind` is never used
[INFO] [stdout]  --> src/mpegts/pid.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum PidKind {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pid` is never constructed
[INFO] [stdout]   --> src/mpegts/pid.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Pid(pub(crate) u16);
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `PAT`, `NULL`, `new`, and `as_u16` are never used
[INFO] [stdout]   --> src/mpegts/pid.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Pid {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 16 |     /// Maximum PID value.
[INFO] [stdout] 17 |     pub const MAX: u16 = (1 << 13) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub const PAT: u16 = 0;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub const NULL: u16 = 0x1FFF;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(pid: u16) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn as_u16(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PiecewiseRate` is never constructed
[INFO] [stdout]  --> src/mpegts/piecewise_rate.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct PiecewiseRate(pub(crate) u32);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, and `as_u32` are never used
[INFO] [stdout]   --> src/mpegts/piecewise_rate.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl PiecewiseRate {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 10 |     /// Maximum rate.
[INFO] [stdout] 11 |     pub const MAX: u32 = (1 << 22) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn new(rate: u32) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn as_u32(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SeamlessSplice` is never constructed
[INFO] [stdout]  --> src/mpegts/seamless_splice.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SeamlessSplice {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_SPLICE_TYPE`, `new`, `splice_type`, and `dts_next_access_unit` are never used
[INFO] [stdout]   --> src/mpegts/seamless_splice.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl SeamlessSplice {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 14 |     /// Maximum splice type value.
[INFO] [stdout] 15 |     pub const MAX_SPLICE_TYPE: u8 = (1 << 4) - 1;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn new(splice_type: u8, dts_next_access_unit: Timestamp<PtsDts>) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn splice_type(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn dts_next_access_unit(&self) -> Timestamp<PtsDts> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamId` is never constructed
[INFO] [stdout]  --> src/mpegts/stream_id.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct StreamId(u8);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/mpegts/stream_id.rs:9:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl StreamId {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  8 |     /// Minimum value of the identifiers for audio streams.
[INFO] [stdout]  9 |     pub const AUDIO_MIN: u8 = 0xC0;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub const AUDIO_MAX: u8 = 0xDF;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub const VIDEO_MIN: u8 = 0xE0;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub const VIDEO_MAX: u8 = 0xEF;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn new(id: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new_audio(id: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn new_video(id: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn is_audio(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn is_video(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PtsDts` is never constructed
[INFO] [stdout]  --> src/mpegts/timestamp.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PtsDts;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clock` is never constructed
[INFO] [stdout]  --> src/mpegts/timestamp.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Clock<T>(PhantomData<T>);
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PCR` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PCR;
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ESCR` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ESCR;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Timestamp` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Timestamp<T>(pub(crate) u64, pub(crate) PhantomData<T>);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `RESOLUTION`, `MAX`, `new`, `as_u64`, `from_u64`, and `check_bits` are never used
[INFO] [stdout]   --> src/mpegts/timestamp.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Timestamp<PtsDts> {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 19 |     /// 90 kHz.
[INFO] [stdout] 20 |     pub const RESOLUTION: u64 = 90_000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub const MAX: u64 = (1 << 33) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn as_u64(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub(crate) fn from_u64(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub(crate) fn check_bits(&self, arg: u8) -> Result<(), Error> {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `RESOLUTION`, `MAX`, `new`, and `as_u64` are never used
[INFO] [stdout]   --> src/mpegts/timestamp.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<T> Timestamp<Clock<T>> {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 69 |     /// 27MHz.
[INFO] [stdout] 70 |     pub const RESOLUTION: u64 = 27_000_000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub const MAX: u64 = ((1 << 33) - 1) * 300 + 0b1_1111_1111;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn new(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn as_u64(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VersionNumber` is never constructed
[INFO] [stdout]  --> src/mpegts/version.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VersionNumber(u8);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, `from_u8`, `as_u8`, and `increment` are never used
[INFO] [stdout]   --> src/mpegts/version.rs:9:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl VersionNumber {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout]  8 |     /// Maximum version number.
[INFO] [stdout]  9 |     pub const MAX: u8 = (1 << 5) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn from_u8(n: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn increment(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mpeg2tsParser` is never constructed
[INFO] [stdout]   --> src/mpegts/io.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Mpeg2tsParser {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Io` is never used
[INFO] [stdout]   --> src/mpegts/io.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait Io<T> {
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Null` is never constructed
[INFO] [stdout]   --> src/mpegts/ts.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Null;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdaptationField` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AdaptationField {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl AdaptationField {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 33 |     pub fn external_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdaptationExtensionField` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct AdaptationExtensionField {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl AdaptationExtensionField {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] 66 |     fn external_size(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AdaptationFieldControl` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum AdaptationFieldControl {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `has_adaptation_field`, `has_payload`, and `from_u8` are never used
[INFO] [stdout]    --> src/mpegts/ts/adaptation_field.rs:94:12
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl AdaptationFieldControl {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout]  94 |     pub fn has_adaptation_field(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn has_payload(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn from_u8(n: u8) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TransportScramblingControl` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum TransportScramblingControl {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u8` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl TransportScramblingControl {
[INFO] [stdout]    | ------------------------------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn from_u8(n: u8) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TsPacket` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct TsPacket {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `SIZE` and `SYNC_BYTE` are never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl TsPacket {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] 44 |     /// Size of a packet in bytes.
[INFO] [stdout] 45 |     pub const SIZE: usize = 188;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub const SYNC_BYTE: u8 = 0x47;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TsHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct TsHeader {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TsPayload` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum TsPayload {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pat` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/pat.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Pat {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TABLE_ID` is never used
[INFO] [stdout]   --> src/mpegts/ts/pat.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Pat {
[INFO] [stdout]    | -------- associated constant in this implementation
[INFO] [stdout] 12 |     pub const TABLE_ID: u8 = 0;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramAssociation` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pat.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ProgramAssociation {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pes` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Pes<B = RawData> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PACKET_START_CODE_PREFIX` is never used
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const PACKET_START_CODE_PREFIX: u64 = 0x00_0001;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PesHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PesHeader {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `optional_header_len` is never used
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl PesHeader {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 53 |     pub fn optional_header_len(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pmt` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/pmt.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Pmt {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TABLE_ID` is never used
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Pmt {
[INFO] [stdout]    | -------- associated constant in this implementation
[INFO] [stdout] 23 |     pub const TABLE_ID: u8 = 2;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EsInfo` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct EsInfo {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Descriptor` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Descriptor {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SYNTAX_SECTION_LEN` is never used
[INFO] [stdout]  --> src/mpegts/ts/psi.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const MAX_SYNTAX_SECTION_LEN: usize = 1021;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Psi` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/psi.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Psi {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTable` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PsiTable {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTableHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct PsiTableHeader {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTableSyntax` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PsiTableSyntax {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl PsiTableSyntax {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 39 |     pub fn external_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Section` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/section.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Section {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stuffing` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/stuffing.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Stuffing(pub u8, pub usize);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.81s
[INFO] running `Command { std: "docker" "inspect" "eccde6ad30f82a98bad5b1c9cd7e706acabd8ec3a6ff22f2e94473c21049de42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eccde6ad30f82a98bad5b1c9cd7e706acabd8ec3a6ff22f2e94473c21049de42", kill_on_drop: false }`
[INFO] [stdout] eccde6ad30f82a98bad5b1c9cd7e706acabd8ec3a6ff22f2e94473c21049de42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad2a280be07a838d7002bcd879db93709265debe3645d3888feb2f939786dd15
[INFO] running `Command { std: "docker" "start" "-a" "ad2a280be07a838d7002bcd879db93709265debe3645d3888feb2f939786dd15", kill_on_drop: false }`
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling stream-cancel v0.8.2
[INFO] [stderr]    Compiling flowly-service v0.2.0
[INFO] [stderr]    Compiling flowly-io v0.2.4
[INFO] [stderr]    Compiling flowly v0.2.4
[INFO] [stderr]    Compiling flowly-mpegts v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self`
[INFO] [stdout]  --> src/mpegts/crc32.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{self, Read, Write},
[INFO] [stdout]   |          ^^^^  ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/mpegts/io.rs:826:19
[INFO] [stdout]     |
[INFO] [stdout] 825 |             pointer_field: todo!(),
[INFO] [stdout]     |                            ------- any code following this expression is unreachable
[INFO] [stdout] 826 |             data: todo!(),
[INFO] [stdout]     |                   ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]     --> src/mpegts/io.rs:1023:16
[INFO] [stdout]      |
[INFO] [stdout] 1023 |         writer.put_u16(todo!());
[INFO] [stdout]      |                ^^^^^^^ ------- any code following this expression is unreachable
[INFO] [stdout]      |                |
[INFO] [stdout]      |                unreachable call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]   --> src/mpegts/timestamp.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub(crate) fn check_bits(&self, arg: u8) -> Result<(), Error> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/mpegts/io.rs:70:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn serialize(&mut self, item: &TsHeader, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/mpegts/io.rs:70:46
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn serialize(&mut self, item: &TsHeader, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]    |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         item: &Option<AdaptationField>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         item: &Timestamp<PtsDts>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         item: &Timestamp<Clock<PCR>>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |         item: &Timestamp<Clock<ESCR>>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         item: &AdaptationExtensionField,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:274:29
[INFO] [stdout]     |
[INFO] [stdout] 274 |     fn serialize(&mut self, item: &Pid, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 |     fn serialize(&mut self, item: &Pid, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:817:29
[INFO] [stdout]     |
[INFO] [stdout] 817 |     fn serialize(&mut self, item: &Descriptor, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:817:48
[INFO] [stdout]     |
[INFO] [stdout] 817 |     fn serialize(&mut self, item: &Descriptor, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/mpegts/io.rs:823:25
[INFO] [stdout]     |
[INFO] [stdout] 823 |     fn parse(&mut self, input: &mut impl Buf) -> Result<Section, Error> {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:830:29
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn serialize(&mut self, item: &Section, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:830:45
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn serialize(&mut self, item: &Section, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:839:29
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn serialize(&mut self, item: &Null, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:839:42
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn serialize(&mut self, item: &Null, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/mpegts/io.rs:1025:13
[INFO] [stdout]      |
[INFO] [stdout] 1025 |         let n = 0b1000_0000
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/mpegts/io.rs:1037:13
[INFO] [stdout]      |
[INFO] [stdout] 1037 |         let n = ((item.pts.is_some() as u8) << 7)
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pes_header_len`
[INFO] [stdout]     --> src/mpegts/io.rs:1043:13
[INFO] [stdout]      |
[INFO] [stdout] 1043 |         let pes_header_len = item.optional_header_len() as u8 - 3;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pes_header_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1046:21
[INFO] [stdout]      |
[INFO] [stdout] 1046 |         if let Some(x) = item.pts {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_bits`
[INFO] [stdout]     --> src/mpegts/io.rs:1047:17
[INFO] [stdout]      |
[INFO] [stdout] 1047 |             let check_bits = if item.dts.is_some() { 3 } else { 2 };
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1048:13
[INFO] [stdout]      |
[INFO] [stdout] 1048 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1051:21
[INFO] [stdout]      |
[INFO] [stdout] 1051 |         if let Some(x) = item.dts {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_bits`
[INFO] [stdout]     --> src/mpegts/io.rs:1052:17
[INFO] [stdout]      |
[INFO] [stdout] 1052 |             let check_bits = 1;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1053:13
[INFO] [stdout]      |
[INFO] [stdout] 1053 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1055:21
[INFO] [stdout]      |
[INFO] [stdout] 1055 |         if let Some(x) = item.escr {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1056:13
[INFO] [stdout]      |
[INFO] [stdout] 1056 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mpeg2TsFrame` is never constructed
[INFO] [stdout]  --> src/frame.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Mpeg2TsFrame {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WritableLen` is never used
[INFO] [stdout]   --> src/mpegts.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait WritableLen {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawData` is never constructed
[INFO] [stdout]   --> src/mpegts/bytes.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct RawData {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_SIZE` and `new` are never used
[INFO] [stdout]   --> src/mpegts/bytes.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl RawData {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 19 |     /// Maximum size of a byte sequence.
[INFO] [stdout] 20 |     pub const MAX_SIZE: usize = TsPacket::SIZE - 4 /* the size of the sync byte and a header */;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn new(bytes: &[u8]) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContinuityCounter` is never constructed
[INFO] [stdout]  --> src/mpegts/continuity_counter.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ContinuityCounter(u8);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, `from_u8`, `as_u8`, and `increment` are never used
[INFO] [stdout]   --> src/mpegts/continuity_counter.rs:8:15
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl ContinuityCounter {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout]  7 |     /// Maximum counter value.
[INFO] [stdout]  8 |     pub const MAX: u8 = (1 << 4) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn from_u8(n: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn increment(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CRC32_TABLE` is never used
[INFO] [stdout]  --> src/mpegts/crc32.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const CRC32_TABLE: &[u32] = &[
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Crc32` is never constructed
[INFO] [stdout]   --> src/mpegts/crc32.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Crc32(u32);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `value` are never used
[INFO] [stdout]   --> src/mpegts/crc32.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Crc32 {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn update(&mut self, data: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn value(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithCrc32` is never constructed
[INFO] [stdout]   --> src/mpegts/crc32.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct WithCrc32<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `crc32` are never used
[INFO] [stdout]   --> src/mpegts/crc32.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl<T> WithCrc32<T> {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 70 |     pub fn new(stream: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn crc32(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LegalTimeWindow` is never constructed
[INFO] [stdout]  --> src/mpegts/legal_time_window.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LegalTimeWindow {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_OFFSET`, `new`, `is_valid`, and `offset` are never used
[INFO] [stdout]   --> src/mpegts/legal_time_window.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl LegalTimeWindow {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 14 |     /// Maximum offset value.
[INFO] [stdout] 15 |     pub const MAX_OFFSET: u16 = (1 << 15) - 1;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn new(is_valid: bool, offset: u16) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn offset(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PidKind` is never used
[INFO] [stdout]  --> src/mpegts/pid.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum PidKind {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pid` is never constructed
[INFO] [stdout]   --> src/mpegts/pid.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Pid(pub(crate) u16);
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `PAT`, `NULL`, `new`, and `as_u16` are never used
[INFO] [stdout]   --> src/mpegts/pid.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Pid {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 16 |     /// Maximum PID value.
[INFO] [stdout] 17 |     pub const MAX: u16 = (1 << 13) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub const PAT: u16 = 0;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub const NULL: u16 = 0x1FFF;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(pid: u16) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn as_u16(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PiecewiseRate` is never constructed
[INFO] [stdout]  --> src/mpegts/piecewise_rate.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct PiecewiseRate(pub(crate) u32);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, and `as_u32` are never used
[INFO] [stdout]   --> src/mpegts/piecewise_rate.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl PiecewiseRate {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 10 |     /// Maximum rate.
[INFO] [stdout] 11 |     pub const MAX: u32 = (1 << 22) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn new(rate: u32) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn as_u32(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SeamlessSplice` is never constructed
[INFO] [stdout]  --> src/mpegts/seamless_splice.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SeamlessSplice {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_SPLICE_TYPE`, `new`, `splice_type`, and `dts_next_access_unit` are never used
[INFO] [stdout]   --> src/mpegts/seamless_splice.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl SeamlessSplice {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 14 |     /// Maximum splice type value.
[INFO] [stdout] 15 |     pub const MAX_SPLICE_TYPE: u8 = (1 << 4) - 1;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn new(splice_type: u8, dts_next_access_unit: Timestamp<PtsDts>) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn splice_type(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn dts_next_access_unit(&self) -> Timestamp<PtsDts> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamId` is never constructed
[INFO] [stdout]  --> src/mpegts/stream_id.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct StreamId(u8);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/mpegts/stream_id.rs:9:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl StreamId {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  8 |     /// Minimum value of the identifiers for audio streams.
[INFO] [stdout]  9 |     pub const AUDIO_MIN: u8 = 0xC0;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub const AUDIO_MAX: u8 = 0xDF;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub const VIDEO_MIN: u8 = 0xE0;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub const VIDEO_MAX: u8 = 0xEF;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn new(id: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new_audio(id: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn new_video(id: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn is_audio(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn is_video(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PtsDts` is never constructed
[INFO] [stdout]  --> src/mpegts/timestamp.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PtsDts;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clock` is never constructed
[INFO] [stdout]  --> src/mpegts/timestamp.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Clock<T>(PhantomData<T>);
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PCR` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PCR;
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ESCR` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ESCR;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Timestamp` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Timestamp<T>(pub(crate) u64, pub(crate) PhantomData<T>);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `RESOLUTION`, `MAX`, `new`, `as_u64`, `from_u64`, and `check_bits` are never used
[INFO] [stdout]   --> src/mpegts/timestamp.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Timestamp<PtsDts> {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 19 |     /// 90 kHz.
[INFO] [stdout] 20 |     pub const RESOLUTION: u64 = 90_000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub const MAX: u64 = (1 << 33) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn as_u64(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub(crate) fn from_u64(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub(crate) fn check_bits(&self, arg: u8) -> Result<(), Error> {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `RESOLUTION`, `MAX`, `new`, and `as_u64` are never used
[INFO] [stdout]   --> src/mpegts/timestamp.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<T> Timestamp<Clock<T>> {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 69 |     /// 27MHz.
[INFO] [stdout] 70 |     pub const RESOLUTION: u64 = 27_000_000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub const MAX: u64 = ((1 << 33) - 1) * 300 + 0b1_1111_1111;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn new(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn as_u64(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VersionNumber` is never constructed
[INFO] [stdout]  --> src/mpegts/version.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VersionNumber(u8);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, `from_u8`, `as_u8`, and `increment` are never used
[INFO] [stdout]   --> src/mpegts/version.rs:9:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl VersionNumber {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout]  8 |     /// Maximum version number.
[INFO] [stdout]  9 |     pub const MAX: u8 = (1 << 5) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn from_u8(n: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn increment(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mpeg2tsParser` is never constructed
[INFO] [stdout]   --> src/mpegts/io.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Mpeg2tsParser {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Io` is never used
[INFO] [stdout]   --> src/mpegts/io.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait Io<T> {
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Null` is never constructed
[INFO] [stdout]   --> src/mpegts/ts.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Null;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdaptationField` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AdaptationField {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl AdaptationField {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 33 |     pub fn external_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdaptationExtensionField` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct AdaptationExtensionField {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl AdaptationExtensionField {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] 66 |     fn external_size(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AdaptationFieldControl` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum AdaptationFieldControl {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `has_adaptation_field`, `has_payload`, and `from_u8` are never used
[INFO] [stdout]    --> src/mpegts/ts/adaptation_field.rs:94:12
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl AdaptationFieldControl {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout]  94 |     pub fn has_adaptation_field(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn has_payload(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn from_u8(n: u8) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TransportScramblingControl` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum TransportScramblingControl {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u8` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl TransportScramblingControl {
[INFO] [stdout]    | ------------------------------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn from_u8(n: u8) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TsPacket` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct TsPacket {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `SIZE` and `SYNC_BYTE` are never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl TsPacket {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] 44 |     /// Size of a packet in bytes.
[INFO] [stdout] 45 |     pub const SIZE: usize = 188;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub const SYNC_BYTE: u8 = 0x47;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TsHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct TsHeader {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TsPayload` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum TsPayload {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pat` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/pat.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Pat {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TABLE_ID` is never used
[INFO] [stdout]   --> src/mpegts/ts/pat.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Pat {
[INFO] [stdout]    | -------- associated constant in this implementation
[INFO] [stdout] 12 |     pub const TABLE_ID: u8 = 0;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramAssociation` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pat.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ProgramAssociation {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pes` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Pes<B = RawData> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PACKET_START_CODE_PREFIX` is never used
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const PACKET_START_CODE_PREFIX: u64 = 0x00_0001;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PesHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PesHeader {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `optional_header_len` is never used
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl PesHeader {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 53 |     pub fn optional_header_len(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pmt` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/pmt.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Pmt {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TABLE_ID` is never used
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Pmt {
[INFO] [stdout]    | -------- associated constant in this implementation
[INFO] [stdout] 23 |     pub const TABLE_ID: u8 = 2;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EsInfo` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct EsInfo {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Descriptor` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Descriptor {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SYNTAX_SECTION_LEN` is never used
[INFO] [stdout]  --> src/mpegts/ts/psi.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const MAX_SYNTAX_SECTION_LEN: usize = 1021;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Psi` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/psi.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Psi {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTable` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PsiTable {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTableHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct PsiTableHeader {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTableSyntax` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PsiTableSyntax {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl PsiTableSyntax {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 39 |     pub fn external_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Section` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/section.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Section {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stuffing` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/stuffing.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Stuffing(pub u8, pub usize);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `flowly_flv`
[INFO] [stdout]  --> examples/flv2mpegts.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use flowly_flv::FlvDemuxer;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `flowly_flv`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `flowly_flv`, use `cargo add flowly_flv` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `str::FromStr`
[INFO] [stdout]  --> examples/demux.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{path::PathBuf, pin::pin, str::FromStr};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Frame`, `ServiceExt`, `flow`, and `io::file::FileReader`
[INFO] [stdout]  --> examples/demux.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use flowly::{Frame, Service, ServiceExt, flow, io::file::FileReader};
[INFO] [stdout]   |              ^^^^^           ^^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/flv2mpegts.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     while let Some(data) = stream.try_next().await.unwrap() {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> examples/flv2mpegts.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     while let Some(data) = stream.try_next().await.unwrap() {
[INFO] [stdout]    |               ^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:607:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self`
[INFO] [stdout]  --> src/mpegts/crc32.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{self, Read, Write},
[INFO] [stdout]   |          ^^^^  ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `flowly-mpegts` (example "flv2mpegts") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/mpegts/io.rs:826:19
[INFO] [stdout]     |
[INFO] [stdout] 825 |             pointer_field: todo!(),
[INFO] [stdout]     |                            ------- any code following this expression is unreachable
[INFO] [stdout] 826 |             data: todo!(),
[INFO] [stdout]     |                   ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]     --> src/mpegts/io.rs:1023:16
[INFO] [stdout]      |
[INFO] [stdout] 1023 |         writer.put_u16(todo!());
[INFO] [stdout]      |                ^^^^^^^ ------- any code following this expression is unreachable
[INFO] [stdout]      |                |
[INFO] [stdout]      |                unreachable call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]   --> src/mpegts/timestamp.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub(crate) fn check_bits(&self, arg: u8) -> Result<(), Error> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/mpegts/io.rs:70:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn serialize(&mut self, item: &TsHeader, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/mpegts/io.rs:70:46
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn serialize(&mut self, item: &TsHeader, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]    |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         item: &Option<AdaptationField>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         item: &Timestamp<PtsDts>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         item: &Timestamp<Clock<PCR>>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |         item: &Timestamp<Clock<ESCR>>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         item: &AdaptationExtensionField,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |         output: &mut impl BufMut,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:274:29
[INFO] [stdout]     |
[INFO] [stdout] 274 |     fn serialize(&mut self, item: &Pid, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:274:41
[INFO] [stdout]     |
[INFO] [stdout] 274 |     fn serialize(&mut self, item: &Pid, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:817:29
[INFO] [stdout]     |
[INFO] [stdout] 817 |     fn serialize(&mut self, item: &Descriptor, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:817:48
[INFO] [stdout]     |
[INFO] [stdout] 817 |     fn serialize(&mut self, item: &Descriptor, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/mpegts/io.rs:823:25
[INFO] [stdout]     |
[INFO] [stdout] 823 |     fn parse(&mut self, input: &mut impl Buf) -> Result<Section, Error> {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:830:29
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn serialize(&mut self, item: &Section, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:830:45
[INFO] [stdout]     |
[INFO] [stdout] 830 |     fn serialize(&mut self, item: &Section, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/mpegts/io.rs:839:29
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn serialize(&mut self, item: &Null, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/mpegts/io.rs:839:42
[INFO] [stdout]     |
[INFO] [stdout] 839 |     fn serialize(&mut self, item: &Null, output: &mut impl BufMut) -> Result<(), Error> {
[INFO] [stdout]     |                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/mpegts/io.rs:1025:13
[INFO] [stdout]      |
[INFO] [stdout] 1025 |         let n = 0b1000_0000
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/mpegts/io.rs:1037:13
[INFO] [stdout]      |
[INFO] [stdout] 1037 |         let n = ((item.pts.is_some() as u8) << 7)
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pes_header_len`
[INFO] [stdout]     --> src/mpegts/io.rs:1043:13
[INFO] [stdout]      |
[INFO] [stdout] 1043 |         let pes_header_len = item.optional_header_len() as u8 - 3;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pes_header_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1046:21
[INFO] [stdout]      |
[INFO] [stdout] 1046 |         if let Some(x) = item.pts {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_bits`
[INFO] [stdout]     --> src/mpegts/io.rs:1047:17
[INFO] [stdout]      |
[INFO] [stdout] 1047 |             let check_bits = if item.dts.is_some() { 3 } else { 2 };
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1048:13
[INFO] [stdout]      |
[INFO] [stdout] 1048 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1051:21
[INFO] [stdout]      |
[INFO] [stdout] 1051 |         if let Some(x) = item.dts {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_bits`
[INFO] [stdout]     --> src/mpegts/io.rs:1052:17
[INFO] [stdout]      |
[INFO] [stdout] 1052 |             let check_bits = 1;
[INFO] [stdout]      |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1053:13
[INFO] [stdout]      |
[INFO] [stdout] 1053 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/mpegts/io.rs:1055:21
[INFO] [stdout]      |
[INFO] [stdout] 1055 |         if let Some(x) = item.escr {
[INFO] [stdout]      |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/mpegts/io.rs:1056:13
[INFO] [stdout]      |
[INFO] [stdout] 1056 |             self.serialize(&x, writer)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mpeg2TsFrame` is never constructed
[INFO] [stdout]  --> src/frame.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Mpeg2TsFrame {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WritableLen` is never used
[INFO] [stdout]   --> src/mpegts.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait WritableLen {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawData` is never constructed
[INFO] [stdout]   --> src/mpegts/bytes.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct RawData {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_SIZE` and `new` are never used
[INFO] [stdout]   --> src/mpegts/bytes.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl RawData {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 19 |     /// Maximum size of a byte sequence.
[INFO] [stdout] 20 |     pub const MAX_SIZE: usize = TsPacket::SIZE - 4 /* the size of the sync byte and a header */;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn new(bytes: &[u8]) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContinuityCounter` is never constructed
[INFO] [stdout]  --> src/mpegts/continuity_counter.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ContinuityCounter(u8);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, `from_u8`, `as_u8`, and `increment` are never used
[INFO] [stdout]   --> src/mpegts/continuity_counter.rs:8:15
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl ContinuityCounter {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout]  7 |     /// Maximum counter value.
[INFO] [stdout]  8 |     pub const MAX: u8 = (1 << 4) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn from_u8(n: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn increment(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CRC32_TABLE` is never used
[INFO] [stdout]  --> src/mpegts/crc32.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const CRC32_TABLE: &[u32] = &[
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Crc32` is never constructed
[INFO] [stdout]   --> src/mpegts/crc32.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Crc32(u32);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `value` are never used
[INFO] [stdout]   --> src/mpegts/crc32.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Crc32 {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn update(&mut self, data: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn value(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithCrc32` is never constructed
[INFO] [stdout]   --> src/mpegts/crc32.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct WithCrc32<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `crc32` are never used
[INFO] [stdout]   --> src/mpegts/crc32.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl<T> WithCrc32<T> {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 70 |     pub fn new(stream: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn crc32(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LegalTimeWindow` is never constructed
[INFO] [stdout]  --> src/mpegts/legal_time_window.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LegalTimeWindow {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_OFFSET`, `new`, `is_valid`, and `offset` are never used
[INFO] [stdout]   --> src/mpegts/legal_time_window.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl LegalTimeWindow {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 14 |     /// Maximum offset value.
[INFO] [stdout] 15 |     pub const MAX_OFFSET: u16 = (1 << 15) - 1;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn new(is_valid: bool, offset: u16) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn offset(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PidKind` is never used
[INFO] [stdout]  --> src/mpegts/pid.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum PidKind {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pid` is never constructed
[INFO] [stdout]   --> src/mpegts/pid.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Pid(pub(crate) u16);
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `PAT`, `NULL`, `new`, and `as_u16` are never used
[INFO] [stdout]   --> src/mpegts/pid.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Pid {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 16 |     /// Maximum PID value.
[INFO] [stdout] 17 |     pub const MAX: u16 = (1 << 13) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub const PAT: u16 = 0;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub const NULL: u16 = 0x1FFF;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(pid: u16) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn as_u16(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PiecewiseRate` is never constructed
[INFO] [stdout]  --> src/mpegts/piecewise_rate.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct PiecewiseRate(pub(crate) u32);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, and `as_u32` are never used
[INFO] [stdout]   --> src/mpegts/piecewise_rate.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl PiecewiseRate {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 10 |     /// Maximum rate.
[INFO] [stdout] 11 |     pub const MAX: u32 = (1 << 22) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn new(rate: u32) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn as_u32(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SeamlessSplice` is never constructed
[INFO] [stdout]  --> src/mpegts/seamless_splice.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SeamlessSplice {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX_SPLICE_TYPE`, `new`, `splice_type`, and `dts_next_access_unit` are never used
[INFO] [stdout]   --> src/mpegts/seamless_splice.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl SeamlessSplice {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 14 |     /// Maximum splice type value.
[INFO] [stdout] 15 |     pub const MAX_SPLICE_TYPE: u8 = (1 << 4) - 1;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn new(splice_type: u8, dts_next_access_unit: Timestamp<PtsDts>) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn splice_type(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn dts_next_access_unit(&self) -> Timestamp<PtsDts> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamId` is never constructed
[INFO] [stdout]  --> src/mpegts/stream_id.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct StreamId(u8);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/mpegts/stream_id.rs:9:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl StreamId {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  8 |     /// Minimum value of the identifiers for audio streams.
[INFO] [stdout]  9 |     pub const AUDIO_MIN: u8 = 0xC0;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub const AUDIO_MAX: u8 = 0xDF;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub const VIDEO_MIN: u8 = 0xE0;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub const VIDEO_MAX: u8 = 0xEF;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn new(id: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new_audio(id: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn new_video(id: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn is_audio(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn is_video(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PtsDts` is never constructed
[INFO] [stdout]  --> src/mpegts/timestamp.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PtsDts;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clock` is never constructed
[INFO] [stdout]  --> src/mpegts/timestamp.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Clock<T>(PhantomData<T>);
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PCR` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PCR;
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ESCR` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ESCR;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Timestamp` is never constructed
[INFO] [stdout]   --> src/mpegts/timestamp.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Timestamp<T>(pub(crate) u64, pub(crate) PhantomData<T>);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `RESOLUTION`, `MAX`, `new`, `as_u64`, `from_u64`, and `check_bits` are never used
[INFO] [stdout]   --> src/mpegts/timestamp.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Timestamp<PtsDts> {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 19 |     /// 90 kHz.
[INFO] [stdout] 20 |     pub const RESOLUTION: u64 = 90_000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub const MAX: u64 = (1 << 33) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn as_u64(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub(crate) fn from_u64(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub(crate) fn check_bits(&self, arg: u8) -> Result<(), Error> {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `RESOLUTION`, `MAX`, `new`, and `as_u64` are never used
[INFO] [stdout]   --> src/mpegts/timestamp.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<T> Timestamp<Clock<T>> {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 69 |     /// 27MHz.
[INFO] [stdout] 70 |     pub const RESOLUTION: u64 = 27_000_000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub const MAX: u64 = ((1 << 33) - 1) * 300 + 0b1_1111_1111;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn new(n: u64) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn as_u64(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VersionNumber` is never constructed
[INFO] [stdout]  --> src/mpegts/version.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VersionNumber(u8);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MAX`, `new`, `from_u8`, `as_u8`, and `increment` are never used
[INFO] [stdout]   --> src/mpegts/version.rs:9:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl VersionNumber {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout]  8 |     /// Maximum version number.
[INFO] [stdout]  9 |     pub const MAX: u8 = (1 << 5) - 1;
[INFO] [stdout]    |               ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn from_u8(n: u8) -> Result<Self, Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn as_u8(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn increment(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mpeg2tsParser` is never constructed
[INFO] [stdout]   --> src/mpegts/io.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Mpeg2tsParser {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Io` is never used
[INFO] [stdout]   --> src/mpegts/io.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait Io<T> {
[INFO] [stdout]    |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Null` is never constructed
[INFO] [stdout]   --> src/mpegts/ts.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Null;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdaptationField` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AdaptationField {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl AdaptationField {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 33 |     pub fn external_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdaptationExtensionField` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct AdaptationExtensionField {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl AdaptationExtensionField {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] 66 |     fn external_size(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AdaptationFieldControl` is never used
[INFO] [stdout]   --> src/mpegts/ts/adaptation_field.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum AdaptationFieldControl {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `has_adaptation_field`, `has_payload`, and `from_u8` are never used
[INFO] [stdout]    --> src/mpegts/ts/adaptation_field.rs:94:12
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl AdaptationFieldControl {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout]  94 |     pub fn has_adaptation_field(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn has_payload(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn from_u8(n: u8) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TransportScramblingControl` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum TransportScramblingControl {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u8` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl TransportScramblingControl {
[INFO] [stdout]    | ------------------------------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn from_u8(n: u8) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TsPacket` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct TsPacket {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `SIZE` and `SYNC_BYTE` are never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl TsPacket {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] 44 |     /// Size of a packet in bytes.
[INFO] [stdout] 45 |     pub const SIZE: usize = 188;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub const SYNC_BYTE: u8 = 0x47;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TsHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct TsHeader {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TsPayload` is never used
[INFO] [stdout]   --> src/mpegts/ts/packet.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum TsPayload {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pat` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/pat.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Pat {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TABLE_ID` is never used
[INFO] [stdout]   --> src/mpegts/ts/pat.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Pat {
[INFO] [stdout]    | -------- associated constant in this implementation
[INFO] [stdout] 12 |     pub const TABLE_ID: u8 = 0;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramAssociation` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pat.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ProgramAssociation {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pes` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Pes<B = RawData> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PACKET_START_CODE_PREFIX` is never used
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const PACKET_START_CODE_PREFIX: u64 = 0x00_0001;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PesHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PesHeader {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `optional_header_len` is never used
[INFO] [stdout]   --> src/mpegts/ts/pes.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl PesHeader {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 53 |     pub fn optional_header_len(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pmt` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/pmt.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Pmt {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TABLE_ID` is never used
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Pmt {
[INFO] [stdout]    | -------- associated constant in this implementation
[INFO] [stdout] 23 |     pub const TABLE_ID: u8 = 2;
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EsInfo` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct EsInfo {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Descriptor` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/pmt.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Descriptor {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SYNTAX_SECTION_LEN` is never used
[INFO] [stdout]  --> src/mpegts/ts/psi.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const MAX_SYNTAX_SECTION_LEN: usize = 1021;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Psi` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/psi.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Psi {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTable` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PsiTable {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTableHeader` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct PsiTableHeader {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PsiTableSyntax` is never constructed
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PsiTableSyntax {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `external_size` is never used
[INFO] [stdout]   --> src/mpegts/ts/psi.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl PsiTableSyntax {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 39 |     pub fn external_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Section` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/section.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Section {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stuffing` is never constructed
[INFO] [stdout]  --> src/mpegts/ts/stuffing.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Stuffing(pub u8, pub usize);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ad2a280be07a838d7002bcd879db93709265debe3645d3888feb2f939786dd15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad2a280be07a838d7002bcd879db93709265debe3645d3888feb2f939786dd15", kill_on_drop: false }`
[INFO] [stdout] ad2a280be07a838d7002bcd879db93709265debe3645d3888feb2f939786dd15
