[INFO] fetching crate flowly-mpegts 0.2.2... [INFO] testing flowly-mpegts-0.2.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate flowly-mpegts 0.2.2 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flowly-mpegts 0.2.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flowly-core v0.2.2 [INFO] [stderr] Downloaded flowly-io v0.2.4 [INFO] [stderr] Downloaded flowly-service v0.2.0 [INFO] [stderr] Downloaded stream-cancel v0.8.2 [INFO] [stderr] Downloaded mpeg2ts v0.3.1 [INFO] [stderr] Downloaded flowly-spsc v0.2.0 [INFO] [stderr] Downloaded flowly v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 189736d63da6c303e825a49dd1b2baec68f4fcdefba180733822bb66d380e46d [INFO] running `Command { std: "docker" "start" "-a" "189736d63da6c303e825a49dd1b2baec68f4fcdefba180733822bb66d380e46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "189736d63da6c303e825a49dd1b2baec68f4fcdefba180733822bb66d380e46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189736d63da6c303e825a49dd1b2baec68f4fcdefba180733822bb66d380e46d", kill_on_drop: false }` [INFO] [stdout] 189736d63da6c303e825a49dd1b2baec68f4fcdefba180733822bb66d380e46d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] df697b28ccb5981ff452b6cd7f37496f4d3179b9e3c40c5c036b9bb3f068e2c1 [INFO] running `Command { std: "docker" "start" "-a" "df697b28ccb5981ff452b6cd7f37496f4d3179b9e3c40c5c036b9bb3f068e2c1", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling byteorder v1.5.0 [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 async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling stream-cancel v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.31 [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)]` 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)]` 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)]` 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, [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, [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>, [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>, [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 { [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: `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: `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: 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: `Mpeg2TsFrame` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `RawData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX`, `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] 20 | pub fn from_u8(n: u8) -> Result { [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] = note: `Crc32` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithCrc32` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `crc32` are never used [INFO] [stdout] --> src/mpegts/crc32.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl WithCrc32 { [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] = note: `LegalTimeWindow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `PidKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `PiecewiseRate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `SeamlessSplice` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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) -> Result { [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 { [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] = note: `StreamId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_video(id: u8) -> Result { [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 `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] = note: `PCR` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `ESCR` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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 { [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 { [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 Timestamp> { [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn as_u64(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX`, `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] 21 | pub fn from_u8(n: u8) -> Result { [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 { [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] = note: `Null` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `AdaptationField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `AdaptationExtensionField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `AdaptationFieldControl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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] = note: `TransportScramblingControl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `TsPacket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `TsHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `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] = note: `TsPayload` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `Pat` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `ProgramAssociation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pes` is never constructed [INFO] [stdout] --> src/mpegts/ts/pes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pes { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `PesHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `Pmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `EsInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `Descriptor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `Psi` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTableHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTableSyntax` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `Section` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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 19.84s [INFO] running `Command { std: "docker" "inspect" "df697b28ccb5981ff452b6cd7f37496f4d3179b9e3c40c5c036b9bb3f068e2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df697b28ccb5981ff452b6cd7f37496f4d3179b9e3c40c5c036b9bb3f068e2c1", kill_on_drop: false }` [INFO] [stdout] df697b28ccb5981ff452b6cd7f37496f4d3179b9e3c40c5c036b9bb3f068e2c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] edad7289493ee5a851fc8ef5c9e452de956452202dbd24cf44344e0e3742f29c [INFO] running `Command { std: "docker" "start" "-a" "edad7289493ee5a851fc8ef5c9e452de956452202dbd24cf44344e0e3742f29c", kill_on_drop: false }` [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling jiff v0.2.15 [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)]` 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)]` 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)]` 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, [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, [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>, [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>, [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 { [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: `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: `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: 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: `Mpeg2TsFrame` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `RawData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX`, `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] 20 | pub fn from_u8(n: u8) -> Result { [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] = note: `Crc32` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithCrc32` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `crc32` are never used [INFO] [stdout] --> src/mpegts/crc32.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl WithCrc32 { [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] = note: `LegalTimeWindow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `PidKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `PiecewiseRate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `SeamlessSplice` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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) -> Result { [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 { [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] = note: `StreamId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_video(id: u8) -> Result { [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 `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] = note: `PCR` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `ESCR` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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 { [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 { [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 Timestamp> { [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn as_u64(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX`, `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] 21 | pub fn from_u8(n: u8) -> Result { [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 { [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] = note: `Null` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `AdaptationField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `AdaptationExtensionField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `AdaptationFieldControl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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] = note: `TransportScramblingControl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `TsPacket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `TsHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `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] = note: `TsPayload` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `Pat` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `ProgramAssociation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pes` is never constructed [INFO] [stdout] --> src/mpegts/ts/pes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pes { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `PesHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `Pmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `EsInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `Descriptor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `Psi` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTableHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTableSyntax` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `Section` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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)]` 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] 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)]` on by default [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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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 2 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)]` 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)]` 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, [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, [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>, [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>, [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 { [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: `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: `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: 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: `Mpeg2TsFrame` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `RawData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX`, `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] 20 | pub fn from_u8(n: u8) -> Result { [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] = note: `Crc32` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithCrc32` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `crc32` are never used [INFO] [stdout] --> src/mpegts/crc32.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl WithCrc32 { [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] = note: `LegalTimeWindow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `PidKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `PiecewiseRate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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] = note: `SeamlessSplice` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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) -> Result { [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 { [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] = note: `StreamId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_video(id: u8) -> Result { [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 `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] = note: `PCR` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `ESCR` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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 { [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 { [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 { [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 Timestamp> { [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn as_u64(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX`, `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] 21 | pub fn from_u8(n: u8) -> Result { [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 { [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] = note: `Null` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `AdaptationField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `AdaptationExtensionField` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `AdaptationFieldControl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `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] = note: `TransportScramblingControl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `TsPacket` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `TsHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `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] = note: `TsPayload` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `Pat` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `ProgramAssociation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pes` is never constructed [INFO] [stdout] --> src/mpegts/ts/pes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pes { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `PesHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `Pmt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated 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] = note: `EsInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `Descriptor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = note: `Psi` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTableHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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] = note: `PsiTableSyntax` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `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] = note: `Section` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `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" "edad7289493ee5a851fc8ef5c9e452de956452202dbd24cf44344e0e3742f29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edad7289493ee5a851fc8ef5c9e452de956452202dbd24cf44344e0e3742f29c", kill_on_drop: false }` [INFO] [stdout] edad7289493ee5a851fc8ef5c9e452de956452202dbd24cf44344e0e3742f29c