[INFO] fetching crate mpeg_encoder 0.2.1...
[INFO] checking mpeg_encoder-0.2.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate mpeg_encoder 0.2.1 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate mpeg_encoder 0.2.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ffmpeg-sys v2.8.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8a8b2f31d7d49db8608b9ede1aec088b403e1b12375632664f5ebabd18cbffc7
[INFO] running `Command { std: "docker" "start" "-a" "8a8b2f31d7d49db8608b9ede1aec088b403e1b12375632664f5ebabd18cbffc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a8b2f31d7d49db8608b9ede1aec088b403e1b12375632664f5ebabd18cbffc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a8b2f31d7d49db8608b9ede1aec088b403e1b12375632664f5ebabd18cbffc7", kill_on_drop: false }`
[INFO] [stdout] 8a8b2f31d7d49db8608b9ede1aec088b403e1b12375632664f5ebabd18cbffc7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52b4eb7cdae683c23e552e0ddee1346e4f2657d17a6ca0cd0910538255506d75
[INFO] running `Command { std: "docker" "start" "-a" "52b4eb7cdae683c23e552e0ddee1346e4f2657d17a6ca0cd0910538255506d75", kill_on_drop: false }`
[INFO] [stderr]    Compiling num_cpus v0.2.13
[INFO] [stderr]    Compiling ffmpeg-sys v2.8.9
[INFO] [stderr]     Checking mpeg_encoder v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 `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 `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::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] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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::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]    |            ^^^^^^^^^^^^^ help: convert the identifier to upper case: `AVFORMAT_INIT`
[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] 
[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]    |            ^^^^^^^^^^^^^ help: convert the identifier to upper case: `AVFORMAT_INIT`
[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] 
[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] [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] [stdout] error: aborting due to 1 previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mpeg_encoder` (lib test) due to 2 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mpeg_encoder` (lib) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "52b4eb7cdae683c23e552e0ddee1346e4f2657d17a6ca0cd0910538255506d75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52b4eb7cdae683c23e552e0ddee1346e4f2657d17a6ca0cd0910538255506d75", kill_on_drop: false }`
[INFO] [stdout] 52b4eb7cdae683c23e552e0ddee1346e4f2657d17a6ca0cd0910538255506d75
[INFO] checking mpeg_encoder-0.2.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate mpeg_encoder 0.2.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate mpeg_encoder 0.2.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fbbc491c39f2ecb27de8c0dba1af62419baf65ab35a4b48728c0daf3e6dabf7
[INFO] running `Command { std: "docker" "start" "-a" "6fbbc491c39f2ecb27de8c0dba1af62419baf65ab35a4b48728c0daf3e6dabf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fbbc491c39f2ecb27de8c0dba1af62419baf65ab35a4b48728c0daf3e6dabf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fbbc491c39f2ecb27de8c0dba1af62419baf65ab35a4b48728c0daf3e6dabf7", kill_on_drop: false }`
[INFO] [stdout] 6fbbc491c39f2ecb27de8c0dba1af62419baf65ab35a4b48728c0daf3e6dabf7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd5989e281129cb1b40f9c66b14f60252d89b602702c7ce317a2ca1fa98918bd
[INFO] running `Command { std: "docker" "start" "-a" "dd5989e281129cb1b40f9c66b14f60252d89b602702c7ce317a2ca1fa98918bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling num_cpus v0.2.13
[INFO] [stderr]    Compiling ffmpeg-sys v2.8.9
[INFO] [stderr]     Checking mpeg_encoder v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 `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::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] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 `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::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]    |            ^^^^^^^^^^^^^ help: convert the identifier to upper case: `AVFORMAT_INIT`
[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] 
[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] 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]    |            ^^^^^^^^^^^^^ help: convert the identifier to upper case: `AVFORMAT_INIT`
[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] 
[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] [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] [stdout] error: aborting due to 1 previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mpeg_encoder` (lib) due to 2 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mpeg_encoder` (lib test) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "dd5989e281129cb1b40f9c66b14f60252d89b602702c7ce317a2ca1fa98918bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd5989e281129cb1b40f9c66b14f60252d89b602702c7ce317a2ca1fa98918bd", kill_on_drop: false }`
[INFO] [stdout] dd5989e281129cb1b40f9c66b14f60252d89b602702c7ce317a2ca1fa98918bd
