[INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single/refs/heads: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/konakona418/flv-rs-single [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-single" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd799b157bca9302709dc866b02a71ce3cd8678d [INFO] checking konakona418/flv-rs-single against master#01706e1a34c87656fcbfce198608f4cd2ac6461a for pr-135272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonakona418%2Fflv-rs-single" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/konakona418/flv-rs-single on toolchain 01706e1a34c87656fcbfce198608f4cd2ac6461a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/konakona418/flv-rs-single [INFO] finished tweaking git repo https://github.com/konakona418/flv-rs-single [INFO] tweaked toml for git repo https://github.com/konakona418/flv-rs-single written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/konakona418/flv-rs-single 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" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03e037c18b1929851eae37cab946868f1321a41b8787185e6ca3f737aaf4a37a [INFO] running `Command { std: "docker" "start" "-a" "03e037c18b1929851eae37cab946868f1321a41b8787185e6ca3f737aaf4a37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03e037c18b1929851eae37cab946868f1321a41b8787185e6ca3f737aaf4a37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e037c18b1929851eae37cab946868f1321a41b8787185e6ca3f737aaf4a37a", kill_on_drop: false }` [INFO] [stdout] 03e037c18b1929851eae37cab946868f1321a41b8787185e6ca3f737aaf4a37a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e19e9364f2c3decfc8fd2006a91845fe5e3bb99d9c5be943e57bfb4fab0b25ad [INFO] running `Command { std: "docker" "start" "-a" "e19e9364f2c3decfc8fd2006a91845fe5e3bb99d9c5be943e57bfb4fab0b25ad", kill_on_drop: false }` [INFO] [stderr] Checking flv-rs-single v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/exchange.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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: `crate::core::IConsumable` [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::IConsumable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/flv/decoder.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | if let Err(e) = self.decode_body_once() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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] [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/flv/decoder.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | if let Err(e) = self.decode_body_once() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/fmpeg/remuxer.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | 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: variable does not need to be mutable [INFO] [stdout] --> src/fmpeg/remuxer.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | ... let mut prev_sample = self.audio_sequence_buffer.iter_mut().last().unwrap(); [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/remuxer.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | ... let mut sample_ctx = SampleContextBuilder::new() [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/fmpeg/remuxer.rs:312:45 [INFO] [stdout] | [INFO] [stdout] 312 | ... let mut prev_sample = self.video_sequence_buffer.iter_mut().last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] [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: irrefutable `if let` pattern [INFO] [stdout] --> src/fmpeg/remuxer.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | 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: 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] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fmpeg/remuxer.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | ... let mut prev_sample = self.audio_sequence_buffer.iter_mut().last().unwrap(); [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/remuxer.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | ... let mut sample_ctx = SampleContextBuilder::new() [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/fmpeg/remuxer.rs:312:45 [INFO] [stdout] | [INFO] [stdout] 312 | ... let mut prev_sample = self.video_sequence_buffer.iter_mut().last().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/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: unreachable pattern [INFO] [stdout] --> src/fmpeg/remux_context.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 398 | VideoParseResult::Avc1(h264_info) => { [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 422 | _ => { [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:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | 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:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | 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: 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] [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:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | 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/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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | 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:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: unreachable pattern [INFO] [stdout] --> src/fmpeg/remux_context.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 398 | VideoParseResult::Avc1(h264_info) => { [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 422 | _ => { [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:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | 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:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "e19e9364f2c3decfc8fd2006a91845fe5e3bb99d9c5be943e57bfb4fab0b25ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e19e9364f2c3decfc8fd2006a91845fe5e3bb99d9c5be943e57bfb4fab0b25ad", kill_on_drop: false }` [INFO] [stdout] e19e9364f2c3decfc8fd2006a91845fe5e3bb99d9c5be943e57bfb4fab0b25ad