[INFO] cloning repository https://github.com/vivlim/ffmpeg-frame-encoder
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivlim/ffmpeg-frame-encoder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fffmpeg-frame-encoder", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fffmpeg-frame-encoder'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77cceef0f79462384ba94adf84312771030d9815
[INFO] checking vivlim/ffmpeg-frame-encoder against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fffmpeg-frame-encoder" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vivlim/ffmpeg-frame-encoder on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/vivlim/ffmpeg-frame-encoder
[INFO] finished tweaking git repo https://github.com/vivlim/ffmpeg-frame-encoder
[INFO] tweaked toml for git repo https://github.com/vivlim/ffmpeg-frame-encoder written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/vivlim/ffmpeg-frame-encoder already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 18 packages to latest compatible versions
[INFO] [stderr] Updating bindgen v0.54.0 -> v0.59.2 (latest: v0.70.1)
[INFO] [stderr] Updating cexpr v0.4.0 -> v0.6.0
[INFO] [stderr] Updating clang-sys v0.29.3 -> v1.8.1
[INFO] [stderr] Updating ffmpeg-next v4.4.0 -> v5.1.1 (latest: v7.0.4)
[INFO] [stderr] Updating ffmpeg-sys-next v4.4.0 -> v5.1.1 (latest: v7.0.2)
[INFO] [stderr] Updating libloading v0.5.2 -> v0.8.5
[INFO] [stderr] Adding minimal-lexical v0.2.1
[INFO] [stderr] Updating nom v5.1.2 -> v7.1.3
[INFO] [stderr] Updating shlex v0.1.1 -> v1.3.0
[INFO] [stderr] Adding windows-targets v0.52.6
[INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6
[INFO] [stderr] Adding windows_aarch64_msvc v0.52.6
[INFO] [stderr] Adding windows_i686_gnu v0.52.6
[INFO] [stderr] Adding windows_i686_gnullvm v0.52.6
[INFO] [stderr] Adding windows_i686_msvc v0.52.6
[INFO] [stderr] Adding windows_x86_64_gnu v0.52.6
[INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6
[INFO] [stderr] Adding windows_x86_64_msvc v0.52.6
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded ffmpeg-next v5.1.1
[INFO] [stderr] Downloaded ffmpeg-sys-next v5.1.1
[INFO] [stderr] Downloaded hyperx v0.15.2
[INFO] [stderr] Downloaded mammut v0.13.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1aa5471e75e9a45fae7e19921a686091b053ffbdc87e015a2a9c49b596d84fe
[INFO] running `Command { std: "docker" "start" "-a" "c1aa5471e75e9a45fae7e19921a686091b053ffbdc87e015a2a9c49b596d84fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1aa5471e75e9a45fae7e19921a686091b053ffbdc87e015a2a9c49b596d84fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1aa5471e75e9a45fae7e19921a686091b053ffbdc87e015a2a9c49b596d84fe", kill_on_drop: false }`
[INFO] [stdout] c1aa5471e75e9a45fae7e19921a686091b053ffbdc87e015a2a9c49b596d84fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 978158b1cc8b331b06b14225b3f6ee7bb2322eba5e8931da63a67a5bf90ecda7
[INFO] running `Command { std: "docker" "start" "-a" "978158b1cc8b331b06b14225b3f6ee7bb2322eba5e8931da63a67a5bf90ecda7", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.98
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling proc-macro2 v1.0.28
[INFO] [stderr] Compiling unicode-xid v0.2.2
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Compiling syn v1.0.74
[INFO] [stderr] Checking cfg-if v0.1.9
[INFO] [stderr] Compiling cc v1.0.69
[INFO] [stderr] Checking futures v0.1.31
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Compiling semver-parser v0.7.0
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Checking byteorder v1.4.3
[INFO] [stderr] Compiling crossbeam-utils v0.7.2
[INFO] [stderr] Compiling semver v0.9.0
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Compiling rustc_version v0.2.3
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Checking iovec v0.1.4
[INFO] [stderr] Compiling serde_derive v1.0.127
[INFO] [stderr] Checking bytes v0.4.12
[INFO] [stderr] Compiling serde v1.0.127
[INFO] [stderr] Checking rand_core v0.4.2
[INFO] [stderr] Compiling autocfg v0.1.7
[INFO] [stderr] Checking matches v0.1.8
[INFO] [stderr] Checking fnv v1.0.7
[INFO] [stderr] Checking scopeguard v1.1.0
[INFO] [stderr] Checking tinyvec_macros v0.1.0
[INFO] [stderr] Checking slab v0.4.4
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Checking tokio-executor v0.1.10
[INFO] [stderr] Checking tinyvec v1.3.1
[INFO] [stderr] Checking unicode-bidi v0.3.5
[INFO] [stderr] Compiling parking_lot_core v0.6.2
[INFO] [stderr] Compiling memoffset v0.5.6
[INFO] [stderr] Compiling version_check v0.1.5
[INFO] [stderr] Compiling glob v0.3.0
[INFO] [stderr] Compiling openssl-sys v0.9.65
[INFO] [stderr] Checking smallvec v0.6.14
[INFO] [stderr] Compiling parking_lot v0.9.0
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Compiling unicase v2.5.1
[INFO] [stderr] Compiling crossbeam-epoch v0.8.2
[INFO] [stderr] Checking rand_core v0.3.1
[INFO] [stderr] Checking lock_api v0.3.4
[INFO] [stderr] Checking tokio-io v0.1.13
[INFO] [stderr] Compiling clang-sys v1.8.1
[INFO] [stderr] Checking time v0.1.43
[INFO] [stderr] Checking net2 v0.2.37
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Compiling minimal-lexical v0.2.1
[INFO] [stderr] Checking unicode-normalization v0.1.19
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling libloading v0.8.5
[INFO] [stderr] Checking mio v0.6.23
[INFO] [stderr] Compiling nom v7.1.3
[INFO] [stderr] Checking http v0.1.21
[INFO] [stderr] Checking tokio-sync v0.1.8
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Compiling httparse v1.3.6
[INFO] [stderr] Checking percent-encoding v1.0.1
[INFO] [stderr] Compiling bindgen v0.59.2
[INFO] [stderr] Checking adler v1.0.2
[INFO] [stderr] Compiling regex-syntax v0.6.25
[INFO] [stderr] Checking idna v0.1.5
[INFO] [stderr] Checking tokio-reactor v0.1.12
[INFO] [stderr] Checking crossbeam-deque v0.7.4
[INFO] [stderr] Compiling rand_pcg v0.1.2
[INFO] [stderr] Compiling rand_chacha v0.1.1
[INFO] [stderr] Checking crossbeam-queue v0.2.3
[INFO] [stderr] Compiling backtrace v0.3.61
[INFO] [stderr] Compiling rustc-hash v1.1.0
[INFO] [stderr] Compiling openssl v0.10.35
[INFO] [stderr] Compiling peeking_take_while v0.1.2
[INFO] [stderr] Compiling failure_derive v0.1.8
[INFO] [stderr] Compiling lazycell v1.3.0
[INFO] [stderr] Checking hashbrown v0.11.2
[INFO] [stderr] Compiling shlex v1.3.0
[INFO] [stderr] Compiling ryu v1.0.5
[INFO] [stderr] Checking foreign-types-shared v0.1.1
[INFO] [stderr] Checking percent-encoding v2.1.0
[INFO] [stderr] Checking gimli v0.25.0
[INFO] [stderr] Checking foreign-types v0.3.2
[INFO] [stderr] Checking object v0.26.0
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking tokio-threadpool v0.1.18
[INFO] [stderr] Compiling cexpr v0.6.0
[INFO] [stderr] Checking url v1.7.2
[INFO] [stderr] Checking tokio-tcp v0.1.4
[INFO] [stderr] Compiling regex v1.5.4
[INFO] [stderr] Compiling synstructure v0.12.5
[INFO] [stderr] Checking idna v0.2.3
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Checking addr2line v0.16.0
[INFO] [stderr] Compiling rand v0.6.5
[INFO] [stderr] Checking tokio-timer v0.2.13
[INFO] [stderr] Checking tokio-current-thread v0.1.7
[INFO] [stderr] Checking string v0.2.1
[INFO] [stderr] Checking tokio-buf v0.1.1
[INFO] [stderr] Compiling hyper v0.12.36
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling native-tls v0.2.7
[INFO] [stderr] Compiling serde_json v1.0.66
[INFO] [stderr] Checking rustc-demangle v0.1.20
[INFO] [stderr] Checking once_cell v1.8.0
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Checking try-lock v0.2.3
[INFO] [stderr] Checking want v0.2.0
[INFO] [stderr] Checking http-body v0.1.0
[INFO] [stderr] Checking tokio v0.1.22
[INFO] [stderr] Checking h2 v0.1.26
[INFO] [stderr] Compiling mime_guess v2.0.3
[INFO] [stderr] Checking url v2.2.2
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Checking rand_hc v0.1.0
[INFO] [stderr] Checking rand_isaac v0.1.1
[INFO] [stderr] Checking rand_xorshift v0.1.1
[INFO] [stderr] Checking futures-cpupool v0.1.8
[INFO] [stderr] Checking rand_jitter v0.1.4
[INFO] [stderr] Checking rand_os v0.1.3
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling encoding_rs v0.8.28
[INFO] [stderr] Checking mime v0.3.16
[INFO] [stderr] Checking openssl-probe v0.1.4
[INFO] [stderr] Checking failure v0.1.8
[INFO] [stderr] Checking publicsuffix v1.5.6
[INFO] [stderr] Checking cookie v0.12.0
[INFO] [stderr] Checking base64 v0.10.1
[INFO] [stderr] Checking try_from v0.3.2
[INFO] [stderr] Checking unicode-width v0.1.8
[INFO] [stderr] Compiling doc-comment v0.3.3
[INFO] [stderr] Compiling hyperx v0.15.2
[INFO] [stderr] Compiling unicode-segmentation v1.8.0
[INFO] [stderr] Compiling crossbeam-utils v0.8.5
[INFO] [stderr] Checking dtoa v0.4.8
[INFO] [stderr] Checking uuid v0.7.4
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking flate2 v1.0.20
[INFO] [stderr] Compiling heck v0.3.3
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking ansi_term v0.11.0
[INFO] [stderr] Checking strsim v0.8.0
[INFO] [stderr] Compiling ffmpeg-next v5.1.1
[INFO] [stderr] Checking language-tags v0.2.2
[INFO] [stderr] Checking vec_map v0.8.2
[INFO] [stderr] Compiling structopt-derive v0.4.15
[INFO] [stderr] Checking clap v2.33.3
[INFO] [stderr] Checking hyper-tls v0.3.2
[INFO] [stderr] Compiling derivative v2.2.0
[INFO] [stderr] Checking crossbeam-channel v0.5.1
[INFO] [stderr] Compiling ffmpeg-sys-next v5.1.1
[INFO] [stderr] Checking structopt v0.3.22
[INFO] [stderr] Checking serde_urlencoded v0.5.5
[INFO] [stderr] Checking chrono v0.4.19
[INFO] [stderr] Checking toml v0.5.8
[INFO] [stderr] Checking cookie_store v0.7.0
[INFO] [stderr] Checking reqwest v0.9.24
[INFO] [stderr] Compiling proc-macro-crate v0.1.5
[INFO] [stderr] Compiling num_enum_derive v0.4.3
[INFO] [stderr] Checking mammut v0.13.0
[INFO] [stderr] Checking num_enum v0.4.3
[INFO] [stderr] Checking libav-frame-encoder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Thread`, `borrow::BorrowMut`, `self`, and `time::Duration`
[INFO] [stdout] --> src/encoder.rs:2:11
[INFO] [stdout] |
[INFO] [stdout] 2 | ...::{borrow::BorrowMut, cell::RefCell, convert::TryInto, path::{self, Path, PathBuf}, thread::{self, JoinHandle, Thread}, time::Duration};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Rescale` and `filter`
[INFO] [stdout] --> src/encoder.rs:5:39
[INFO] [stdout] |
[INFO] [stdout] 5 | use ffmpeg::{ChannelLayout, Rational, filter, format::Pixel, frame, util::format, Rescale};
[INFO] [stdout] | ^^^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `RetroAVCollector`
[INFO] [stdout] --> src/encoder.rs:7:99
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::{filters::{make_audio_filter, make_video_filter}, sink::{AudioPlane, Frame, FrameData, RetroAVCollector, VideoPlane}};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Thread`, `borrow::BorrowMut`, `self`, and `time::Duration`
[INFO] [stdout] --> src/encoder.rs:2:11
[INFO] [stdout] |
[INFO] [stdout] 2 | ...::{borrow::BorrowMut, cell::RefCell, convert::TryInto, path::{self, Path, PathBuf}, thread::{self, JoinHandle, Thread}, time::Duration};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Rescale` and `filter`
[INFO] [stdout] --> src/encoder.rs:5:39
[INFO] [stdout] |
[INFO] [stdout] 5 | use ffmpeg::{ChannelLayout, Rational, filter, format::Pixel, frame, util::format, Rescale};
[INFO] [stdout] | ^^^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `RetroAVCollector`
[INFO] [stdout] --> src/encoder.rs:7:99
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::{filters::{make_audio_filter, make_video_filter}, sink::{AudioPlane, Frame, FrameData, RetroAVCollector, VideoPlane}};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame_number`
[INFO] [stdout] --> src/sink.rs:81:62
[INFO] [stdout] |
[INFO] [stdout] 81 | pub fn on_audio_sample(&mut self, left: i16, right: i16, frame_number: u64) {
[INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_number`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame_number`
[INFO] [stdout] --> src/sink.rs:81:62
[INFO] [stdout] |
[INFO] [stdout] 81 | pub fn on_audio_sample(&mut self, left: i16, right: i16, frame_number: u64) {
[INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_number`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/encoder.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 138 | let mut encoder = encoder.open_as(acodec)?;
[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: unused variable: `e`
[INFO] [stdout] --> src/encoder.rs:191:21
[INFO] [stdout] |
[INFO] [stdout] 191 | Err(e) => ()
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/encoder.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 138 | let mut encoder = encoder.open_as(acodec)?;
[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: unused variable: `e`
[INFO] [stdout] --> src/encoder.rs:191:21
[INFO] [stdout] |
[INFO] [stdout] 191 | Err(e) => ()
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:319:19
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `output_args`
[INFO] [stdout] --> src/encoder.rs:319:57
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_args`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:323:19
[INFO] [stdout] |
[INFO] [stdout] 323 | (Some(ffmpeg_context), FrameData::End) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:319:19
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `output_args`
[INFO] [stdout] --> src/encoder.rs:319:57
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_args`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:323:19
[INFO] [stdout] |
[INFO] [stdout] 323 | (Some(ffmpeg_context), FrameData::End) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `OperationResult` is never used
[INFO] [stdout] --> src/encoder.rs:161:6
[INFO] [stdout] |
[INFO] [stdout] 161 | enum OperationResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `OperationResult` is never used
[INFO] [stdout] --> src/encoder.rs:161:6
[INFO] [stdout] |
[INFO] [stdout] 161 | enum OperationResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.20s
[INFO] running `Command { std: "docker" "inspect" "978158b1cc8b331b06b14225b3f6ee7bb2322eba5e8931da63a67a5bf90ecda7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "978158b1cc8b331b06b14225b3f6ee7bb2322eba5e8931da63a67a5bf90ecda7", kill_on_drop: false }`
[INFO] [stdout] 978158b1cc8b331b06b14225b3f6ee7bb2322eba5e8931da63a67a5bf90ecda7
[INFO] checking vivlim/ffmpeg-frame-encoder against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fffmpeg-frame-encoder" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vivlim/ffmpeg-frame-encoder on toolchain f9935d29d867449445ee008640ccca1bf1ae0889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/vivlim/ffmpeg-frame-encoder
[INFO] finished tweaking git repo https://github.com/vivlim/ffmpeg-frame-encoder
[INFO] tweaked toml for git repo https://github.com/vivlim/ffmpeg-frame-encoder written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/vivlim/ffmpeg-frame-encoder 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 18 packages to latest compatible versions
[INFO] [stderr] Updating bindgen v0.54.0 -> v0.59.2 (latest: v0.70.1)
[INFO] [stderr] Updating cexpr v0.4.0 -> v0.6.0
[INFO] [stderr] Updating clang-sys v0.29.3 -> v1.8.1
[INFO] [stderr] Updating ffmpeg-next v4.4.0 -> v5.1.1 (latest: v7.0.4)
[INFO] [stderr] Updating ffmpeg-sys-next v4.4.0 -> v5.1.1 (latest: v7.0.2)
[INFO] [stderr] Updating libloading v0.5.2 -> v0.8.5
[INFO] [stderr] Adding minimal-lexical v0.2.1
[INFO] [stderr] Updating nom v5.1.2 -> v7.1.3
[INFO] [stderr] Updating shlex v0.1.1 -> v1.3.0
[INFO] [stderr] Adding windows-targets v0.52.6
[INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6
[INFO] [stderr] Adding windows_aarch64_msvc v0.52.6
[INFO] [stderr] Adding windows_i686_gnu v0.52.6
[INFO] [stderr] Adding windows_i686_gnullvm v0.52.6
[INFO] [stderr] Adding windows_i686_msvc v0.52.6
[INFO] [stderr] Adding windows_x86_64_gnu v0.52.6
[INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6
[INFO] [stderr] Adding windows_x86_64_msvc v0.52.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 74d3b8a4130b424d2b5bfd5b82361b2f1afa81e8645fae45426568c46f0845cb
[INFO] running `Command { std: "docker" "start" "-a" "74d3b8a4130b424d2b5bfd5b82361b2f1afa81e8645fae45426568c46f0845cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74d3b8a4130b424d2b5bfd5b82361b2f1afa81e8645fae45426568c46f0845cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74d3b8a4130b424d2b5bfd5b82361b2f1afa81e8645fae45426568c46f0845cb", kill_on_drop: false }`
[INFO] [stdout] 74d3b8a4130b424d2b5bfd5b82361b2f1afa81e8645fae45426568c46f0845cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3a49443d9bff1e5ba9f31abc5ae1504aec89ef4bfedb990880b5d04fb4d51870
[INFO] running `Command { std: "docker" "start" "-a" "3a49443d9bff1e5ba9f31abc5ae1504aec89ef4bfedb990880b5d04fb4d51870", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.98
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling proc-macro2 v1.0.28
[INFO] [stderr] Compiling unicode-xid v0.2.2
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Compiling syn v1.0.74
[INFO] [stderr] Checking cfg-if v0.1.9
[INFO] [stderr] Compiling cc v1.0.69
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Checking futures v0.1.31
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Compiling semver-parser v0.7.0
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling semver v0.9.0
[INFO] [stderr] Checking byteorder v1.4.3
[INFO] [stderr] Compiling crossbeam-utils v0.7.2
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Compiling rustc_version v0.2.3
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Checking iovec v0.1.4
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Compiling serde_derive v1.0.127
[INFO] [stderr] Checking bytes v0.4.12
[INFO] [stderr] Compiling serde v1.0.127
[INFO] [stderr] Checking rand_core v0.4.2
[INFO] [stderr] Checking matches v0.1.8
[INFO] [stderr] Compiling autocfg v0.1.7
[INFO] [stderr] Checking scopeguard v1.1.0
[INFO] [stderr] Checking tinyvec_macros v0.1.0
[INFO] [stderr] Checking fnv v1.0.7
[INFO] [stderr] Checking tinyvec v1.3.1
[INFO] [stderr] Checking slab v0.4.4
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Checking tokio-executor v0.1.10
[INFO] [stderr] Checking unicode-bidi v0.3.5
[INFO] [stderr] Compiling parking_lot_core v0.6.2
[INFO] [stderr] Compiling memoffset v0.5.6
[INFO] [stderr] Compiling glob v0.3.0
[INFO] [stderr] Compiling version_check v0.1.5
[INFO] [stderr] Compiling openssl-sys v0.9.65
[INFO] [stderr] Checking smallvec v0.6.14
[INFO] [stderr] Compiling parking_lot v0.9.0
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Compiling crossbeam-epoch v0.8.2
[INFO] [stderr] Compiling unicase v2.5.1
[INFO] [stderr] Checking tokio-io v0.1.13
[INFO] [stderr] Compiling clang-sys v1.8.1
[INFO] [stderr] Checking rand_core v0.3.1
[INFO] [stderr] Checking lock_api v0.3.4
[INFO] [stderr] Checking time v0.1.43
[INFO] [stderr] Checking net2 v0.2.37
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling minimal-lexical v0.2.1
[INFO] [stderr] Compiling libloading v0.8.5
[INFO] [stderr] Checking mio v0.6.23
[INFO] [stderr] Checking unicode-normalization v0.1.19
[INFO] [stderr] Checking http v0.1.21
[INFO] [stderr] Compiling nom v7.1.3
[INFO] [stderr] Checking tokio-sync v0.1.8
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Compiling bindgen v0.59.2
[INFO] [stderr] Checking percent-encoding v1.0.1
[INFO] [stderr] Compiling httparse v1.3.6
[INFO] [stderr] Compiling regex-syntax v0.6.25
[INFO] [stderr] Checking adler v1.0.2
[INFO] [stderr] Checking idna v0.1.5
[INFO] [stderr] Checking tokio-reactor v0.1.12
[INFO] [stderr] Checking crossbeam-deque v0.7.4
[INFO] [stderr] Compiling rand_pcg v0.1.2
[INFO] [stderr] Compiling rand_chacha v0.1.1
[INFO] [stderr] Checking crossbeam-queue v0.2.3
[INFO] [stderr] Compiling backtrace v0.3.61
[INFO] [stderr] Compiling openssl v0.10.35
[INFO] [stderr] Checking foreign-types-shared v0.1.1
[INFO] [stderr] Compiling shlex v1.3.0
[INFO] [stderr] Compiling failure_derive v0.1.8
[INFO] [stderr] Checking hashbrown v0.11.2
[INFO] [stderr] Compiling ryu v1.0.5
[INFO] [stderr] Compiling rustc-hash v1.1.0
[INFO] [stderr] Checking gimli v0.25.0
[INFO] [stderr] Checking percent-encoding v2.1.0
[INFO] [stderr] Compiling lazycell v1.3.0
[INFO] [stderr] Compiling peeking_take_while v0.1.2
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking object v0.26.0
[INFO] [stderr] Checking foreign-types v0.3.2
[INFO] [stderr] Checking tokio-threadpool v0.1.18
[INFO] [stderr] Compiling cexpr v0.6.0
[INFO] [stderr] Compiling regex v1.5.4
[INFO] [stderr] Checking url v1.7.2
[INFO] [stderr] Compiling synstructure v0.12.5
[INFO] [stderr] Checking tokio-tcp v0.1.4
[INFO] [stderr] Checking addr2line v0.16.0
[INFO] [stderr] Checking idna v0.2.3
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling rand v0.6.5
[INFO] [stderr] Checking tokio-current-thread v0.1.7
[INFO] [stderr] Checking tokio-timer v0.2.13
[INFO] [stderr] Checking string v0.2.1
[INFO] [stderr] Checking tokio-buf v0.1.1
[INFO] [stderr] Compiling hyper v0.12.36
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling native-tls v0.2.7
[INFO] [stderr] Checking rustc-demangle v0.1.20
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Checking try-lock v0.2.3
[INFO] [stderr] Compiling serde_json v1.0.66
[INFO] [stderr] Checking once_cell v1.8.0
[INFO] [stderr] Checking want v0.2.0
[INFO] [stderr] Checking tokio v0.1.22
[INFO] [stderr] Checking http-body v0.1.0
[INFO] [stderr] Checking h2 v0.1.26
[INFO] [stderr] Checking url v2.2.2
[INFO] [stderr] Compiling mime_guess v2.0.3
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Checking rand_hc v0.1.0
[INFO] [stderr] Checking rand_isaac v0.1.1
[INFO] [stderr] Checking rand_xorshift v0.1.1
[INFO] [stderr] Checking futures-cpupool v0.1.8
[INFO] [stderr] Checking rand_jitter v0.1.4
[INFO] [stderr] Checking rand_os v0.1.3
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Checking mime v0.3.16
[INFO] [stderr] Checking openssl-probe v0.1.4
[INFO] [stderr] Compiling encoding_rs v0.8.28
[INFO] [stderr] Checking failure v0.1.8
[INFO] [stderr] Checking publicsuffix v1.5.6
[INFO] [stderr] Checking cookie v0.12.0
[INFO] [stderr] Checking base64 v0.10.1
[INFO] [stderr] Checking try_from v0.3.2
[INFO] [stderr] Compiling crossbeam-utils v0.8.5
[INFO] [stderr] Checking unicode-width v0.1.8
[INFO] [stderr] Checking dtoa v0.4.8
[INFO] [stderr] Compiling doc-comment v0.3.3
[INFO] [stderr] Compiling hyperx v0.15.2
[INFO] [stderr] Compiling unicode-segmentation v1.8.0
[INFO] [stderr] Checking uuid v0.7.4
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking flate2 v1.0.20
[INFO] [stderr] Compiling heck v0.3.3
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking vec_map v0.8.2
[INFO] [stderr] Checking language-tags v0.2.2
[INFO] [stderr] Checking strsim v0.8.0
[INFO] [stderr] Checking ansi_term v0.11.0
[INFO] [stderr] Compiling ffmpeg-next v5.1.1
[INFO] [stderr] Compiling structopt-derive v0.4.15
[INFO] [stderr] Checking clap v2.33.3
[INFO] [stderr] Checking hyper-tls v0.3.2
[INFO] [stderr] Compiling derivative v2.2.0
[INFO] [stderr] Checking crossbeam-channel v0.5.1
[INFO] [stderr] Compiling ffmpeg-sys-next v5.1.1
[INFO] [stderr] Checking structopt v0.3.22
[INFO] [stderr] Checking serde_urlencoded v0.5.5
[INFO] [stderr] Checking chrono v0.4.19
[INFO] [stderr] Checking toml v0.5.8
[INFO] [stderr] Checking cookie_store v0.7.0
[INFO] [stderr] Checking reqwest v0.9.24
[INFO] [stderr] Compiling proc-macro-crate v0.1.5
[INFO] [stderr] Compiling num_enum_derive v0.4.3
[INFO] [stderr] Checking mammut v0.13.0
[INFO] [stderr] Checking num_enum v0.4.3
[INFO] [stderr] Checking libav-frame-encoder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Thread`, `borrow::BorrowMut`, `self`, and `time::Duration`
[INFO] [stdout] --> src/encoder.rs:2:11
[INFO] [stdout] |
[INFO] [stdout] 2 | ...::{borrow::BorrowMut, cell::RefCell, convert::TryInto, path::{self, Path, PathBuf}, thread::{self, JoinHandle, Thread}, time::Duration};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Thread`, `borrow::BorrowMut`, `self`, and `time::Duration`
[INFO] [stdout] --> src/encoder.rs:2:11
[INFO] [stdout] |
[INFO] [stdout] 2 | ...::{borrow::BorrowMut, cell::RefCell, convert::TryInto, path::{self, Path, PathBuf}, thread::{self, JoinHandle, Thread}, time::Duration};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Rescale` and `filter`
[INFO] [stdout] --> src/encoder.rs:5:39
[INFO] [stdout] |
[INFO] [stdout] 5 | use ffmpeg::{ChannelLayout, Rational, filter, format::Pixel, frame, util::format, Rescale};
[INFO] [stdout] | ^^^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Rescale` and `filter`
[INFO] [stdout] --> src/encoder.rs:5:39
[INFO] [stdout] |
[INFO] [stdout] 5 | use ffmpeg::{ChannelLayout, Rational, filter, format::Pixel, frame, util::format, Rescale};
[INFO] [stdout] | ^^^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `RetroAVCollector`
[INFO] [stdout] --> src/encoder.rs:7:99
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::{filters::{make_audio_filter, make_video_filter}, sink::{AudioPlane, Frame, FrameData, RetroAVCollector, VideoPlane}};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `RetroAVCollector`
[INFO] [stdout] --> src/encoder.rs:7:99
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::{filters::{make_audio_filter, make_video_filter}, sink::{AudioPlane, Frame, FrameData, RetroAVCollector, VideoPlane}};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame_number`
[INFO] [stdout] --> src/sink.rs:81:62
[INFO] [stdout] |
[INFO] [stdout] 81 | pub fn on_audio_sample(&mut self, left: i16, right: i16, frame_number: u64) {
[INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_number`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame_number`
[INFO] [stdout] --> src/sink.rs:81:62
[INFO] [stdout] |
[INFO] [stdout] 81 | pub fn on_audio_sample(&mut self, left: i16, right: i16, frame_number: u64) {
[INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_number`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/encoder.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 138 | let mut encoder = encoder.open_as(acodec)?;
[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/encoder.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 138 | let mut encoder = encoder.open_as(acodec)?;
[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: unused variable: `e`
[INFO] [stdout] --> src/encoder.rs:191:21
[INFO] [stdout] |
[INFO] [stdout] 191 | Err(e) => ()
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> src/encoder.rs:191:21
[INFO] [stdout] |
[INFO] [stdout] 191 | Err(e) => ()
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:319:19
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `output_args`
[INFO] [stdout] --> src/encoder.rs:319:57
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_args`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:323:19
[INFO] [stdout] |
[INFO] [stdout] 323 | (Some(ffmpeg_context), FrameData::End) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:319:19
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `output_args`
[INFO] [stdout] --> src/encoder.rs:319:57
[INFO] [stdout] |
[INFO] [stdout] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => {
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_args`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ffmpeg_context`
[INFO] [stdout] --> src/encoder.rs:323:19
[INFO] [stdout] |
[INFO] [stdout] 323 | (Some(ffmpeg_context), FrameData::End) => {
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `OperationResult` is never used
[INFO] [stdout] --> src/encoder.rs:161:6
[INFO] [stdout] |
[INFO] [stdout] 161 | enum OperationResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `OperationResult` is never used
[INFO] [stdout] --> src/encoder.rs:161:6
[INFO] [stdout] |
[INFO] [stdout] 161 | enum OperationResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/encoder.rs:24:19
[INFO] [stdout] |
[INFO] [stdout] 16 | pub fn start_thread(receiver: Receiver>, path: PathBuf) -> JoinHandle> {
[INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 17 | let mut encoder = CollectedAVFfmpegEncoder {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 24 | thread::spawn(move || encoder.read_collector_to_end())
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/encoder.rs:24:19
[INFO] [stdout] |
[INFO] [stdout] 16 | pub fn start_thread(receiver: Receiver>, path: PathBuf) -> JoinHandle> {
[INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 17 | let mut encoder = CollectedAVFfmpegEncoder {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 24 | thread::spawn(move || encoder.read_collector_to_end())
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/encoder.rs:152:12
[INFO] [stdout] |
[INFO] [stdout] 70 | pub fn new(output_args: OutputArgs, output_path: Box) -> Result {
[INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 75 | let mut octx = ffmpeg::format::output(&output_path)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 76 |
[INFO] [stdout] 77 | let video_context = match &output_args {
[INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 88 | let mut encoder = output.codec().encoder().video()?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 98 | let filter = make_video_filter(&encoder, &video_args)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 101 | let encoder = encoder.open_as(vcodec)?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 112 | let audio_context = match &output_args {
[INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 125 | let mut encoder = output.codec().encoder().audio()?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 138 | let mut encoder = encoder.open_as(acodec)?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 139 | let filter = make_audio_filter(&encoder, &audio_args)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 152 | Ok(FfmpegContext {
[INFO] [stdout] | ____________^
[INFO] [stdout] 153 | | octx: RefCell::new(octx),
[INFO] [stdout] 154 | | video: video_context,
[INFO] [stdout] 155 | | audio: audio_context,
[INFO] [stdout] 156 | | })
[INFO] [stdout] | | ^
[INFO] [stdout] | | |
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/encoder.rs:152:12
[INFO] [stdout] |
[INFO] [stdout] 70 | pub fn new(output_args: OutputArgs, output_path: Box) -> Result {
[INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 75 | let mut octx = ffmpeg::format::output(&output_path)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 76 |
[INFO] [stdout] 77 | let video_context = match &output_args {
[INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 88 | let mut encoder = output.codec().encoder().video()?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 98 | let filter = make_video_filter(&encoder, &video_args)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 101 | let encoder = encoder.open_as(vcodec)?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 112 | let audio_context = match &output_args {
[INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 125 | let mut encoder = output.codec().encoder().audio()?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 138 | let mut encoder = encoder.open_as(acodec)?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 139 | let filter = make_audio_filter(&encoder, &audio_args)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 152 | Ok(FfmpegContext {
[INFO] [stdout] | ____________^
[INFO] [stdout] 153 | | octx: RefCell::new(octx),
[INFO] [stdout] 154 | | video: video_context,
[INFO] [stdout] 155 | | audio: audio_context,
[INFO] [stdout] 156 | | })
[INFO] [stdout] | | ^
[INFO] [stdout] | | |
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `libav-frame-encoder` (lib) due to 3 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `libav-frame-encoder` (lib test) due to 3 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3a49443d9bff1e5ba9f31abc5ae1504aec89ef4bfedb990880b5d04fb4d51870", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a49443d9bff1e5ba9f31abc5ae1504aec89ef4bfedb990880b5d04fb4d51870", kill_on_drop: false }`
[INFO] [stdout] 3a49443d9bff1e5ba9f31abc5ae1504aec89ef4bfedb990880b5d04fb4d51870