[INFO] fetching crate ez-ffmpeg 0.5.3... [INFO] testing ez-ffmpeg-0.5.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ez-ffmpeg 0.5.3 into /workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ez-ffmpeg 0.5.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded servo-display-link v0.2.0 [INFO] [stderr] Downloaded sparkle v0.1.26 [INFO] [stderr] Downloaded ffmpeg-sys-next v7.1.0 [INFO] [stderr] Downloaded io-surface v0.15.1 [INFO] [stderr] Downloaded rml_rtmp v0.8.0 [INFO] [stderr] Downloaded rml_amf0 v0.3.0 [INFO] [stderr] Downloaded surfman v0.9.8 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10e0ebec7ea3ccd716da56f14612a71f0cbdf4e45d4b178fcb06177b20fdb515 [INFO] running `Command { std: "docker" "start" "-a" "10e0ebec7ea3ccd716da56f14612a71f0cbdf4e45d4b178fcb06177b20fdb515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10e0ebec7ea3ccd716da56f14612a71f0cbdf4e45d4b178fcb06177b20fdb515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e0ebec7ea3ccd716da56f14612a71f0cbdf4e45d4b178fcb06177b20fdb515", kill_on_drop: false }` [INFO] [stdout] 10e0ebec7ea3ccd716da56f14612a71f0cbdf4e45d4b178fcb06177b20fdb515 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f90e11d7dbf1b74e61989732fcbef925796b3887da558da6f7cafdad35b65772 [INFO] running `Command { std: "docker" "start" "-a" "f90e11d7dbf1b74e61989732fcbef925796b3887da558da6f7cafdad35b65772", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling ffmpeg-next v7.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling ffmpeg-sys-next v7.1.0 [INFO] [stderr] Compiling 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::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_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)]` (part of `#[warn(unused)]`) 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ez-ffmpeg` (lib) due to 8 previous errors; 2 warnings emitted [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] running `Command { std: "docker" "inspect" "f90e11d7dbf1b74e61989732fcbef925796b3887da558da6f7cafdad35b65772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90e11d7dbf1b74e61989732fcbef925796b3887da558da6f7cafdad35b65772", kill_on_drop: false }` [INFO] [stdout] f90e11d7dbf1b74e61989732fcbef925796b3887da558da6f7cafdad35b65772