[INFO] fetching crate ez-ffmpeg 0.5.3... [INFO] checking ez-ffmpeg-0.5.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ez-ffmpeg 0.5.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate ez-ffmpeg 0.5.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ez-ffmpeg 0.5.3 [INFO] tweaked toml for crates.io crate ez-ffmpeg 0.5.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ez-ffmpeg 0.5.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ez-ffmpeg 0.5.3 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 755f18a462359e1c9b34d7fb556879d9e8b79b274468901b163719f710fbfa2d [INFO] running `Command { std: "docker" "start" "-a" "755f18a462359e1c9b34d7fb556879d9e8b79b274468901b163719f710fbfa2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "755f18a462359e1c9b34d7fb556879d9e8b79b274468901b163719f710fbfa2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "755f18a462359e1c9b34d7fb556879d9e8b79b274468901b163719f710fbfa2d", kill_on_drop: false }` [INFO] [stdout] 755f18a462359e1c9b34d7fb556879d9e8b79b274468901b163719f710fbfa2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64694788cebecd6eae865eadbef77be43051db527dc1e24e3a8e15211b15760d [INFO] running `Command { std: "docker" "start" "-a" "64694788cebecd6eae865eadbef77be43051db527dc1e24e3a8e15211b15760d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling ffmpeg-next v7.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling ffmpeg-sys-next v7.1.0 [INFO] [stderr] Checking ez-ffmpeg v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ffmpeg_sys_next::AVCodecConfig` [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | use ffmpeg_sys_next::AVCodecConfig::*; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `AVCodecConfig` in `ffmpeg_sys_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ffmpeg_sys_next::avcodec_get_supported_config` [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:45:72 [INFO] [stdout] | [INFO] [stdout] 45 | ...ket_side_data_new, avcodec_get_supported_config, avfilter_graph_segment_apply, avfilter_graph_segment_create_filters, avfilter_graph_s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `avcodec_get_supported_config` in the root [INFO] [stdout] | help: a similar name exists in the module: `avcodec_get_hw_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ffmpeg_sys_next::AVCodecConfig` [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | use ffmpeg_sys_next::AVCodecConfig::*; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `AVCodecConfig` in `ffmpeg_sys_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ffmpeg_sys_next::avcodec_get_supported_config` [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:45:72 [INFO] [stdout] | [INFO] [stdout] 45 | ...ket_side_data_new, avcodec_get_supported_config, avfilter_graph_segment_apply, avfilter_graph_segment_create_filters, avfilter_graph_s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `avcodec_get_supported_config` in the root [INFO] [stdout] | help: a similar name exists in the module: `avcodec_get_hw_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ffmpeg_sys_next::AVSideDataProps` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | use ffmpeg_sys_next::AVSideDataProps::AV_SIDE_DATA_PROP_GLOBAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `AVSideDataProps` in `ffmpeg_sys_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ffmpeg_sys_next::AVSideDataProps` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | use ffmpeg_sys_next::AVSideDataProps::AV_SIDE_DATA_PROP_GLOBAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `AVSideDataProps` in `ffmpeg_sys_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ffmpeg_sys_next::av_frame_side_data_clone`, `ffmpeg_sys_next::av_frame_side_data_desc`, `ffmpeg_sys_next::AV_FRAME_SIDE_DATA_FLAG_UNIQUE` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | ...y, av_frame_side_data_clone, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `av_frame_side_data_desc` in the root ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AV_FRAME_SIDE_DATA_FLAG_UNIQUE` in the root [INFO] [stdout] | | [INFO] [stdout] | no `av_frame_side_data_clone` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 27 - use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_clone, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] 27 + use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_name, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 27 - use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_clone, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] 27 + use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_clone, av_frame_side_data_name, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ffmpeg_sys_next::av_frame_side_data_clone`, `ffmpeg_sys_next::av_frame_side_data_desc`, `ffmpeg_sys_next::AV_FRAME_SIDE_DATA_FLAG_UNIQUE` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | ...y, av_frame_side_data_clone, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `av_frame_side_data_desc` in the root ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AV_FRAME_SIDE_DATA_FLAG_UNIQUE` in the root [INFO] [stdout] | | [INFO] [stdout] | no `av_frame_side_data_clone` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 27 - use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_clone, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] 27 + use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_name, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 27 - use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_clone, av_frame_side_data_desc, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] 27 + use ffmpeg_sys_next::{av_channel_layout_copy, av_frame_side_data_clone, av_frame_side_data_name, AV_CODEC_FLAG_COPY_OPAQUE, AV_CODEC_FLAG_FRAME_DURATION, AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, AV_FRAME_SIDE_DATA_FLAG_UNIQUE}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ffmpeg_sys_next::av_buffersink_get_color_range`, `ffmpeg_sys_next::av_buffersink_get_colorspace` [INFO] [stdout] --> src/core/scheduler/filter_task.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | av_buffer_replace, av_buffersink_get_ch_layout, av_buffersink_get_color_range, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `av_buffersink_get_color_range` in the root [INFO] [stdout] 49 | av_buffersink_get_colorspace, av_buffersink_get_format, av_channel_layout_check, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `av_buffersink_get_colorspace` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 48 - av_buffer_replace, av_buffersink_get_ch_layout, av_buffersink_get_color_range, [INFO] [stdout] 48 + av_buffer_replace, av_buffersink_get_ch_layout, av_buffersink_get_frame_rate, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 49 - av_buffersink_get_colorspace, av_buffersink_get_format, av_channel_layout_check, [INFO] [stdout] 49 + av_buffersink_get_format, av_buffersink_get_format, av_channel_layout_check, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ffmpeg_sys_next::av_buffersink_get_color_range`, `ffmpeg_sys_next::av_buffersink_get_colorspace` [INFO] [stdout] --> src/core/scheduler/filter_task.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | av_buffer_replace, av_buffersink_get_ch_layout, av_buffersink_get_color_range, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `av_buffersink_get_color_range` in the root [INFO] [stdout] 49 | av_buffersink_get_colorspace, av_buffersink_get_format, av_channel_layout_check, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `av_buffersink_get_colorspace` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 48 - av_buffer_replace, av_buffersink_get_ch_layout, av_buffersink_get_color_range, [INFO] [stdout] 48 + av_buffer_replace, av_buffersink_get_ch_layout, av_buffersink_get_frame_rate, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 49 - av_buffersink_get_colorspace, av_buffersink_get_format, av_channel_layout_check, [INFO] [stdout] 49 + av_buffersink_get_format, av_buffersink_get_format, av_channel_layout_check, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `av_input_audio_device_next` and `av_input_video_device_next` [INFO] [stdout] --> src/core/device/avdevice.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use ffmpeg_sys_next::{av_input_audio_device_next, av_input_video_device_next, avdevice_free_list_devices, avdevice_list_input_sources, AV... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `av_input_audio_device_next` and `av_input_video_device_next` [INFO] [stdout] --> src/core/device/avdevice.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use ffmpeg_sys_next::{av_input_audio_device_next, av_input_video_device_next, avdevice_free_list_devices, avdevice_list_input_sources, AV... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:1445:22 [INFO] [stdout] | [INFO] [stdout] 1445 | Some(write_packet_wrapper), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe extern "C" fn(_, *mut u8, _) -> _` [INFO] [stdout] found fn item `unsafe extern "C" fn(_, *const u8, _) -> _ {write_packet_wrapper}` [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut c_void, *const u8, i32) -> i32 {write_packet_wrapper}` due to the type of the argument passed [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:1445:17 [INFO] [stdout] | [INFO] [stdout] 1445 | Some(write_packet_wrapper), [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:1445:22 [INFO] [stdout] | [INFO] [stdout] 1445 | Some(write_packet_wrapper), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe extern "C" fn(_, *mut u8, _) -> _` [INFO] [stdout] found fn item `unsafe extern "C" fn(_, *const u8, _) -> _ {write_packet_wrapper}` [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut c_void, *const u8, i32) -> i32 {write_packet_wrapper}` due to the type of the argument passed [INFO] [stdout] --> src/core/context/ffmpeg_context.rs:1445:17 [INFO] [stdout] | [INFO] [stdout] 1445 | Some(write_packet_wrapper), [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `decoded_side_data` on type `AVCodecContext` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:592:37 [INFO] [stdout] | [INFO] [stdout] 592 | &mut (*enc_ctx).decoded_side_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `av_class`, `log_level_offset`, `codec_type`, `codec`, `codec_id` ... and 95 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `nb_decoded_side_data` on type `AVCodecContext` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:593:37 [INFO] [stdout] | [INFO] [stdout] 593 | &mut (*enc_ctx).nb_decoded_side_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `av_class`, `log_level_offset`, `codec_type`, `codec`, `codec_id` ... and 95 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `decoded_side_data` on type `AVCodecContext` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:592:37 [INFO] [stdout] | [INFO] [stdout] 592 | &mut (*enc_ctx).decoded_side_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `av_class`, `log_level_offset`, `codec_type`, `codec`, `codec_id` ... and 95 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `nb_decoded_side_data` on type `AVCodecContext` [INFO] [stdout] --> src/core/scheduler/enc_task.rs:593:37 [INFO] [stdout] | [INFO] [stdout] 593 | &mut (*enc_ctx).nb_decoded_side_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `av_class`, `log_level_offset`, `codec_type`, `codec`, `codec_id` ... and 95 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/scheduler/ffmpeg_scheduler.rs:764:21 [INFO] [stdout] | [INFO] [stdout] 750 | ffmpeg_sys_next::AVSEEK_FLAG_BYTE => { [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 764 | ffmpeg_sys_next::SEEK_END => file.seek(SeekFrom::End(offset)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/device/avdevice.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(e) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoders` [INFO] [stdout] --> src/core/codec.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let decoders = get_decoders(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/device/avdevice.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(e) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ez-ffmpeg` (lib test) due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ez-ffmpeg` (lib) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64694788cebecd6eae865eadbef77be43051db527dc1e24e3a8e15211b15760d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64694788cebecd6eae865eadbef77be43051db527dc1e24e3a8e15211b15760d", kill_on_drop: false }` [INFO] [stdout] 64694788cebecd6eae865eadbef77be43051db527dc1e24e3a8e15211b15760d