[INFO] cloning repository https://github.com/konakona418/flv-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/konakona418/flv-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee770c610c6b335f5a2e88c99a3be7d774c50005 [INFO] checking konakona418/flv-rs against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/konakona418/flv-rs [INFO] finished tweaking git repo https://github.com/konakona418/flv-rs [INFO] tweaked toml for git repo https://github.com/konakona418/flv-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/konakona418/flv-rs on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/konakona418/flv-rs 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7a166f62bf693016a329cd00569e8e25820caf645dd4db450797cbfee99df35 [INFO] running `Command { std: "docker" "start" "-a" "b7a166f62bf693016a329cd00569e8e25820caf645dd4db450797cbfee99df35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7a166f62bf693016a329cd00569e8e25820caf645dd4db450797cbfee99df35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a166f62bf693016a329cd00569e8e25820caf645dd4db450797cbfee99df35", kill_on_drop: false }` [INFO] [stdout] b7a166f62bf693016a329cd00569e8e25820caf645dd4db450797cbfee99df35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebef63fd97439b9e3fd2083f3c64f3d06b6113325ae5c22a6dfe2926041ef0f4 [INFO] running `Command { std: "docker" "start" "-a" "ebef63fd97439b9e3fd2083f3c64f3d06b6113325ae5c22a6dfe2926041ef0f4", kill_on_drop: false }` [INFO] [stderr] Checking flv-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/exchange.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/exchange.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/flv/header.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse(decoder: &mut Decoder, header_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_size` [INFO] [stdout] --> src/flv/header.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse(decoder: &mut Decoder, header_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/flv/header.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn parse(decoder: &mut Decoder) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/flv/header.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse(decoder: &mut Decoder, param_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_size` [INFO] [stdout] --> src/flv/header.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse(decoder: &mut Decoder, param_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/fmpeg/remuxer.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | Err(e) => Err("[Remuxer] Channel closed.".into()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/fmpeg/remuxer.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | if let VideoParseResult::Avc1(parsed) = parsed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/flv/header.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse(decoder: &mut Decoder, header_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_size` [INFO] [stdout] --> src/flv/header.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse(decoder: &mut Decoder, header_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/flv/header.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn parse(decoder: &mut Decoder) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/flv/header.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse(decoder: &mut Decoder, param_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_size` [INFO] [stdout] --> src/flv/header.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse(decoder: &mut Decoder, param_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fmpeg/mp4head.rs:2014:22 [INFO] [stdout] | [INFO] [stdout] 2014 | pub fn build(mut self) -> AacAudioSpecificConfigBox { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fmpeg/mp4head.rs:2339:17 [INFO] [stdout] | [INFO] [stdout] 2339 | let mut size = self.size(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/fmpeg/remuxer.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | Err(e) => Err("[Remuxer] Channel closed.".into()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/fmpeg/remuxer.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | if let VideoParseResult::Avc1(parsed) = parsed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/fmpeg/remux_context.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 385 | VideoParseResult::Avc1(h264_info) => { [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 411 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protection_bit` [INFO] [stdout] --> src/fmpeg/parser.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let protection_bit = u16io.read_at(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protection_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/fmpeg/parser.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_mp3(header: &AudioTagHeader, body: &VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/fmpeg/encoder.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encode_hdlr(ctx: &RemuxContext, handler_type: HandlerType) -> mp4head::HandlerBox { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Demuxer` is never constructed [INFO] [stdout] --> src/flv/demuxer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Demuxer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/flv/demuxer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Demuxer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn set_demuxing(&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn process_incoming_tag(&mut self, tag: Tag) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn send_to_remuxer(&mut self, pack: Packed) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn send_from_cache(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn run(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn launch_worker_thread(mut self) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decoder` is never constructed [INFO] [stdout] --> src/flv/decoder.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/flv/decoder.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Decoder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 35 | pub fn new(data: VecDeque) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn push_data(&mut self, data: &mut VecDeque) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn push_bytes(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn drain_u8(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn drain_bytes(&mut self) -> [u8; SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn drain_bytes_vec(&mut self, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn drain_bytes_deque(&mut self, size: usize) -> VecDeque { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn drain_u16_le(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn drain_u16(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn drain_u24_le(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn drain_u24(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn drain_u32_le(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn drain_u32(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn drain_u64(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn drain_i8(&mut self) -> i8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn drain_i16(&mut self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn drain_i24(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn drain_i32(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn drain_i64(&mut self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn drain_f64(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn drain_f64_le(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn drain_f32_le(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn drain_f32(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn decode_header(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn concat_ts(ts: u32, ts_ext: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn decode_tag(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn set_decoding(&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn decode_body(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn decode_body_once(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | fn send_to_demuxer(&mut self, pack: Packed) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | fn send_tag_to_demuxer(&mut self, tag: Tag) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | fn send_header_to_demuxer(&mut self, flv_header: FlvHeader) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn run(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn launch_worker_thread(mut self) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlvHeader` is never constructed [INFO] [stdout] --> src/flv/header.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FlvHeader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/flv/header.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl FlvHeader { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(signature: [u8; 3], version: u8, type_flags_audio: bool, type_flags_video: bool, data_offset: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TagHeader` is never used [INFO] [stdout] --> src/flv/header.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum TagHeader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioTagHeader` is never constructed [INFO] [stdout] --> src/flv/header.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AudioTagHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `parse` are never used [INFO] [stdout] --> src/flv/header.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AudioTagHeader { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new(sound_format: u8, sound_rate: u8, sound_size: bool, sound_type: bool, aac_packet_type: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn parse(decoder: &mut Decoder, header_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoTagHeader` is never constructed [INFO] [stdout] --> src/flv/header.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct VideoTagHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `parse` are never used [INFO] [stdout] --> src/flv/header.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl VideoTagHeader { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 80 | pub fn new(frame_type: u8, codec_id: u8, avc_packet_type: Option, composition_time: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn parse(decoder: &mut Decoder, header_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptionTagHeader` is never constructed [INFO] [stdout] --> src/flv/header.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct EncryptionTagHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/flv/header.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl EncryptionTagHeader { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 109 | pub fn parse(decoder: &mut Decoder, header_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterParameters` is never used [INFO] [stdout] --> src/flv/header.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum FilterParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptionFilterParameters` is never constructed [INFO] [stdout] --> src/flv/header.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct EncryptionFilterParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectiveEncryptionFilterParameters` is never constructed [INFO] [stdout] --> src/flv/header.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct SelectiveEncryptionFilterParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/flv/header.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl SelectiveEncryptionFilterParameters { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 131 | pub fn parse(decoder: &mut Decoder) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/flv/header.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl FilterParameters { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 137 | pub fn parse(decoder: &mut Decoder, param_size: &mut usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> src/flv/tag.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TagType` is never used [INFO] [stdout] --> src/flv/tag.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum TagType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TagBody` is never used [INFO] [stdout] --> src/flv/tag.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum TagBody { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NormalTagBody` is never used [INFO] [stdout] --> src/flv/tag.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NormalTagBody { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncryptedTagBody` is never used [INFO] [stdout] --> src/flv/tag.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | pub enum EncryptedTagBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/flv/tag.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TagType { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 104 | pub fn from(tag_type: u8) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/flv/tag.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl Tag { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 123 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_object` is never used [INFO] [stdout] --> src/flv/script.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_object(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptTagBody` is never constructed [INFO] [stdout] --> src/flv/script.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ScriptTagBody { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/flv/script.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ScriptTagBody { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 33 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScriptData` is never used [INFO] [stdout] --> src/flv/script.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum ScriptData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptDataObject` is never constructed [INFO] [stdout] --> src/flv/script.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ScriptDataObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `parse_no_marker` are never used [INFO] [stdout] --> src/flv/script.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ScriptDataObject { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 64 | [INFO] [stdout] 65 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn parse_no_marker(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptDataObjectProp` is never constructed [INFO] [stdout] --> src/flv/script.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ScriptDataObjectProp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptDataString` is never constructed [INFO] [stdout] --> src/flv/script.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ScriptDataString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `parse_no_marker` are never used [INFO] [stdout] --> src/flv/script.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl ScriptDataString { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 108 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn parse_no_marker(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptDataLongString` is never constructed [INFO] [stdout] --> src/flv/script.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct ScriptDataLongString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `parse_no_marker` are never used [INFO] [stdout] --> src/flv/script.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl ScriptDataLongString { [INFO] [stdout] | ------------------------- associated functions in this implementation [INFO] [stdout] 139 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn parse_no_marker(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptDataEcmaArray` is never constructed [INFO] [stdout] --> src/flv/script.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct ScriptDataEcmaArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `parse_no_marker` are never used [INFO] [stdout] --> src/flv/script.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl ScriptDataEcmaArray { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 167 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn parse_no_marker(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptStrictArray` is never constructed [INFO] [stdout] --> src/flv/script.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ScriptStrictArray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `parse_no_marker` are never used [INFO] [stdout] --> src/flv/script.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl ScriptStrictArray { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 202 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn parse_no_marker(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptDataDate` is never constructed [INFO] [stdout] --> src/flv/script.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct ScriptDataDate { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `parse_no_marker` are never used [INFO] [stdout] --> src/flv/script.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl ScriptDataDate { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 234 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn parse_no_marker(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaData` is never constructed [INFO] [stdout] --> src/flv/meta.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MetaData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/flv/meta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MetaData { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawMetaData` is never constructed [INFO] [stdout] --> src/flv/meta.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RawMetaData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `try_get`, `try_get_string`, `try_get_number`, and `try_get_boolean` are never used [INFO] [stdout] --> src/flv/meta.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl RawMetaData { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new(data: ScriptTagBody) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn try_get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn try_get_string(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn try_get_number(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn try_get_boolean(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XMPData` is never constructed [INFO] [stdout] --> src/flv/meta.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct XMPData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/flv/meta.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl XMPData { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 103 | pub fn new(xmp: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IReader` is never used [INFO] [stdout] --> src/io/reader.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IReader { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalReader` is never constructed [INFO] [stdout] --> src/io/reader.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LocalReader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_file`, and `read_bytes` are never used [INFO] [stdout] --> src/io/reader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LocalReader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(filename: &str) -> LocalReader { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn read_file(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn read_bytes(&mut self, buffer: &mut [u8]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitIO` is never constructed [INFO] [stdout] --> src/io/bit.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BitIO { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, `read_bit`, `read_bit_safe`, and `read_range` are never used [INFO] [stdout] --> src/io/bit.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl BitIO { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(byte: u8) -> BitIO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn read(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read_bit(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn read_bit_safe(&self, index: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn read_range(&self, start: usize, end: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UIntParserEndian` is never used [INFO] [stdout] --> src/io/bit.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum UIntParserEndian { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U16BitIO` is never constructed [INFO] [stdout] --> src/io/bit.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct U16BitIO { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_data`, `new`, `read_at`, `read_range`, `write_at`, and `write_range` are never used [INFO] [stdout] --> src/io/bit.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl U16BitIO { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 55 | #[inline] [INFO] [stdout] 56 | pub fn get_data(&self) -> [u8; 2] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn new(data: u16, endian: UIntParserEndian) -> U16BitIO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn read_at(&mut self, bit_offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn read_range(&mut self, start: usize, end: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn write_at(&mut self, bit_offset: usize, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn write_range(&mut self, start: usize, end: usize, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U32BitIO` is never constructed [INFO] [stdout] --> src/io/bit.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct U32BitIO { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_data`, `new`, `read_at`, `read_range`, `write_at`, and `write_range` are never used [INFO] [stdout] --> src/io/bit.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl U32BitIO { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 124 | #[inline] [INFO] [stdout] 125 | pub fn get_data(&self) -> [u8; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new(data: u32, endian: UIntParserEndian) -> U32BitIO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn read_at(&mut self, bit_offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn read_range(&mut self, start: usize, end: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn write_at(&mut self, bit_offset: usize, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn write_range(&mut self, start: usize, end: usize, value: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> src/core.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Core { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn process_incoming(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn send(&self, packed: Packed) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn push_data_to_decoder(&self, data: &mut VecDeque) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn start(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn start_decoding(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn start_demuxing(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn start_remuxing(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn stop(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn stop_decoding(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn stop_demuxing(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn stop_remuxing(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn now(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn decode_now(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn demux_now(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn remux_now(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn drop_all_workers(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn drop_decoding_worker(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn drop_demuxing_worker(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn drop_remuxing_worker(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_audio_codec_conf`, `get_video_codec_conf`, `is_codec_configured`, `try_get_codec_conf`, and `get_codec_conf` are never used [INFO] [stdout] --> src/core.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 263 | impl Core { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 264 | pub fn get_audio_codec_conf(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn get_video_codec_conf(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn is_codec_configured(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn try_get_codec_conf(&mut self) -> Option<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_codec_conf(&mut self) -> Result<(String, String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IConsumable` is never used [INFO] [stdout] --> src/core.rs:306:11 [INFO] [stdout] | [INFO] [stdout] 306 | pub trait IConsumable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Exchange` is never constructed [INFO] [stdout] --> src/exchange.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Exchange { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Destination` is never used [INFO] [stdout] --> src/exchange.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Destination { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExchangeRegistrable` is never used [INFO] [stdout] --> src/exchange.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait ExchangeRegistrable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_exchange_sender`, `get_sender`, `register`, `process_incoming`, and `launch_worker_thread` are never used [INFO] [stdout] --> src/exchange.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Exchange { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new() -> Exchange { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_exchange_sender(&self) -> mpsc::Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_sender(&self, channel_dest: Destination) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn register(&mut self, registry: &mut dyn ExchangeRegistrable) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn process_incoming(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn launch_worker_thread(mut self) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Packed` is never constructed [INFO] [stdout] --> src/exchange.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Packed { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PackedContent` is never used [INFO] [stdout] --> src/exchange.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum PackedContent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PackedContentToCore` is never used [INFO] [stdout] --> src/exchange.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum PackedContentToCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RemuxedData` is never used [INFO] [stdout] --> src/exchange.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum RemuxedData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MseDecoderConfig` is never used [INFO] [stdout] --> src/exchange.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub enum MseDecoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioCodecConfig` is never constructed [INFO] [stdout] --> src/exchange.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct AudioCodecConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `audio_conf` are never used [INFO] [stdout] --> src/exchange.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl AudioCodecConfig { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 152 | pub fn new(codec_type: AudioCodecType, object_type: u8) -> AudioCodecConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn audio_conf(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoCodecConfig` is never constructed [INFO] [stdout] --> src/exchange.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct VideoCodecConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `video_conf` are never used [INFO] [stdout] --> src/exchange.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl VideoCodecConfig { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 187 | pub fn new(profile_indication: u8, profile_compatibility: u8, level_indication: u8) -> VideoCodecConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn video_conf(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PackedContentToDecoder` is never used [INFO] [stdout] --> src/exchange.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub enum PackedContentToDecoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PackedContentToDemuxer` is never used [INFO] [stdout] --> src/exchange.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | pub enum PackedContentToDemuxer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PackedContentToRemuxer` is never used [INFO] [stdout] --> src/exchange.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum PackedContentToRemuxer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Remuxer` is never constructed [INFO] [stdout] --> src/fmpeg/remuxer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Remuxer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/remuxer.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Remuxer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn set_remuxing(&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn send(&mut self, pack: Packed) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn send_mpeg4_header(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn send_raw_data(&mut self, data: RemuxedData) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn remux(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn run(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn launch_worker_thread(mut self) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Utils` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `str_to_char_array` and `slice_to_char_array` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Utils { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 6 | #[inline] [INFO] [stdout] 7 | pub fn str_to_char_array(s: &String) -> [char; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn slice_to_char_array(slice: &str) -> [char; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U24` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct U24 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, and `to_u32` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl U24 { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 31 | #[inline] [INFO] [stdout] 32 | pub fn new(value: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from(value: u32) -> U24 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn to_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixedPoint16` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct FixedPoint16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_float` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl FixedPoint16 { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | #[inline] [INFO] [stdout] 77 | fn new(integer: u8, fraction: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn to_float(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixedPoint32` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct FixedPoint32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_float` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 130 | impl FixedPoint32 { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 131 | #[inline] [INFO] [stdout] 132 | fn new(integer: u16, fraction: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn to_float(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Box` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct FullBox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ISerializable` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | pub trait ISerializable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileTypeBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct FileTypeBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileTypeBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct FileTypeBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `major_brand`, `minor_version`, `compatible_brand`, `compatible_brands`, and `build` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl FileTypeBoxBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 247 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn major_brand(mut self, major_brand: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn minor_version(mut self, minor_version: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn compatible_brand(mut self, compatible_brand: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn compatible_brands(mut self, compatible_brands: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn build(self) -> FileTypeBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct MovieBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct MovieBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `movie_header_box`, `track`, and `build` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 337 | impl MovieBoxBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 338 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn movie_header_box(mut self, movie_header_box: MovieHeaderBox) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn track(mut self, track: TrackBox) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn build(self) -> MovieBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MovieHeaderBox` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | pub enum MovieHeaderBox { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieHeaderBoxV0` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 395 | pub struct MovieHeaderBoxV0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MATRIX` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:421:7 [INFO] [stdout] | [INFO] [stdout] 421 | const MATRIX: [u8; 36] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 433 | impl MovieHeaderBoxV0 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 434 | pub fn new(creation_time: u32, modification_time: u32, timescale: u32, duration: u32, rate: FixedPoint32, volume: FixedPoint16, next_... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieHeaderBoxV0Builder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 500 | pub struct MovieHeaderBoxV0Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 510 | impl MovieHeaderBoxV0Builder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 511 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub fn creation_time(mut self, creation_time: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn modification_time(mut self, modification_time: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn timescale(mut self, timescale: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn duration(mut self, duration: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | pub fn rate(mut self, rate: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | pub fn volume(mut self, volume: f32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 566 | pub fn next_track_id(mut self, next_track_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn build(self) -> MovieHeaderBoxV0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieHeaderBoxV1` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub struct MovieHeaderBoxV1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 612 | impl MovieHeaderBoxV1 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 613 | pub fn new(creation_time: u64, modification_time: u64, timescale: u32, duration: u64, rate: FixedPoint32, volume: FixedPoint16, next_... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieHeaderBoxV1Builder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct MovieHeaderBoxV1Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:685:12 [INFO] [stdout] | [INFO] [stdout] 684 | impl MovieHeaderBoxV1Builder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 685 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | pub fn creation_time(mut self, creation_time: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 704 | pub fn modification_time(mut self, modification_time: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | pub fn timescale(mut self, timescale: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub fn duration(mut self, duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | pub fn rate(mut self, rate: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn volume(mut self, volume: f32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | pub fn next_track_id(mut self, next_track_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 739 | pub fn build(self) -> MovieHeaderBoxV1 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:753:12 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct TrackBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:783:12 [INFO] [stdout] | [INFO] [stdout] 782 | impl TrackBox { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 783 | pub fn new(track_header_box: TrackHeaderBox, media_box: MediaBox) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrackHeaderBox` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:794:10 [INFO] [stdout] | [INFO] [stdout] 794 | pub enum TrackHeaderBox { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackHeaderBoxV0` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:817:12 [INFO] [stdout] | [INFO] [stdout] 817 | pub struct TrackHeaderBoxV0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:846:12 [INFO] [stdout] | [INFO] [stdout] 845 | impl TrackHeaderBoxV0 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 846 | pub fn new(creation_time: u32, modification_time: u32, track_id: u32, duration: u32, width: FixedPoint32, height: FixedPoint32) -> Se... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackHeaderBoxV0Builder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:903:12 [INFO] [stdout] | [INFO] [stdout] 903 | pub struct TrackHeaderBoxV0Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:913:12 [INFO] [stdout] | [INFO] [stdout] 912 | impl TrackHeaderBoxV0Builder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 913 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 925 | pub fn creation_time(mut self, creation_time: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | pub fn modification_time(mut self, modification_time: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 937 | pub fn track_id(mut self, track_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | pub fn duration(mut self, duration: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 949 | pub fn width(mut self, width: FixedPoint32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 955 | pub fn height(mut self, height: FixedPoint32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 960 | pub fn build(self) -> TrackHeaderBoxV0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackHeaderBoxV1` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:973:12 [INFO] [stdout] | [INFO] [stdout] 973 | pub struct TrackHeaderBoxV1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1002:12 [INFO] [stdout] | [INFO] [stdout] 1001 | impl TrackHeaderBoxV1 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1002 | pub fn new(creation_time: u64, modification_time: u64, track_id: u32, duration: u64, width: FixedPoint32, height: FixedPoint32) -> Se... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1060:12 [INFO] [stdout] | [INFO] [stdout] 1060 | pub struct MediaBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1070:12 [INFO] [stdout] | [INFO] [stdout] 1069 | impl MediaBox { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 1070 | pub fn new(media_header: MediaHeaderBoxV0, media_handler_box: HandlerBox, media_info_box: MediaInfoBox) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaHeaderBoxV0` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1103:12 [INFO] [stdout] | [INFO] [stdout] 1103 | pub struct MediaHeaderBoxV0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1119:12 [INFO] [stdout] | [INFO] [stdout] 1118 | impl MediaHeaderBoxV0 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1119 | pub fn new(creation_time: u32, modification_time: u32, timescale: u32, duration: u32, language: u16, quality: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaHeaderBoxV0Builder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1162:12 [INFO] [stdout] | [INFO] [stdout] 1162 | pub struct MediaHeaderBoxV0Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1173:12 [INFO] [stdout] | [INFO] [stdout] 1171 | impl MediaHeaderBoxV0Builder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 1172 | #[inline] [INFO] [stdout] 1173 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1185 | pub fn creation_time(mut self, creation_time: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | pub fn modification_time(mut self, modification_time: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1197 | pub fn timescale(mut self, timescale: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1203 | pub fn duration(mut self, duration: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1209 | pub fn language(mut self, language: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1215 | pub fn quality(mut self, quality: u16) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1221 | pub fn build(self) -> MediaHeaderBoxV0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HandlerBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1227:12 [INFO] [stdout] | [INFO] [stdout] 1227 | pub struct HandlerBox { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1240:12 [INFO] [stdout] | [INFO] [stdout] 1239 | impl HandlerBox { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 1240 | pub fn new(handler_type: [char; 4], name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandlerType` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1280:10 [INFO] [stdout] | [INFO] [stdout] 1280 | pub enum HandlerType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1286:12 [INFO] [stdout] | [INFO] [stdout] 1285 | impl HandlerType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 1286 | pub fn into(self) -> HandlerBox { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaInfoBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1299:12 [INFO] [stdout] | [INFO] [stdout] 1299 | pub struct MediaInfoBox { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1309:12 [INFO] [stdout] | [INFO] [stdout] 1308 | impl MediaInfoBox { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 1309 | pub fn new(xmedia_handler_box: XMediaHandlerBox, data_information_box: DataInformationBox, sample_table_box: SampleBoxTableBox) -> Se... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `XMediaHandlerBox` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1343:10 [INFO] [stdout] | [INFO] [stdout] 1343 | pub enum XMediaHandlerBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoMediaHandlerBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1366:12 [INFO] [stdout] | [INFO] [stdout] 1366 | pub struct VideoMediaHandlerBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1369:12 [INFO] [stdout] | [INFO] [stdout] 1368 | impl VideoMediaHandlerBox { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 1369 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioMediaHandlerBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1393:12 [INFO] [stdout] | [INFO] [stdout] 1393 | pub struct AudioMediaHandlerBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1396:12 [INFO] [stdout] | [INFO] [stdout] 1395 | impl AudioMediaHandlerBox { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 1396 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataInformationBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1419:12 [INFO] [stdout] | [INFO] [stdout] 1419 | pub struct DataInformationBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataReferenceBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1421:12 [INFO] [stdout] | [INFO] [stdout] 1421 | pub struct DataReferenceBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1424:12 [INFO] [stdout] | [INFO] [stdout] 1423 | impl DataInformationBox { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 1424 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1430:12 [INFO] [stdout] | [INFO] [stdout] 1429 | impl DataReferenceBox { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1430 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleBoxTableBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1476:12 [INFO] [stdout] | [INFO] [stdout] 1476 | pub struct SampleBoxTableBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1516:12 [INFO] [stdout] | [INFO] [stdout] 1515 | impl SampleBoxTableBox { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 1516 | pub fn new(sample_description_table_box: SampleDescriptionTableBox) -> SampleBoxTableBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleDescriptionTableBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1530:12 [INFO] [stdout] | [INFO] [stdout] 1530 | pub struct SampleDescriptionTableBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleDescriptionTableBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1569:12 [INFO] [stdout] | [INFO] [stdout] 1569 | pub struct SampleDescriptionTableBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_sample_description_table_box`, and `build` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1579:12 [INFO] [stdout] | [INFO] [stdout] 1578 | impl SampleDescriptionTableBoxBuilder { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 1579 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1590 | pub fn add_sample_description_table_box(mut self, sample_description_table_box: SubSampleDescriptionTableBox) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1596 | pub fn build(self) -> SampleDescriptionTableBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SubSampleDescriptionTableBox` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1609:10 [INFO] [stdout] | [INFO] [stdout] 1609 | pub enum SubSampleDescriptionTableBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioExtendedDescriptionBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2028:12 [INFO] [stdout] | [INFO] [stdout] 2028 | pub struct AudioExtendedDescriptionBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2039:12 [INFO] [stdout] | [INFO] [stdout] 2037 | impl AudioExtendedDescriptionBox { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 2038 | #[inline] [INFO] [stdout] 2039 | pub fn new(spec_config: aac_utils::AacAudioSpecConfLike) -> AudioExtendedDescriptionBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mp4aDescriptionBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2113:12 [INFO] [stdout] | [INFO] [stdout] 2113 | pub struct Mp4aDescriptionBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2167:12 [INFO] [stdout] | [INFO] [stdout] 2166 | impl Mp4aDescriptionBox { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 2167 | pub fn new(sample_rate: f32, num_audio_channels: u16, spec_config: aac_utils::AacAudioSpecConfLike) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mp4aDescriptionBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2186:12 [INFO] [stdout] | [INFO] [stdout] 2186 | pub struct Mp4aDescriptionBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sample_rate`, `num_audio_channels`, `spec_config`, and `build` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2193:12 [INFO] [stdout] | [INFO] [stdout] 2192 | impl Mp4aDescriptionBoxBuilder { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 2193 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2203 | pub fn sample_rate(mut self, sample_rate: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2208 | pub fn num_audio_channels(mut self, num_audio_channels: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2213 | pub fn spec_config(mut self, spec_config: aac_utils::AacAudioSpecConfLike) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2218 | pub fn build(self) -> Mp4aDescriptionBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mp3DescriptionBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2224:12 [INFO] [stdout] | [INFO] [stdout] 2224 | pub struct Mp3DescriptionBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2276:12 [INFO] [stdout] | [INFO] [stdout] 2275 | impl Mp3DescriptionBox { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 2276 | pub fn new(sample_rate: f32, num_audio_channels: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mp3DescriptionBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2294:12 [INFO] [stdout] | [INFO] [stdout] 2294 | pub struct Mp3DescriptionBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sample_rate`, `num_audio_channels`, and `build` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2300:12 [INFO] [stdout] | [INFO] [stdout] 2299 | impl Mp3DescriptionBoxBuilder { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 2300 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2307 | pub fn sample_rate(mut self, sample_rate: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2312 | pub fn num_audio_channels(mut self, num_audio_channels: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2317 | pub fn build(self) -> Mp3DescriptionBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Avc1DescriptionBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2357:12 [INFO] [stdout] | [INFO] [stdout] 2357 | pub struct Avc1DescriptionBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2384:12 [INFO] [stdout] | [INFO] [stdout] 2383 | impl Avc1DescriptionBox { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 2384 | pub fn new(width: u16, height: u16, avcc_box: avc1_utils::AvcCBoxLike) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Avc1DescriptionBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2446:12 [INFO] [stdout] | [INFO] [stdout] 2446 | pub struct Avc1DescriptionBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `avcc_box`, `set_width`, `set_height`, and `build` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2453:12 [INFO] [stdout] | [INFO] [stdout] 2452 | impl Avc1DescriptionBoxBuilder { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 2453 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2461 | pub fn avcc_box(mut self, avcc_box: avc1_utils::AvcCBoxLike) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2466 | pub fn set_width(mut self, width: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2471 | pub fn set_height(mut self, height: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2476 | pub fn build(self) -> Avc1DescriptionBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeToSampleBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2482:12 [INFO] [stdout] | [INFO] [stdout] 2482 | pub struct TimeToSampleBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2485:12 [INFO] [stdout] | [INFO] [stdout] 2484 | impl TimeToSampleBox { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 2485 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleToChunkBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2508:12 [INFO] [stdout] | [INFO] [stdout] 2508 | pub struct SampleToChunkBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2511:12 [INFO] [stdout] | [INFO] [stdout] 2510 | impl SampleToChunkBox { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 2511 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleSizeBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2534:12 [INFO] [stdout] | [INFO] [stdout] 2534 | pub struct SampleSizeBox; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2537:12 [INFO] [stdout] | [INFO] [stdout] 2536 | impl SampleSizeBox { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 2537 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkOffsetBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2561:12 [INFO] [stdout] | [INFO] [stdout] 2561 | pub struct ChunkOffsetBox; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2564:12 [INFO] [stdout] | [INFO] [stdout] 2563 | impl ChunkOffsetBox { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 2564 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieExtendBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2589:12 [INFO] [stdout] | [INFO] [stdout] 2589 | pub struct MovieExtendBox { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2597:12 [INFO] [stdout] | [INFO] [stdout] 2596 | impl MovieExtendBox { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 2597 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackExtendsBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:2630:12 [INFO] [stdout] | [INFO] [stdout] 2630 | pub struct TrackExtendsBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2643:12 [INFO] [stdout] | [INFO] [stdout] 2642 | impl TrackExtendsBox { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 2643 | pub fn new(track_id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AacObjectType` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1640:14 [INFO] [stdout] | [INFO] [stdout] 1640 | pub enum AacObjectType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1667:16 [INFO] [stdout] | [INFO] [stdout] 1665 | impl AacObjectType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 1666 | #[inline] [INFO] [stdout] 1667 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SamplingFreqIndex` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1699:14 [INFO] [stdout] | [INFO] [stdout] 1699 | pub enum SamplingFreqIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1740:16 [INFO] [stdout] | [INFO] [stdout] 1738 | impl SamplingFreqIndex { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 1739 | #[inline] [INFO] [stdout] 1740 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChannelConfig` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1761:14 [INFO] [stdout] | [INFO] [stdout] 1761 | pub enum ChannelConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1792:16 [INFO] [stdout] | [INFO] [stdout] 1790 | impl ChannelConfig { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 1791 | #[inline] [INFO] [stdout] 1792 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FrameLengthFlag` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1808:14 [INFO] [stdout] | [INFO] [stdout] 1808 | pub enum FrameLengthFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1825:16 [INFO] [stdout] | [INFO] [stdout] 1823 | impl FrameLengthFlag { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 1824 | #[inline] [INFO] [stdout] 1825 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoreCoderDependentFlag` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1834:14 [INFO] [stdout] | [INFO] [stdout] 1834 | pub enum CoreCoderDependentFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1851:16 [INFO] [stdout] | [INFO] [stdout] 1849 | impl CoreCoderDependentFlag { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 1850 | #[inline] [INFO] [stdout] 1851 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExtensionFlag` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1860:14 [INFO] [stdout] | [INFO] [stdout] 1860 | pub enum ExtensionFlag { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1877:16 [INFO] [stdout] | [INFO] [stdout] 1875 | impl ExtensionFlag { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 1876 | #[inline] [INFO] [stdout] 1877 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GA_SPEC_CONF` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1885:15 [INFO] [stdout] | [INFO] [stdout] 1885 | pub const GA_SPEC_CONF: [u8; 3] = [0x06, 0x01, 0x02]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AacAudioSpecConfLike` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1889:14 [INFO] [stdout] | [INFO] [stdout] 1889 | pub enum AacAudioSpecConfLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AacAudioSpecificConfigBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1913:16 [INFO] [stdout] | [INFO] [stdout] 1913 | pub struct AacAudioSpecificConfigBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AacAudioSpecificConfigBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1955:16 [INFO] [stdout] | [INFO] [stdout] 1955 | pub struct AacAudioSpecificConfigBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1966:16 [INFO] [stdout] | [INFO] [stdout] 1964 | impl AacAudioSpecificConfigBoxBuilder { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 1965 | #[inline] [INFO] [stdout] 1966 | pub fn new() -> AacAudioSpecificConfigBoxBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1978 | pub fn set_aac_object_type(mut self, aac_object_type: AacObjectType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1984 | pub fn set_sampling_freq_index(mut self, sampling_freq_index: SamplingFreqIndex) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1990 | pub fn set_channel_config(mut self, channel_config: ChannelConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1996 | pub fn set_frame_length_flag(mut self, frame_length_flag: FrameLengthFlag) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2002 | pub fn set_core_coder_dependent_flag(mut self, core_coder_dependent_flag: CoreCoderDependentFlag) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2008 | pub fn set_extension_flag(mut self, extension_flag: ExtensionFlag) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2014 | pub fn build(mut self) -> AacAudioSpecificConfigBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AvcCBoxLike` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:2326:14 [INFO] [stdout] | [INFO] [stdout] 2326 | pub enum AvcCBoxLike { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieFragmentBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MovieFragmentBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `deferred_set_trun_size` are never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MovieFragmentBox { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(sequence_number: u32, track_fragment_box: TrackFragmentBox) -> MovieFragmentBox { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn deferred_set_trun_size(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieFragmentHeaderBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MovieFragmentHeaderBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl MovieFragmentHeaderBox { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(sequence_number: u32) -> MovieFragmentHeaderBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackFragmentBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct TrackFragmentBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackFragmentBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl TrackFragmentBoxBuilder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 108 | pub fn new() -> TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_track_id(mut self, track_id: u32) -> TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn with_media_decode_time(mut self, base_media_decode_time: u32) -> TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn with_sample_options(mut self, sample_flag_builder: SampleFlagBuilder) -> TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn with_sample_table_box(mut self, sample_table_box: SampleDependencyTableBoxBuilder) -> TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn with_track_run_box(mut self, track_run_box: TrackRunBox) -> TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn build(self) -> TrackFragmentBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackFragmentHeaderBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct TrackFragmentHeaderBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl TrackFragmentHeaderBox { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 194 | pub fn new(track_id: u32) -> TrackFragmentHeaderBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fmpeg/mp4head.rs:2014:22 [INFO] [stdout] | [INFO] [stdout] 2014 | pub fn build(mut self) -> AacAudioSpecificConfigBox { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackFragmentDecodeTimeBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct TrackFragmentDecodeTimeBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl TrackFragmentDecodeTimeBox { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 237 | pub fn new(base_media_decode_time: u32) -> TrackFragmentDecodeTimeBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleDependencyTableBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct SampleDependencyTableBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 279 | impl SampleDependencyTableBox { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 280 | pub fn new(sample_dependency_flags: u8) -> SampleDependencyTableBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SampleDependencyTableBoxBuilder` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | pub enum SampleDependencyTableBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_box` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 319 | impl SampleDependencyTableBoxBuilder { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] 320 | pub fn as_box(&self) -> SampleDependencyTableBox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleFlagBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct SampleFlagBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 356 | impl SampleFlagBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 357 | pub fn new() -> SampleFlagBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn set_is_leading(mut self, is_leading: bool) -> SampleFlagBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn set_sample_depends_on(mut self, sample_depends_on: bool) -> SampleFlagBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn set_sample_is_depended_on(mut self, sample_is_depended_on: bool) -> SampleFlagBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn set_sample_has_redundancy(mut self, sample_has_redundancy: bool) -> SampleFlagBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn set_is_non_sync(mut self, is_non_sync: bool) -> SampleFlagBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn build(self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackRunBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct TrackRunBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 447 | impl TrackRunBox { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 448 | pub fn new() -> TrackRunBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackRunBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:495:12 [INFO] [stdout] | [INFO] [stdout] 495 | pub struct TrackRunBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 505 | impl TrackRunBoxBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 506 | pub fn new() -> TrackRunBoxBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn with_sample_duration(mut self, duration: u32) -> TrackRunBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn with_sample_size(mut self, size: u32) -> TrackRunBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn with_sample_flags(mut self, flags: u16) -> TrackRunBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn with_sample_composition_time_offset(mut self, offset: u32) -> TrackRunBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | pub fn with_data_offset(mut self, offset: u32) -> TrackRunBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | pub fn build(self) -> TrackRunBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieDataBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4frag.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct MovieDataBox { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_data` are never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 590 | impl MovieDataBox { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 591 | pub fn new(data: Vec) -> MovieDataBox { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 599 | pub fn add_data(mut self, data: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrackType` is never used [INFO] [stdout] --> src/fmpeg/remux_context.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum TrackType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackContext` is never constructed [INFO] [stdout] --> src/fmpeg/remux_context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TrackContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmpeg/remux_context.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TrackContext { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(track_id: u32, track_type: TrackType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleContext` is never constructed [INFO] [stdout] --> src/fmpeg/remux_context.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SampleContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleContextBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/remux_context.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SampleContextBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/remux_context.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl SampleContextBuilder { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_is_leading(&mut self, is_leading: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_is_non_sync(&mut self, is_non_sync: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_is_keyframe(&mut self, is_keyframe: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_has_redundancy(&mut self, has_redundancy: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn set_decode_time(&mut self, decode_time: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn set_composition_time_offset(&mut self, composition_time_offset: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_sample_duration(&mut self, sample_duration: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn set_sample_size(&mut self, sample_size: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn build(&self) -> SampleContext { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_SCALE` is never used [INFO] [stdout] --> src/fmpeg/remux_context.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub const TIME_SCALE: u32 = 24000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemuxContext` is never constructed [INFO] [stdout] --> src/fmpeg/remux_context.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct RemuxContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VideoCodecType` is never used [INFO] [stdout] --> src/fmpeg/remux_context.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum VideoCodecType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AudioCodecType` is never used [INFO] [stdout] --> src/fmpeg/remux_context.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | pub enum AudioCodecType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/remux_context.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl RemuxContext { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 214 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn parse_flv_header(&mut self, header: &FlvHeader) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn parse_metadata(&mut self, metadata: &RawMetaData) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | const AAC_SAMPLE_RATES: [u32; 13] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn configure_audio_metadata(&mut self, audio_metadata: &AudioParseResult) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn configure_video_metadata(&mut self, video_metadata: &VideoParseResult) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn is_metadata_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn is_configured(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn is_header_sent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn set_header_sent(&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_timescale` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_timescale(timestamp_ms: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_timescale_accurate` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_timescale_accurate(timestamp_ms: f32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_mp3_timescale` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_mp3_timescale(sample_rate: u32, mp3version: Mp3Version) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_aac_timescale` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_aac_timescale(sample_rate: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_avc_timescale` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_avc_timescale(fps: f32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AudioParseResult` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum AudioParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VideoParseResult` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum VideoParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Avc1ParseResult` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum Avc1ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AvcNalu` is never constructed [INFO] [stdout] --> src/fmpeg/parser.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct AvcNalu { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyframeType` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum KeyframeType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AudioConfigurationLike` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum AudioConfigurationLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mp3Version` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Mp3Version { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mp3Layer` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub enum Mp3Layer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Channel` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mp3ParseResult` is never constructed [INFO] [stdout] --> src/fmpeg/parser.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Mp3ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUDIO_SAMPLE_RATE_TABLE_M10` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | pub const AUDIO_SAMPLE_RATE_TABLE_M10: [u32; 4] = [44100, 48000, 32000, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUDIO_SAMPLE_RATE_TABLE_M20` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | pub const AUDIO_SAMPLE_RATE_TABLE_M20: [u32; 4] = [22050, 24000, 16000, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUDIO_SAMPLE_RATE_TABLE_M25` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | pub const AUDIO_SAMPLE_RATE_TABLE_M25: [u32; 4] = [11025, 12000, 8000, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUDIO_BITRATE_TABLE_L1` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | pub const AUDIO_BITRATE_TABLE_L1: [u32; 16] = [0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUDIO_BITRATE_TABLE_L2` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | pub const AUDIO_BITRATE_TABLE_L2: [u32; 16] = [0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AUDIO_BITRATE_TABLE_L3` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | pub const AUDIO_BITRATE_TABLE_L3: [u32; 16] = [0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MP3_SYNC_WORD` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | const MP3_SYNC_WORD: u16 = 0x07FF; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fmpeg/mp4head.rs:2339:17 [INFO] [stdout] | [INFO] [stdout] 2339 | let mut size = self.size(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AacSequenceHeader` is never constructed [INFO] [stdout] --> src/fmpeg/parser.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct AacSequenceHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/fmpeg/parser.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct Parser; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/fmpeg/parser.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl Parser { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 192 | pub fn parse_audio(tag: &Tag) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn parse_mp3(header: &AudioTagHeader, body: &VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | fn parse_aac(header: &AudioTagHeader, body: &VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | fn parse_aac_seq_hdr(body: &VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn parse_aac_raw(body: &VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn parse_video(tag: &Tag) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn parse_avc(header: &VideoTagHeader, body: &VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn parse_avc_nalu(header: &VideoTagHeader, mut payload: VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoder` is never constructed [INFO] [stdout] --> src/fmpeg/encoder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Encoder; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_VIDEO_TRACK_ID` is never used [INFO] [stdout] --> src/fmpeg/encoder.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DEFAULT_VIDEO_TRACK_ID: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_AUDIO_TRACK_ID` is never used [INFO] [stdout] --> src/fmpeg/encoder.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DEFAULT_AUDIO_TRACK_ID: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/fmpeg/encoder.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Encoder { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 13 | pub fn encode_ftyp(ctx: &RemuxContext) -> FileTypeBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn encode_moov(ctx: &RemuxContext) -> MovieBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn encode_mhdv(ctx: &RemuxContext) -> MovieHeaderBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn encode_trak(ctx: &RemuxContext, track_id: u32, media_box: MediaBox) -> mp4head::TrackBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn encode_mdia(ctx: &RemuxContext, handler_type: HandlerType) -> MediaBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn encode_mdhd(ctx: &RemuxContext) -> mp4head::MediaHeaderBoxV0 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn encode_hdlr(ctx: &RemuxContext, handler_type: HandlerType) -> mp4head::HandlerBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn encode_minf(ctx: &RemuxContext, handler_type: HandlerType) -> mp4head::MediaInfoBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn encode_moof(ctx: &mut RemuxContext, track_ctx: &mut TrackContext, encoding_ctx: &mut SampleContext) -> MovieFragmentBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn encode_traf(ctx: &mut RemuxContext, track_ctx: &mut TrackContext, encoding_ctx: &mut SampleContext) -> TrackFragmentBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn encode_mdat(raw_data: Vec) -> MovieDataBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/fmpeg/remux_context.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 385 | VideoParseResult::Avc1(h264_info) => { [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 411 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protection_bit` [INFO] [stdout] --> src/fmpeg/parser.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let protection_bit = u16io.read_at(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protection_bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/fmpeg/parser.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_mp3(header: &AudioTagHeader, body: &VecDeque) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/fmpeg/encoder.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encode_hdlr(ctx: &RemuxContext, handler_type: HandlerType) -> mp4head::HandlerBox { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core` [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let core = core::Core::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut buf = std::fs::read("D:/test.flv").unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut buf = std::fs::read("D:/test_aac.flv").unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/flv/decoder.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Decoder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn push_data(&mut self, data: &mut VecDeque) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn push_bytes(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn drain_u16_le(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn drain_u24_le(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn drain_u32_le(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn drain_u64(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn drain_i8(&mut self) -> i8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn drain_i32(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn drain_i64(&mut self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn drain_f64_le(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn drain_f32_le(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn drain_f32(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signature`, `version`, and `data_offset` are never read [INFO] [stdout] --> src/flv/header.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FlvHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub signature: [u8; 3], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub data_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlvHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sound_rate`, `sound_size`, and `sound_type` are never read [INFO] [stdout] --> src/flv/header.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AudioTagHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub sound_rate: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | // UB1 [INFO] [stdout] 34 | pub sound_size: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | // UB1 [INFO] [stdout] 36 | pub sound_type: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioTagHeader` 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 `new` is never used [INFO] [stdout] --> src/flv/header.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AudioTagHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 43 | pub fn new(sound_format: u8, sound_rate: u8, sound_size: bool, sound_type: bool, aac_packet_type: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `composition_time` is never read [INFO] [stdout] --> src/flv/header.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct VideoTagHeader { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub composition_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoTagHeader` 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 `new` is never used [INFO] [stdout] --> src/flv/header.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl VideoTagHeader { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 80 | pub fn new(frame_type: u8, codec_id: u8, avc_packet_type: Option, composition_time: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EncryptionFilter` and `SelectiveEncryptionFilter` are never constructed [INFO] [stdout] --> src/flv/header.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum FilterParameters { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 116 | EncryptionFilter(EncryptionFilterParameters), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | SelectiveEncryptionFilter(SelectiveEncryptionFilterParameters), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilterParameters` 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/flv/header.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl SelectiveEncryptionFilterParameters { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 131 | pub fn parse(decoder: &mut Decoder) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter`, `timestamp_short`, `timestamp_extended`, `stream_id`, `encryption_tag_header`, and `filter_parameters` are never read [INFO] [stdout] --> src/flv/tag.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Tag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 8 | pub filter: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub timestamp_short: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub timestamp_extended: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub timestamp: u32, [INFO] [stdout] 14 | pub stream_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub tag_header: TagHeader, [INFO] [stdout] 16 | pub encryption_tag_header: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub filter_parameters: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` 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: variant `Encryption` is never constructed [INFO] [stdout] --> src/flv/tag.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum TagType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Encryption, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TagType` 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 `0` is never read [INFO] [stdout] --> src/flv/tag.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | Encrypted(EncryptedTagBody), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagBody` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - Encrypted(EncryptedTagBody), [INFO] [stdout] 55 + Encrypted(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Placeholder` is never constructed [INFO] [stdout] --> src/flv/tag.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NormalTagBody { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 63 | Placeholder, // todo: temporary [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NormalTagBody` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Audio`, `Video`, and `Script` are never constructed [INFO] [stdout] --> src/flv/tag.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub enum EncryptedTagBody { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 97 | Audio(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | Video(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | Script(ScriptTagBody), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncryptedTagBody` 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 `0` is never read [INFO] [stdout] --> src/flv/script.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Boolean(u8), [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScriptData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - Boolean(u8), [INFO] [stdout] 43 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flv/script.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | Object(ScriptDataObject), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScriptData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - Object(ScriptDataObject), [INFO] [stdout] 45 + Object(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flv/script.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | Reference(u16), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScriptData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - Reference(u16), [INFO] [stdout] 49 + Reference(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flv/script.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | EcmaArray(ScriptDataEcmaArray), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScriptData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 - EcmaArray(ScriptDataEcmaArray), [INFO] [stdout] 50 + EcmaArray(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flv/script.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | StrictArray(ScriptStrictArray), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScriptData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - StrictArray(ScriptStrictArray), [INFO] [stdout] 52 + StrictArray(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flv/script.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | Date(ScriptDataDate), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScriptData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 - Date(ScriptDataDate), [INFO] [stdout] 53 + Date(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MovieClip`, `Null`, and `Undefined` are never constructed [INFO] [stdout] --> src/flv/script.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum ScriptData { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | MovieClip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptData` 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 `properties` is never read [INFO] [stdout] --> src/flv/script.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ScriptDataObject { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 60 | pub properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptDataObject` 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/flv/script.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ScriptDataObject { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 64 | [INFO] [stdout] 65 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/flv/script.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ScriptDataString { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 103 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptDataString` 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 `length` is never read [INFO] [stdout] --> src/flv/script.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct ScriptDataLongString { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 134 | pub length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptDataLongString` 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/flv/script.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl ScriptDataLongString { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 139 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length` and `values` are never read [INFO] [stdout] --> src/flv/script.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ScriptStrictArray { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 197 | pub length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 198 | pub values: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptStrictArray` 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/flv/script.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl ScriptStrictArray { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 202 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date` and `local_time_offset` are never read [INFO] [stdout] --> src/flv/script.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct ScriptDataDate { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 229 | pub date: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 230 | pub local_time_offset: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptDataDate` 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/flv/script.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl ScriptDataDate { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 234 | pub fn parse(data: &mut Decoder) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaData` is never constructed [INFO] [stdout] --> src/flv/meta.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MetaData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/flv/meta.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MetaData { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_get_boolean` is never used [INFO] [stdout] --> src/flv/meta.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl RawMetaData { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn try_get_boolean(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XMPData` is never constructed [INFO] [stdout] --> src/flv/meta.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct XMPData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/flv/meta.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl XMPData { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 103 | pub fn new(xmp: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IReader` is never used [INFO] [stdout] --> src/io/reader.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IReader { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalReader` is never constructed [INFO] [stdout] --> src/io/reader.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LocalReader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_file`, and `read_bytes` are never used [INFO] [stdout] --> src/io/reader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LocalReader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(filename: &str) -> LocalReader { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn read_file(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn read_bytes(&mut self, buffer: &mut [u8]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_bit_safe` is never used [INFO] [stdout] --> src/io/bit.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl BitIO { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn read_bit_safe(&self, index: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LittleEndian` is never constructed [INFO] [stdout] --> src/io/bit.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum UIntParserEndian { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 46 | LittleEndian, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endian` is never read [INFO] [stdout] --> src/io/bit.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct U16BitIO { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 50 | pub(crate) data: [u8; 2], [INFO] [stdout] 51 | endian: UIntParserEndian [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> src/io/bit.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl U16BitIO { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 55 | #[inline] [INFO] [stdout] 56 | pub fn get_data(&self) -> [u8; 2] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endian` is never read [INFO] [stdout] --> src/io/bit.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct U32BitIO { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 119 | data: [u8; 4], [INFO] [stdout] 120 | endian: UIntParserEndian [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_at` and `read_range` are never used [INFO] [stdout] --> src/io/bit.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl U32BitIO { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn read_at(&mut self, bit_offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn read_range(&mut self, start: usize, end: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_data_to_decoder` is never used [INFO] [stdout] --> src/core.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Core { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn push_data_to_decoder(&self, data: &mut VecDeque) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_exchange_sender` and `get_sender` are never used [INFO] [stdout] --> src/exchange.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Exchange { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_exchange_sender(&self) -> mpsc::Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_sender(&self, channel_dest: Destination) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Command` is never constructed [INFO] [stdout] --> src/exchange.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum PackedContentToCore { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 128 | Command [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PushData` is never constructed [INFO] [stdout] --> src/exchange.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub enum PackedContentToDecoder { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] 203 | PushData(VecDeque), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `str_to_char_array` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Utils { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 6 | #[inline] [INFO] [stdout] 7 | pub fn str_to_char_array(s: &String) -> [char; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_float` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl FixedPoint16 { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn to_float(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_float` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | impl FixedPoint32 { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn to_float(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Box` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullBox` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct FullBox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compatible_brand` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl FileTypeBoxBuilder { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn compatible_brand(mut self, compatible_brand: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `V1` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 371 | pub enum MovieHeaderBox { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 372 | V0(MovieHeaderBoxV0), [INFO] [stdout] 373 | V1(MovieHeaderBoxV1), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovieHeaderBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `matrix` is never read [INFO] [stdout] --> src/fmpeg/mp4head.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 395 | pub struct MovieHeaderBoxV0 { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 410 | pub matrix: [u8; 36], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovieHeaderBoxV0` 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 function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 612 | impl MovieHeaderBoxV1 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 613 | pub fn new(creation_time: u64, modification_time: u64, timescale: u32, duration: u64, rate: FixedPoint32, volume: FixedPoint16, next_... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovieHeaderBoxV1Builder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct MovieHeaderBoxV1Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:685:12 [INFO] [stdout] | [INFO] [stdout] 684 | impl MovieHeaderBoxV1Builder { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 685 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | pub fn creation_time(mut self, creation_time: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 704 | pub fn modification_time(mut self, modification_time: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | pub fn timescale(mut self, timescale: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub fn duration(mut self, duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | pub fn rate(mut self, rate: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn volume(mut self, volume: f32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | pub fn next_track_id(mut self, next_track_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 739 | pub fn build(self) -> MovieHeaderBoxV1 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `V1` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 794 | pub enum TrackHeaderBox { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 795 | V0(TrackHeaderBoxV0), [INFO] [stdout] 796 | V1(TrackHeaderBoxV1), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackHeaderBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `matrix` is never read [INFO] [stdout] --> src/fmpeg/mp4head.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 817 | pub struct TrackHeaderBoxV0 { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 839 | pub matrix: [u8; 36], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackHeaderBoxV0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `matrix` is never read [INFO] [stdout] --> src/fmpeg/mp4head.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 973 | pub struct TrackHeaderBoxV1 { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 995 | pub matrix: [u8; 36], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackHeaderBoxV1` 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 function `new` is never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1002:12 [INFO] [stdout] | [INFO] [stdout] 1001 | impl TrackHeaderBoxV1 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1002 | pub fn new(creation_time: u64, modification_time: u64, track_id: u32, duration: u64, width: FixedPoint32, height: FixedPoint32) -> Se... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `language` and `quality` are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1209:12 [INFO] [stdout] | [INFO] [stdout] 1171 | impl MediaHeaderBoxV0Builder { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1209 | pub fn language(mut self, language: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1215 | pub fn quality(mut self, quality: u16) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/fmpeg/mp4head.rs:2029:9 [INFO] [stdout] | [INFO] [stdout] 2028 | pub struct AudioExtendedDescriptionBox { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 2029 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioExtendedDescriptionBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1700:9 [INFO] [stdout] | [INFO] [stdout] 1699 | pub enum SamplingFreqIndex { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 1700 | Freq96000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1701 | Freq88200, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1702 | Freq64000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1705 | Freq32000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1706 | Freq24000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1707 | Freq22050, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1708 | Freq16000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1709 | Freq12000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1710 | Freq11025, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1711 | Freq8000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1712 | Freq7350, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1713 | FreqExplicit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SamplingFreqIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1762:9 [INFO] [stdout] | [INFO] [stdout] 1761 | pub enum ChannelConfig { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 1762 | AacExtension, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1763 | Mono, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1764 | Stereo, [INFO] [stdout] 1765 | Three, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1766 | Four, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1767 | Five, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1768 | Six, [INFO] [stdout] | ^^^ [INFO] [stdout] 1769 | Seven, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1770 | Eight, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Yes` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1836:9 [INFO] [stdout] | [INFO] [stdout] 1834 | pub enum CoreCoderDependentFlag { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] 1835 | No, [INFO] [stdout] 1836 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoreCoderDependentFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Yes` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1862:9 [INFO] [stdout] | [INFO] [stdout] 1860 | pub enum ExtensionFlag { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 1861 | No, [INFO] [stdout] 1862 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtensionFlag` 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 `AacAudioSpecificConfigBoxBuilder` is never constructed [INFO] [stdout] --> src/fmpeg/mp4head.rs:1955:16 [INFO] [stdout] | [INFO] [stdout] 1955 | pub struct AacAudioSpecificConfigBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/fmpeg/mp4head.rs:1966:16 [INFO] [stdout] | [INFO] [stdout] 1964 | impl AacAudioSpecificConfigBoxBuilder { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 1965 | #[inline] [INFO] [stdout] 1966 | pub fn new() -> AacAudioSpecificConfigBoxBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1978 | pub fn set_aac_object_type(mut self, aac_object_type: AacObjectType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1984 | pub fn set_sampling_freq_index(mut self, sampling_freq_index: SamplingFreqIndex) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1990 | pub fn set_channel_config(mut self, channel_config: ChannelConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1996 | pub fn set_frame_length_flag(mut self, frame_length_flag: FrameLengthFlag) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2002 | pub fn set_core_coder_dependent_flag(mut self, core_coder_dependent_flag: CoreCoderDependentFlag) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2008 | pub fn set_extension_flag(mut self, extension_flag: ExtensionFlag) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2014 | pub fn build(mut self) -> AacAudioSpecificConfigBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_sample_options` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl TrackFragmentBoxBuilder { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn with_sample_options(mut self, sample_flag_builder: SampleFlagBuilder) -> TrackFragmentBoxBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_data` is never used [INFO] [stdout] --> src/fmpeg/mp4frag.rs:599:12 [INFO] [stdout] | [INFO] [stdout] 590 | impl MovieDataBox { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 599 | pub fn add_data(mut self, data: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AudioConfigurationLike` is never used [INFO] [stdout] --> src/fmpeg/parser.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum AudioConfigurationLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layer` and `bitrate` are never read [INFO] [stdout] --> src/fmpeg/parser.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Mp3ParseResult { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 162 | pub version: Mp3Version, [INFO] [stdout] 163 | pub layer: Mp3Layer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 164 | pub sample_rate: u32, [INFO] [stdout] 165 | pub bitrate: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "ebef63fd97439b9e3fd2083f3c64f3d06b6113325ae5c22a6dfe2926041ef0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebef63fd97439b9e3fd2083f3c64f3d06b6113325ae5c22a6dfe2926041ef0f4", kill_on_drop: false }` [INFO] [stdout] ebef63fd97439b9e3fd2083f3c64f3d06b6113325ae5c22a6dfe2926041ef0f4