[INFO] cloning repository https://github.com/thiagopnts/mp4dase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiagopnts/mp4dase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopnts%2Fmp4dase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopnts%2Fmp4dase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96b8696c267ff590f636d72c386b668649895021 [INFO] checking thiagopnts/mp4dase against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagopnts%2Fmp4dase" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiagopnts/mp4dase on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thiagopnts/mp4dase [INFO] finished tweaking git repo https://github.com/thiagopnts/mp4dase [INFO] tweaked toml for git repo https://github.com/thiagopnts/mp4dase written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thiagopnts/mp4dase 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53b51ef483e682403a95c6e67d8a74aac7843a47cb008e601618deb70449b001 [INFO] running `Command { std: "docker" "start" "-a" "53b51ef483e682403a95c6e67d8a74aac7843a47cb008e601618deb70449b001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53b51ef483e682403a95c6e67d8a74aac7843a47cb008e601618deb70449b001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b51ef483e682403a95c6e67d8a74aac7843a47cb008e601618deb70449b001", kill_on_drop: false }` [INFO] [stdout] 53b51ef483e682403a95c6e67d8a74aac7843a47cb008e601618deb70449b001 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a9a5e40ab0fb98b83a56251250f12374ff6c4092c231cb709f82124b45f6bfe [INFO] running `Command { std: "docker" "start" "-a" "5a9a5e40ab0fb98b83a56251250f12374ff6c4092c231cb709f82124b45f6bfe", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking mp4dase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::buf_ext::BufExt` [INFO] [stdout] --> src/boxes/ilst.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::buf_ext::BufExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IodsBox`, `SIZE_LEN`, and `TYPE_LEN` [INFO] [stdout] --> src/boxes/moov.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::boxes::{IodsBox, MvhdBox, TrakBox, BOX_HEADER_SIZE, SIZE_LEN, TYPE_LEN}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BOX_HEADER_SIZE` [INFO] [stdout] --> src/boxes/tkhd.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{BoxType, BOX_HEADER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `self` [INFO] [stdout] --> src/boxes/trak.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tkhd` [INFO] [stdout] --> src/boxes/trak.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{tkhd, BoxType, MdiaBox, TkhdBox, BOX_HEADER_SIZE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/mp4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stdout] warning: fields `view`, `version`, `flags`, and `balance` are never read [INFO] [stdout] --> src/boxes/smhd.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SmhdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub balance: i16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SmhdBox` has derived impls for the traits `Clone` and `Debug`, 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: associated function `parse` is never used [INFO] [stdout] --> src/boxes/smhd.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SmhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, `chunk_size`, and `chunk_offsets` are never read [INFO] [stdout] --> src/boxes/stco.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StcoBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | chunk_size: ChunkSize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | chunk_offsets: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StcoBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Regular` and `Large` are never constructed [INFO] [stdout] --> src/boxes/stco.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ChunkSize { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | Regular, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stco.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl StcoBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 21 | pub fn parse(buf: &mut bytes::Bytes, chunk_size: ChunkSize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `sample_count`, `sample_size`, and `sample_sizes` are never read [INFO] [stdout] --> src/boxes/stsz.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StszBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub sample_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | sample_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub sample_sizes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StszBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stsz.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl StszBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/stsc.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StscBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StscBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_chunk`, `samples_per_chunk`, and `sample_description_index` are never read [INFO] [stdout] --> src/boxes/stsc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StscEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | first_chunk: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | samples_per_chunk: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | sample_description_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StscEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stsc.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl StscBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 21 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/stss.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StssBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StssBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_number` is never read [INFO] [stdout] --> src/boxes/stss.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StssEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | pub sample_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StssEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stss.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl StssBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `dref` are never read [INFO] [stdout] --> src/boxes/dinf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DinfBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub dref: DrefBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DinfBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/dinf.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DinfBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/dref.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DrefBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrefBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entry_size`, `entry_type`, `version`, `flags`, and `url` are never read [INFO] [stdout] --> src/boxes/dref.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DrefEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub entry_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub entry_type: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrefEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/dref.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DrefBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 24 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `view` is never read [INFO] [stdout] --> src/boxes/ftyp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FtypBox { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | view: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FtypBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/ftyp.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl FtypBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 23 | pub fn parse(buf: &mut Bytes) -> FtypBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `pre_defined`, `handler_type`, and `name` are never read [INFO] [stdout] --> src/boxes/hdlr.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HdlrBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub pre_defined: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub handler_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HdlrBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/hdlr.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HdlrBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `items` are never read [INFO] [stdout] --> src/boxes/ilst.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IlstBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IlstBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data` are never read [INFO] [stdout] --> src/boxes/ilst.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | data: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/ilst.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/ilst.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IlstBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 33 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/iods.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl IodsBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 13 | pub fn parse(buf: &mut bytes::Bytes) -> IodsBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/boxes/mdhd.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MdhdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub creation_time: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub modification_time: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub timescale: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub duration: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub language: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub pre_defined: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mdhd.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MdhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `minf`, `mdhd`, and `hdlr` are never read [INFO] [stdout] --> src/boxes/mdia.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MdiaBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub minf: MinfBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub mdhd: MdhdBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub hdlr: HdlrBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdiaBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mdia.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MdiaBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 14 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `handler`, and `other_boxes` are never read [INFO] [stdout] --> src/boxes/meta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MetaBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | handler: HdlrBox, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | other_boxes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/meta.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl MetaBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `boxes` are never read [INFO] [stdout] --> src/boxes/minf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MinfBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinfBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/minf.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MinfBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `mvhd`, and `traks` are never read [INFO] [stdout] --> src/boxes/moov.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MoovBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub view: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub mvhd: MvhdBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub traks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoovBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/moov.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl MoovBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut Bytes) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `view` is never read [INFO] [stdout] --> src/boxes/mvhd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MvhdBox { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | view: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MvhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mvhd.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl MvhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 34 | pub fn parse(buf: &mut Bytes) -> MvhdBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `boxes` are never read [INFO] [stdout] --> src/boxes/stbl.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StblBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StblBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stbl.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StblBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `sample_descriptions` are never read [INFO] [stdout] --> src/boxes/stsd.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StsdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub sample_descriptions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StsdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `format` are never read [INFO] [stdout] --> src/boxes/stsd.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SampleDescription { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 16 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | format: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SampleDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `format` and `parse` are never used [INFO] [stdout] --> src/boxes/stsd.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl StsdBox { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/stts.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SttsBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SttsBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_count` and `sample_delta` are never read [INFO] [stdout] --> src/boxes/stts.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SttsEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | pub sample_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub sample_delta: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SttsEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stts.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SttsBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `view` is never read [INFO] [stdout] --> src/boxes/tkhd.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TkhdBox { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TkhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/tkhd.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl TkhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 47 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `tkhd`, `mdia`, and `boxes` are never read [INFO] [stdout] --> src/boxes/trak.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TrakBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub tkhd: TkhdBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub mdia: MdiaBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrakBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/trak.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TrakBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `boxes` are never read [INFO] [stdout] --> src/boxes/udta.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UdtaBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdtaBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/udta.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl UdtaBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `graphics_mode`, and `opcolor` are never read [INFO] [stdout] --> src/boxes/vmhd.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VmhdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub graphics_mode: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub opcolor: [u16; 3], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VmhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/vmhd.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl VmhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoxHeader` is never constructed [INFO] [stdout] --> src/boxes/box_type.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct BoxHeader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/boxes/box_type.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum BoxType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 16 | Smhd(SmhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Stco(StcoBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Co64(StcoBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Stsz(StszBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Stsc(StscBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Stss(StssBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Ilst(IlstBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Meta(MetaBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Minf(MinfBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | Ftyp(FtypBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Moov(MoovBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Iods(IodsBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Mvhd(MvhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Trak(TrakBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Tkhd(TkhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Mdhd(MdhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Hdlr(HdlrBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Mdia(MdiaBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | Vmhd(VmhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | Dref(DrefBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | Dinf(DinfBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Stbl(StblBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | Stts(SttsBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | Stsd(StsdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Udta(UdtaBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | Mdat(MdatBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Unknown(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIZE_LEN` is never used [INFO] [stdout] --> src/boxes/box_type.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const SIZE_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_LEN` is never used [INFO] [stdout] --> src/boxes/box_type.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const TYPE_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOX_HEADER_SIZE` is never used [INFO] [stdout] --> src/boxes/box_type.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const BOX_HEADER_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/boxes/box_type.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl BoxType { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 50 | pub fn filter_box(boxes: &Vec, matcher: impl Fn(BoxType) -> Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn find_box(boxes: &Vec, matcher: impl Fn(BoxType) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn parse_version(buf: &mut bytes::Bytes) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn parse_flags(buf: &mut bytes::Bytes) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn parse_field_by_version(version: u8, buf: &mut bytes::Bytes) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn parse_header(buf: &mut bytes::Bytes) -> (usize, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn peek_header(buf: &bytes::Bytes) -> (usize, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn peek_box_buf(buf: &mut bytes::Bytes) -> (usize, Bytes, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn parse_box_buf(buf: &mut bytes::Bytes) -> (Bytes, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn parse(buf: &mut bytes::Bytes) -> BoxType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `data` are never read [INFO] [stdout] --> src/boxes/mdat.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MdatBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub data: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdatBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mdat.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl MdatBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BoxParsingError` is never used [INFO] [stdout] --> src/boxes/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum BoxParsingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxParsingError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BufExt` is never used [INFO] [stdout] --> src/buf_ext.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BufExt: Buf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `tracks` and `parse` are never used [INFO] [stdout] --> src/mp4.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Mp4File { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn tracks(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn parse(reader: &mut R) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Track` is never constructed [INFO] [stdout] --> src/track.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Track { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Track` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stdout] warning: unused import: `crate::buf_ext::BufExt` [INFO] [stdout] --> src/boxes/ilst.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::buf_ext::BufExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IodsBox`, `SIZE_LEN`, and `TYPE_LEN` [INFO] [stdout] --> src/boxes/moov.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::boxes::{IodsBox, MvhdBox, TrakBox, BOX_HEADER_SIZE, SIZE_LEN, TYPE_LEN}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BOX_HEADER_SIZE` [INFO] [stdout] --> src/boxes/tkhd.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{BoxType, BOX_HEADER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `self` [INFO] [stdout] --> src/boxes/trak.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tkhd` [INFO] [stdout] --> src/boxes/trak.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{tkhd, BoxType, MdiaBox, TkhdBox, BOX_HEADER_SIZE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/mp4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, and `balance` are never read [INFO] [stdout] --> src/boxes/smhd.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SmhdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub balance: i16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SmhdBox` has derived impls for the traits `Clone` and `Debug`, 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: associated function `parse` is never used [INFO] [stdout] --> src/boxes/smhd.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SmhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, `chunk_size`, and `chunk_offsets` are never read [INFO] [stdout] --> src/boxes/stco.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StcoBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | chunk_size: ChunkSize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | chunk_offsets: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StcoBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Regular` and `Large` are never constructed [INFO] [stdout] --> src/boxes/stco.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ChunkSize { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | Regular, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stco.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl StcoBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 21 | pub fn parse(buf: &mut bytes::Bytes, chunk_size: ChunkSize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `sample_count`, `sample_size`, and `sample_sizes` are never read [INFO] [stdout] --> src/boxes/stsz.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StszBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub sample_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | sample_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub sample_sizes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StszBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stsz.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl StszBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/stsc.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StscBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StscBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_chunk`, `samples_per_chunk`, and `sample_description_index` are never read [INFO] [stdout] --> src/boxes/stsc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StscEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | first_chunk: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | samples_per_chunk: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | sample_description_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StscEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stsc.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl StscBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 21 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/stss.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StssBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StssBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_number` is never read [INFO] [stdout] --> src/boxes/stss.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StssEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | pub sample_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StssEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stss.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl StssBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `dref` are never read [INFO] [stdout] --> src/boxes/dinf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DinfBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub dref: DrefBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DinfBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/dinf.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DinfBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/dref.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DrefBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrefBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entry_size`, `entry_type`, `version`, `flags`, and `url` are never read [INFO] [stdout] --> src/boxes/dref.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DrefEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub entry_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub entry_type: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrefEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/dref.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DrefBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 24 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `pre_defined`, `handler_type`, and `name` are never read [INFO] [stdout] --> src/boxes/hdlr.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HdlrBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub pre_defined: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub handler_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HdlrBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/hdlr.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HdlrBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `items` are never read [INFO] [stdout] --> src/boxes/ilst.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IlstBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IlstBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data` are never read [INFO] [stdout] --> src/boxes/ilst.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | data: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/ilst.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 20 | fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/ilst.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IlstBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 33 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/iods.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl IodsBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 13 | pub fn parse(buf: &mut bytes::Bytes) -> IodsBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/boxes/mdhd.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MdhdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub creation_time: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub modification_time: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub timescale: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub duration: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub language: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub pre_defined: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mdhd.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MdhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `minf`, `mdhd`, and `hdlr` are never read [INFO] [stdout] --> src/boxes/mdia.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MdiaBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub minf: MinfBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub mdhd: MdhdBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub hdlr: HdlrBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdiaBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mdia.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MdiaBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 14 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `handler`, and `other_boxes` are never read [INFO] [stdout] --> src/boxes/meta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MetaBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | handler: HdlrBox, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | other_boxes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/meta.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl MetaBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `boxes` are never read [INFO] [stdout] --> src/boxes/minf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MinfBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinfBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/minf.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MinfBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `mvhd`, and `traks` are never read [INFO] [stdout] --> src/boxes/moov.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MoovBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub view: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub mvhd: MvhdBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub traks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoovBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/moov.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl MoovBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut Bytes) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `view` is never read [INFO] [stdout] --> src/boxes/mvhd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MvhdBox { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | view: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MvhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mvhd.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl MvhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 34 | pub fn parse(buf: &mut Bytes) -> MvhdBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `boxes` are never read [INFO] [stdout] --> src/boxes/stbl.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StblBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StblBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stbl.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StblBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `sample_descriptions` are never read [INFO] [stdout] --> src/boxes/stsd.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StsdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub sample_descriptions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StsdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `format` are never read [INFO] [stdout] --> src/boxes/stsd.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SampleDescription { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 16 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | format: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SampleDescription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `format` and `parse` are never used [INFO] [stdout] --> src/boxes/stsd.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl StsdBox { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/boxes/stts.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SttsBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub entry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SttsBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_count` and `sample_delta` are never read [INFO] [stdout] --> src/boxes/stts.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SttsEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | pub sample_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub sample_delta: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SttsEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/stts.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SttsBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `view` is never read [INFO] [stdout] --> src/boxes/tkhd.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TkhdBox { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TkhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/tkhd.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl TkhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 47 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `tkhd`, `mdia`, and `boxes` are never read [INFO] [stdout] --> src/boxes/trak.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TrakBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub tkhd: TkhdBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub mdia: MdiaBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrakBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/trak.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TrakBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `boxes` are never read [INFO] [stdout] --> src/boxes/udta.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UdtaBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | boxes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdtaBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/udta.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl UdtaBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view`, `version`, `flags`, `graphics_mode`, and `opcolor` are never read [INFO] [stdout] --> src/boxes/vmhd.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VmhdBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub graphics_mode: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub opcolor: [u16; 3], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VmhdBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/vmhd.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl VmhdBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoxHeader` is never constructed [INFO] [stdout] --> src/boxes/box_type.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct BoxHeader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/boxes/box_type.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum BoxType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 16 | Smhd(SmhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Stco(StcoBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Co64(StcoBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Stsz(StszBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Stsc(StscBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Stss(StssBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Ilst(IlstBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Meta(MetaBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Minf(MinfBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | Ftyp(FtypBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Moov(MoovBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Iods(IodsBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Mvhd(MvhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Trak(TrakBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Tkhd(TkhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Mdhd(MdhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Hdlr(HdlrBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Mdia(MdiaBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | Vmhd(VmhdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | Dref(DrefBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | Dinf(DinfBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Stbl(StblBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | Stts(SttsBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | Stsd(StsdBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Udta(UdtaBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | Mdat(MdatBox), [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Unknown(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIZE_LEN` is never used [INFO] [stdout] --> src/boxes/box_type.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const SIZE_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_LEN` is never used [INFO] [stdout] --> src/boxes/box_type.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const TYPE_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOX_HEADER_SIZE` is never used [INFO] [stdout] --> src/boxes/box_type.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const BOX_HEADER_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/boxes/box_type.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl BoxType { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 50 | pub fn filter_box(boxes: &Vec, matcher: impl Fn(BoxType) -> Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn find_box(boxes: &Vec, matcher: impl Fn(BoxType) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn parse_version(buf: &mut bytes::Bytes) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn parse_flags(buf: &mut bytes::Bytes) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn parse_field_by_version(version: u8, buf: &mut bytes::Bytes) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn parse_header(buf: &mut bytes::Bytes) -> (usize, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn peek_header(buf: &bytes::Bytes) -> (usize, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn peek_box_buf(buf: &mut bytes::Bytes) -> (usize, Bytes, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn parse_box_buf(buf: &mut bytes::Bytes) -> (Bytes, [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn parse(buf: &mut bytes::Bytes) -> BoxType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view` and `data` are never read [INFO] [stdout] --> src/boxes/mdat.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MdatBox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub view: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub data: bytes::Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdatBox` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/boxes/mdat.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl MdatBox { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn parse(buf: &mut bytes::Bytes) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BoxParsingError` is never used [INFO] [stdout] --> src/boxes/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum BoxParsingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxParsingError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BufExt` is never used [INFO] [stdout] --> src/buf_ext.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BufExt: Buf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `tracks` and `parse` are never used [INFO] [stdout] --> src/mp4.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Mp4File { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn tracks(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn parse(reader: &mut R) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Track` is never constructed [INFO] [stdout] --> src/track.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Track { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Track` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `Command { std: "docker" "inspect" "5a9a5e40ab0fb98b83a56251250f12374ff6c4092c231cb709f82124b45f6bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a9a5e40ab0fb98b83a56251250f12374ff6c4092c231cb709f82124b45f6bfe", kill_on_drop: false }` [INFO] [stdout] 5a9a5e40ab0fb98b83a56251250f12374ff6c4092c231cb709f82124b45f6bfe