[INFO] fetching crate mpeg_encoder 0.2.1...
[INFO] testing mpeg_encoder-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate mpeg_encoder 0.2.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate mpeg_encoder 0.2.1
[INFO] finished tweaking crates.io crate mpeg_encoder 0.2.1
[INFO] tweaked toml for crates.io crate mpeg_encoder 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mpeg_encoder 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 3 packages to latest compatible versions
[INFO] [stderr]       Adding ffmpeg-sys v2.8.9 (available: v4.3.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98f8e55a4ebc011486a611bf1588e1e072ae332025ca38e9421b085946f7d7b9
[INFO] running `Command { std: "docker" "start" "-a" "98f8e55a4ebc011486a611bf1588e1e072ae332025ca38e9421b085946f7d7b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98f8e55a4ebc011486a611bf1588e1e072ae332025ca38e9421b085946f7d7b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98f8e55a4ebc011486a611bf1588e1e072ae332025ca38e9421b085946f7d7b9", kill_on_drop: false }`
[INFO] [stdout] 98f8e55a4ebc011486a611bf1588e1e072ae332025ca38e9421b085946f7d7b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb9806eebded648c2467cfc25a8c180f5ce92018df92a57461cdaaf7b01b5cef
[INFO] running `Command { std: "docker" "start" "-a" "bb9806eebded648c2467cfc25a8c180f5ce92018df92a57461cdaaf7b01b5cef", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling num_cpus v0.2.13
[INFO] [stderr]    Compiling ffmpeg-sys v2.8.9
[INFO] [stderr]    Compiling mpeg_encoder v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 | static mut avformat_init: Once = ONCE_INIT;
[INFO] [stdout]    |                                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 28 - static mut avformat_init: Once = ONCE_INIT;
[INFO] [stdout] 28 + static mut avformat_init: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:141:47
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let mut pkt: AVPacket = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:392:51
[INFO] [stdout]     |
[INFO] [stdout] 392 |             let mut pkt: AVPacket = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: static variable `avformat_init` should have an upper case name
[INFO] [stdout]   --> src/lib.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | static mut avformat_init: Once = ONCE_INIT;
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | #![deny(non_upper_case_globals)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 28 - static mut avformat_init: Once = ONCE_INIT;
[INFO] [stdout] 28 + static mut AVFORMAT_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 | /             avformat_init.call_once(|| {
[INFO] [stdout] 86 | |                 ffmpeg_sys::av_register_all();
[INFO] [stdout] 87 | |             });
[INFO] [stdout]    | |______________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `AVPacket` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:141:42
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let mut pkt: AVPacket = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this code causes undefined behavior when executed
[INFO] [stdout]     |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `AVPacket` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:392:46
[INFO] [stdout]     |
[INFO] [stdout] 392 |             let mut pkt: AVPacket = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mpeg_encoder` (lib) due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bb9806eebded648c2467cfc25a8c180f5ce92018df92a57461cdaaf7b01b5cef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb9806eebded648c2467cfc25a8c180f5ce92018df92a57461cdaaf7b01b5cef", kill_on_drop: false }`
[INFO] [stdout] bb9806eebded648c2467cfc25a8c180f5ce92018df92a57461cdaaf7b01b5cef
