[INFO] fetching crate libav-ng 0.1.5... [INFO] checking libav-ng-0.1.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate libav-ng 0.1.5 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate libav-ng 0.1.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libav-ng 0.1.5 [INFO] tweaked toml for crates.io crate libav-ng 0.1.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libav-ng 0.1.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libav-ng 0.1.5 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libav-sys-ng v0.1.1 [INFO] [stderr] Downloaded libc v0.2.156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc657b7e2aa86a7340d72fb46c7f66dbc7561d82a3cc56d472f357f06b2434f4 [INFO] running `Command { std: "docker" "start" "-a" "cc657b7e2aa86a7340d72fb46c7f66dbc7561d82a3cc56d472f357f06b2434f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc657b7e2aa86a7340d72fb46c7f66dbc7561d82a3cc56d472f357f06b2434f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc657b7e2aa86a7340d72fb46c7f66dbc7561d82a3cc56d472f357f06b2434f4", kill_on_drop: false }` [INFO] [stdout] cc657b7e2aa86a7340d72fb46c7f66dbc7561d82a3cc56d472f357f06b2434f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24006f6a08274a5193108d07cd2c4a3c251fd2f0713f6e2d10d4cd9504ff9d68 [INFO] running `Command { std: "docker" "start" "-a" "24006f6a08274a5193108d07cd2c4a3c251fd2f0713f6e2d10d4cd9504ff9d68", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling libav-sys-ng v0.1.1 [INFO] [stderr] Checking libav-ng v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/avformat.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AVPixFmtDescriptor` and `AVPixelFormat_AV_PIX_FMT_RGB48BE` [INFO] [stdout] --> src/avframe.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | self, av_frame_alloc, av_frame_free, av_image_alloc, av_pix_fmt_desc_get, AVPixFmtDescriptor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | AVPixelFormat_AV_PIX_FMT_RGB48BE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CodecParameters` and `self` [INFO] [stdout] --> src/avstream.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | avcodec::{self, CodecParameters}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/avdictionary.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct DictionaryEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 60 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DictionaryEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/avformat.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AVPixFmtDescriptor` and `AVPixelFormat_AV_PIX_FMT_RGB48BE` [INFO] [stdout] --> src/avframe.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | self, av_frame_alloc, av_frame_free, av_image_alloc, av_pix_fmt_desc_get, AVPixFmtDescriptor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | AVPixelFormat_AV_PIX_FMT_RGB48BE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CodecParameters` and `self` [INFO] [stdout] --> src/avstream.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | avcodec::{self, CodecParameters}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/avdictionary.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct DictionaryEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 60 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DictionaryEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oformat` [INFO] [stdout] --> examples/generate_black_square_512x512.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let oformat = format_ctx.get_output_format(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oformat` [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] --> examples/generate_black_square_512x512.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut data = frame.data_plane(0).expect("Failed to get plane!"); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.12s [INFO] running `Command { std: "docker" "inspect" "24006f6a08274a5193108d07cd2c4a3c251fd2f0713f6e2d10d4cd9504ff9d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24006f6a08274a5193108d07cd2c4a3c251fd2f0713f6e2d10d4cd9504ff9d68", kill_on_drop: false }` [INFO] [stdout] 24006f6a08274a5193108d07cd2c4a3c251fd2f0713f6e2d10d4cd9504ff9d68