[INFO] cloning repository https://github.com/syntheticsh/ffmpeg_and_sdl_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syntheticsh/ffmpeg_and_sdl_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyntheticsh%2Fffmpeg_and_sdl_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyntheticsh%2Fffmpeg_and_sdl_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 934ea32bf0362c7cce62f13f07c7f5d886f9c935 [INFO] checking syntheticsh/ffmpeg_and_sdl_tutorial against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyntheticsh%2Fffmpeg_and_sdl_tutorial" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syntheticsh/ffmpeg_and_sdl_tutorial on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/syntheticsh/ffmpeg_and_sdl_tutorial [INFO] finished tweaking git repo https://github.com/syntheticsh/ffmpeg_and_sdl_tutorial [INFO] tweaked toml for git repo https://github.com/syntheticsh/ffmpeg_and_sdl_tutorial written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/syntheticsh/ffmpeg_and_sdl_tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a60908d0acaf43a3ec644be77a4af228ba38737c2ac10e3f724979f45558d4bc [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" "a60908d0acaf43a3ec644be77a4af228ba38737c2ac10e3f724979f45558d4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a60908d0acaf43a3ec644be77a4af228ba38737c2ac10e3f724979f45558d4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a60908d0acaf43a3ec644be77a4af228ba38737c2ac10e3f724979f45558d4bc", kill_on_drop: false }` [INFO] [stdout] a60908d0acaf43a3ec644be77a4af228ba38737c2ac10e3f724979f45558d4bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f9a965dc7e0423958c22c54897cb2ed5e219a106d04141c18394c1d02e67f2 [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" "76f9a965dc7e0423958c22c54897cb2ed5e219a106d04141c18394c1d02e67f2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling ffmpeg-next v4.4.0-dev (https://github.com/syntheticsh/rust-ffmpeg.git#e97a6ef8) [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Compiling ffmpeg-sys-next v4.3.5 [INFO] [stderr] Checking fftut1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `flag::Flags as AudioFlags` [INFO] [stdout] --> src/tut4/main.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg::software::resampling::{context::Context as AudioContext, flag::Flags as AudioFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpec` [INFO] [stdout] --> src/tut4/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::audio::{AudioSpec, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flag::Flags as AudioFlags` [INFO] [stdout] --> src/tut3/main.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg::software::resampling::{context::Context as AudioContext, flag::Flags as AudioFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpec` [INFO] [stdout] --> src/tut3/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::audio::{AudioSpec, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flag::Flags as AudioFlags` [INFO] [stdout] --> src/tut4/main.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg::software::resampling::{context::Context as AudioContext, flag::Flags as AudioFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpec` [INFO] [stdout] --> src/tut4/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::audio::{AudioSpec, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flag::Flags as AudioFlags` [INFO] [stdout] --> src/tut3/main.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg::software::resampling::{context::Context as AudioContext, flag::Flags as AudioFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpec` [INFO] [stdout] --> src/tut3/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::audio::{AudioSpec, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timer` is assigned to, but never used [INFO] [stdout] --> src/tut4/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut timer = timer_subsystem.add_timer( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_timer` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `timer` is never read [INFO] [stdout] --> src/tut4/main.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | timer = timer_subsystem.add_timer( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timer` is assigned to, but never used [INFO] [stdout] --> src/tut4/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut timer = timer_subsystem.add_timer( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_timer` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `timer` is never read [INFO] [stdout] --> src/tut4/main.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | timer = timer_subsystem.add_timer( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tut4/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok(mut ictx) = input( [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: field is never read: `a` [INFO] [stdout] --> src/tut4/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | a: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tut4/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok(mut ictx) = input( [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/tut4/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | a: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tut4/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | break_flag.lock().map(|_| true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tut4/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | ph.join(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tut4/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | break_flag.lock().map(|_| true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tut4/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | ph.join(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "76f9a965dc7e0423958c22c54897cb2ed5e219a106d04141c18394c1d02e67f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f9a965dc7e0423958c22c54897cb2ed5e219a106d04141c18394c1d02e67f2", kill_on_drop: false }` [INFO] [stdout] 76f9a965dc7e0423958c22c54897cb2ed5e219a106d04141c18394c1d02e67f2