[INFO] fetching crate video-metadata 0.1.2...
[INFO] testing video-metadata-0.1.2 against 1.76.0 for beta-1.77-1
[INFO] extracting crate video-metadata 0.1.2 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate video-metadata 0.1.2 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate video-metadata 0.1.2
[INFO] finished tweaking crates.io crate video-metadata 0.1.2
[INFO] tweaked toml for crates.io crate video-metadata 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "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" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 60a4be475938fc3e2709ea4ae6863858dff9680a972399f89bf11691a0eda85d
[INFO] running `Command { std: "docker" "start" "-a" "60a4be475938fc3e2709ea4ae6863858dff9680a972399f89bf11691a0eda85d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "60a4be475938fc3e2709ea4ae6863858dff9680a972399f89bf11691a0eda85d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60a4be475938fc3e2709ea4ae6863858dff9680a972399f89bf11691a0eda85d", kill_on_drop: false }`
[INFO] [stdout] 60a4be475938fc3e2709ea4ae6863858dff9680a972399f89bf11691a0eda85d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b2fa3d77843d0d58a1a8016a5a9d6b59da93b141671a516873d6755e58c5690
[INFO] running `Command { std: "docker" "start" "-a" "1b2fa3d77843d0d58a1a8016a5a9d6b59da93b141671a516873d6755e58c5690", kill_on_drop: false }`
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling video-metadata v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]  --> build.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     gcc::compile_library("libvmrs.a", &["ffi/vmrs.c"])
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c: In function 'vmrs_initialize':
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c:9:5: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
[INFO] [stderr] warning: video-metadata@0.1.2:     9 |     av_register_all();
[INFO] [stderr] warning: video-metadata@0.1.2:       |     ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: video-metadata@0.1.2: In file included from ffi/vmrs.h:4,
[INFO] [stderr] warning: video-metadata@0.1.2:                  from ffi/vmrs.c:1:
[INFO] [stderr] warning: video-metadata@0.1.2: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:1955:6: note: declared here
[INFO] [stderr] warning: video-metadata@0.1.2:  1955 | void av_register_all(void);
[INFO] [stderr] warning: video-metadata@0.1.2:       |      ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c: In function 'vmrs_read_info':
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c:196:5: warning: 'codec' is deprecated [-Wdeprecated-declarations]
[INFO] [stderr] warning: video-metadata@0.1.2:   196 |     video_codec_context = format_ctx->streams[video_stream_index]->codec;
[INFO] [stderr] warning: video-metadata@0.1.2:       |     ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: video-metadata@0.1.2: In file included from ffi/vmrs.h:4,
[INFO] [stderr] warning: video-metadata@0.1.2:                  from ffi/vmrs.c:1:
[INFO] [stderr] warning: video-metadata@0.1.2: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:888:21: note: declared here
[INFO] [stderr] warning: video-metadata@0.1.2:   888 |     AVCodecContext *codec;
[INFO] [stderr] warning: video-metadata@0.1.2:       |                     ^~~~~
[INFO] [stdout] warning: variant `VMRS_RESULT_OK` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     VMRS_RESULT_OK = 0,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsResultOk`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VMRS_ERROR_INPUT_FAILURE` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     VMRS_ERROR_INPUT_FAILURE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsErrorInputFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VMRS_ERROR_ALLOC` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     VMRS_ERROR_ALLOC,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsErrorAlloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VMRS_FORMAT_NOT_AVAILABLE` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     VMRS_FORMAT_NOT_AVAILABLE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsFormatNotAvailable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/video_metadata.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Mutex, 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/video_metadata.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 103 | static INIT: Once = Once::new();
[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/video_metadata.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | / lazy_static! {
[INFO] [stdout] 117 | |     static ref AVCODEC_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 118 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.60s
[INFO] running `Command { std: "docker" "inspect" "1b2fa3d77843d0d58a1a8016a5a9d6b59da93b141671a516873d6755e58c5690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b2fa3d77843d0d58a1a8016a5a9d6b59da93b141671a516873d6755e58c5690", kill_on_drop: false }`
[INFO] [stdout] 1b2fa3d77843d0d58a1a8016a5a9d6b59da93b141671a516873d6755e58c5690
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d788da439560b2595e1d4213e6bdbcbdb72423ad5cd2e7e33fce1e3118e4131
[INFO] running `Command { std: "docker" "start" "-a" "5d788da439560b2595e1d4213e6bdbcbdb72423ad5cd2e7e33fce1e3118e4131", kill_on_drop: false }`
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c: In function 'vmrs_initialize':
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c:9:5: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
[INFO] [stderr] warning: video-metadata@0.1.2:     9 |     av_register_all();
[INFO] [stderr] warning: video-metadata@0.1.2:       |     ^~~~~~~~~~~~~~~
[INFO] [stdout] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]  --> build.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     gcc::compile_library("libvmrs.a", &["ffi/vmrs.c"])
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2: In file included from ffi/vmrs.h:4,
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2:                  from ffi/vmrs.c:1:
[INFO] [stderr] warning: video-metadata@0.1.2: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:1955:6: note: declared here
[INFO] [stderr] warning: video-metadata@0.1.2:  1955 | void av_register_all(void);
[INFO] [stderr] warning: video-metadata@0.1.2:       |      ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c: In function 'vmrs_read_info':
[INFO] [stdout] warning: variant `VMRS_RESULT_OK` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     VMRS_RESULT_OK = 0,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsResultOk`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c:196:5: warning: 'codec' is deprecated [-Wdeprecated-declarations]
[INFO] [stdout] warning: variant `VMRS_ERROR_INPUT_FAILURE` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     VMRS_ERROR_INPUT_FAILURE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsErrorInputFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2:   196 |     video_codec_context = format_ctx->streams[video_stream_index]->codec;
[INFO] [stdout] warning: variant `VMRS_ERROR_ALLOC` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     VMRS_ERROR_ALLOC,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsErrorAlloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2:       |     ^~~~~~~~~~~~~~~~~~~
[INFO] [stdout] warning: variant `VMRS_FORMAT_NOT_AVAILABLE` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     VMRS_FORMAT_NOT_AVAILABLE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsFormatNotAvailable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2: In file included from ffi/vmrs.h:4,
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/video_metadata.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Mutex, Once, ONCE_INIT};
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2:                  from ffi/vmrs.c:1:
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/video_metadata.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 103 | static INIT: Once = Once::new();
[INFO] [stdout]     |                     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:888:21: note: declared here
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/video_metadata.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | / lazy_static! {
[INFO] [stdout] 117 | |     static ref AVCODEC_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 118 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2:   888 |     AVCodecContext *codec;
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: video-metadata@0.1.2:       |                     ^~~~~
[INFO] [stderr]    Compiling video-metadata v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `VMRS_RESULT_OK` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     VMRS_RESULT_OK = 0,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsResultOk`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VMRS_ERROR_INPUT_FAILURE` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     VMRS_ERROR_INPUT_FAILURE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsErrorInputFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VMRS_ERROR_ALLOC` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     VMRS_ERROR_ALLOC,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsErrorAlloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VMRS_FORMAT_NOT_AVAILABLE` should have an upper camel case name
[INFO] [stdout]   --> src/video_metadata.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     VMRS_FORMAT_NOT_AVAILABLE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `VmrsFormatNotAvailable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/video_metadata.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Mutex, 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/video_metadata.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 103 | static INIT: Once = Once::new();
[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/video_metadata.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | / lazy_static! {
[INFO] [stdout] 117 | |     static ref AVCODEC_MUTEX: Mutex<()> = Mutex::new(());
[INFO] [stdout] 118 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcQ4mTQJ/symbols.o" "/opt/rustwide/target/debug/deps/video_metadata-77b079bc6a020af5.video_metadata.d90543ab027eeeb0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/video_metadata-77b079bc6a020af5.video_metadata.d90543ab027eeeb0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/video_metadata-77b079bc6a020af5.video_metadata.d90543ab027eeeb0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/video_metadata-77b079bc6a020af5.video_metadata.d90543ab027eeeb0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/video_metadata-77b079bc6a020af5.50qbd7ltnplareyn.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/video-metadata-e3b688c6a6c91b78/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-lavformat" "-lavcodec" "-lavutil" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lvmrs" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-5d722ce3e5d0595e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-76f5006e4e062e57.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-a18ed5fdf4a57b72.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a14b8d31733ef9e9.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-ba885db7f681006f.rlib" "/opt/rustwide/target/debug/deps/liblibc-50cf0445600f9cae.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-66d8041607d2929b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a57e2388c0aea9b1.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-dcd9be90ae2cb505.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-516789932d161b4e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1ff34b0cf871cb60.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0c110dd0650d6cb7.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a6e97aae2681ad8f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b93dac2525ec4d1e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ce1d65fb391ae98b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8933a2fb54d88492.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-306712ebb1ee1a3f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-349c574f342b0d30.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-65c422a3ad95273d.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-7e6330a6c0cb9441.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-39c59240bfdfab27.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e9d126c51bb8b2bb.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5af394d9b1f07bdc.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-693a8f23970c5917.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13fc9d1ed9c7a2bc.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/video_metadata-77b079bc6a020af5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/build/video-metadata-e3b688c6a6c91b78/out/libvmrs.a(vmrs.o): in function `vmrs_initialize':
[INFO] [stdout]           /opt/rustwide/workdir/ffi/vmrs.c:9: undefined reference to `av_register_all'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/build/video-metadata-e3b688c6a6c91b78/out/libvmrs.a(vmrs.o): in function `vmrs_read_info':
[INFO] [stdout]           /opt/rustwide/workdir/ffi/vmrs.c:98: undefined reference to `avformat_alloc_context'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:113: undefined reference to `avformat_close_input'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:116: undefined reference to `avio_alloc_context'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:121: undefined reference to `avformat_close_input'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:145: undefined reference to `avformat_open_input'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:160: undefined reference to `avformat_find_stream_info'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:164: undefined reference to `av_find_best_stream'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:176: undefined reference to `av_find_best_stream'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/ffi/vmrs.c:221: undefined reference to `avformat_close_input'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c: In function 'vmrs_initialize':
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c:9:5: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
[INFO] [stderr] warning: video-metadata@0.1.2:     9 |     av_register_all();
[INFO] [stderr] warning: video-metadata@0.1.2:       |     ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: video-metadata@0.1.2: In file included from ffi/vmrs.h:4,
[INFO] [stderr] warning: video-metadata@0.1.2:                  from ffi/vmrs.c:1:
[INFO] [stderr] warning: video-metadata@0.1.2: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:1955:6: note: declared here
[INFO] [stderr] warning: video-metadata@0.1.2:  1955 | void av_register_all(void);
[INFO] [stderr] warning: video-metadata@0.1.2:       |      ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c: In function 'vmrs_read_info':
[INFO] [stderr] warning: video-metadata@0.1.2: ffi/vmrs.c:196:5: warning: 'codec' is deprecated [-Wdeprecated-declarations]
[INFO] [stderr] warning: video-metadata@0.1.2:   196 |     video_codec_context = format_ctx->streams[video_stream_index]->codec;
[INFO] [stderr] warning: video-metadata@0.1.2:       |     ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: video-metadata@0.1.2: In file included from ffi/vmrs.h:4,
[INFO] [stderr] warning: video-metadata@0.1.2:                  from ffi/vmrs.c:1:
[INFO] [stderr] warning: video-metadata@0.1.2: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:888:21: note: declared here
[INFO] [stderr] warning: video-metadata@0.1.2:   888 |     AVCodecContext *codec;
[INFO] [stderr] warning: video-metadata@0.1.2:       |                     ^~~~~
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `video-metadata` (lib test) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5d788da439560b2595e1d4213e6bdbcbdb72423ad5cd2e7e33fce1e3118e4131", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d788da439560b2595e1d4213e6bdbcbdb72423ad5cd2e7e33fce1e3118e4131", kill_on_drop: false }`
[INFO] [stdout] 5d788da439560b2595e1d4213e6bdbcbdb72423ad5cd2e7e33fce1e3118e4131
