[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] 957f89cc81ffae7d6e85a7d75aac4a3e64b7a3fd [INFO] testing vivlim/ffmpeg-frame-encoder against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fffmpeg-frame-encoder" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vivlim/ffmpeg-frame-encoder on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-3/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: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd22b87af5567f15de40add4659ae4a93e67893d14ccb1cec35030105a4c6450 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd22b87af5567f15de40add4659ae4a93e67893d14ccb1cec35030105a4c6450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd22b87af5567f15de40add4659ae4a93e67893d14ccb1cec35030105a4c6450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd22b87af5567f15de40add4659ae4a93e67893d14ccb1cec35030105a4c6450", kill_on_drop: false }` [INFO] [stdout] bd22b87af5567f15de40add4659ae4a93e67893d14ccb1cec35030105a4c6450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 24d4c270bbdc86621ebc2e8fabb0ea8daaa3e7e11e529d61f91c975d0b51b39b [INFO] running `Command { std: "docker" "start" "-a" "24d4c270bbdc86621ebc2e8fabb0ea8daaa3e7e11e529d61f91c975d0b51b39b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling hyperx v0.15.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ffmpeg-next v4.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling ffmpeg-sys-next v4.4.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling num_enum_derive v0.4.3 [INFO] [stderr] Compiling mammut v0.13.0 [INFO] [stderr] Compiling num_enum v0.4.3 [INFO] [stderr] Compiling libav-frame-encoder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Thread`, `borrow::BorrowMut`, `self`, `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`, `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: `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: 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: enum is never used: `OperationResult` [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 00s [INFO] running `Command { std: "docker" "inspect" "24d4c270bbdc86621ebc2e8fabb0ea8daaa3e7e11e529d61f91c975d0b51b39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d4c270bbdc86621ebc2e8fabb0ea8daaa3e7e11e529d61f91c975d0b51b39b", kill_on_drop: false }` [INFO] [stdout] 24d4c270bbdc86621ebc2e8fabb0ea8daaa3e7e11e529d61f91c975d0b51b39b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd599b16ff677960e7db4fcc8a215597149e78e50dcaac1584ddaa45148aee02 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dd599b16ff677960e7db4fcc8a215597149e78e50dcaac1584ddaa45148aee02", kill_on_drop: false }` [INFO] [stderr] Compiling libav-frame-encoder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Thread`, `borrow::BorrowMut`, `self`, `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`, `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: `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: 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: enum is never used: `OperationResult` [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: unused imports: `Thread`, `borrow::BorrowMut`, `self`, `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`, `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: `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: 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: enum is never used: `OperationResult` [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.55s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dd599b16ff677960e7db4fcc8a215597149e78e50dcaac1584ddaa45148aee02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd599b16ff677960e7db4fcc8a215597149e78e50dcaac1584ddaa45148aee02", kill_on_drop: false }` [INFO] [stdout] dd599b16ff677960e7db4fcc8a215597149e78e50dcaac1584ddaa45148aee02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 71ef275c03fcab49f28ece1a5fd204445500b1f65eb0c2240a7a35a58f3cc166 [INFO] running `Command { std: "docker" "start" "-a" "71ef275c03fcab49f28ece1a5fd204445500b1f65eb0c2240a7a35a58f3cc166", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Thread`, `borrow::BorrowMut`, `self`, `time::Duration` [INFO] [stderr] --> src/encoder.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | ...::{borrow::BorrowMut, cell::RefCell, convert::TryInto, path::{self, Path, PathBuf}, thread::{self, JoinHandle, Thread}, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rescale`, `filter` [INFO] [stderr] --> src/encoder.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | use ffmpeg::{ChannelLayout, Rational, filter, format::Pixel, frame, util::format, Rescale}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RetroAVCollector` [INFO] [stderr] --> src/encoder.rs:7:99 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::{filters::{make_audio_filter, make_video_filter}, sink::{AudioPlane, Frame, FrameData, RetroAVCollector, VideoPlane}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_number` [INFO] [stderr] --> src/sink.rs:81:62 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn on_audio_sample(&mut self, left: i16, right: i16, frame_number: u64) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_number` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/encoder.rs:191:21 [INFO] [stderr] | [INFO] [stderr] 191 | Err(e) => () [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ffmpeg_context` [INFO] [stderr] --> src/encoder.rs:319:19 [INFO] [stderr] | [INFO] [stderr] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_args` [INFO] [stderr] --> src/encoder.rs:319:57 [INFO] [stderr] | [INFO] [stderr] 319 | (Some(ffmpeg_context), FrameData::Configure(output_args)) => { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ffmpeg_context` [INFO] [stderr] --> src/encoder.rs:323:19 [INFO] [stderr] | [INFO] [stderr] 323 | (Some(ffmpeg_context), FrameData::End) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffmpeg_context` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/encoder.rs:138:21 [INFO] [stderr] | [INFO] [stderr] 138 | let mut encoder = encoder.open_as(acodec)?; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `OperationResult` [INFO] [stderr] --> src/encoder.rs:161:6 [INFO] [stderr] | [INFO] [stderr] 161 | enum OperationResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `libav-frame-encoder` (lib) generated 10 warnings [INFO] [stderr] warning: `libav-frame-encoder` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libav_frame_encoder-aba0aff960c1f052) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libav-frame-encoder [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "71ef275c03fcab49f28ece1a5fd204445500b1f65eb0c2240a7a35a58f3cc166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ef275c03fcab49f28ece1a5fd204445500b1f65eb0c2240a7a35a58f3cc166", kill_on_drop: false }` [INFO] [stdout] 71ef275c03fcab49f28ece1a5fd204445500b1f65eb0c2240a7a35a58f3cc166