[INFO] fetching crate scuffle-ffmpeg 0.3.5... [INFO] checking scuffle-ffmpeg-0.3.5 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate scuffle-ffmpeg 0.3.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate scuffle-ffmpeg 0.3.5 [INFO] finished tweaking crates.io crate scuffle-ffmpeg 0.3.5 [INFO] tweaked toml for crates.io crate scuffle-ffmpeg 0.3.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scuffle-ffmpeg 0.3.5 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scuffle-ffmpeg 0.3.5 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scuffle-changelog v0.1.1 [INFO] [stderr] Downloaded scuffle-workspace-hack v0.1.0 [INFO] [stderr] Downloaded va_list v0.2.1 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] [stderr] Downloaded nutype-enum v0.1.5 [INFO] [stderr] Downloaded fmtools v0.1.2 [INFO] [stderr] Downloaded rusty_ffmpeg v0.16.2+ffmpeg.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a3548763e50de4ba8ddca6b01777fe906a3e566f74acefa2c816a6167cbe814 [INFO] running `Command { std: "docker" "start" "-a" "9a3548763e50de4ba8ddca6b01777fe906a3e566f74acefa2c816a6167cbe814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a3548763e50de4ba8ddca6b01777fe906a3e566f74acefa2c816a6167cbe814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3548763e50de4ba8ddca6b01777fe906a3e566f74acefa2c816a6167cbe814", kill_on_drop: false }` [INFO] [stdout] 9a3548763e50de4ba8ddca6b01777fe906a3e566f74acefa2c816a6167cbe814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b614d1d88cb38250ed6e90a1b5ba18108c22815362612e51815784df6451248 [INFO] running `Command { std: "docker" "start" "-a" "1b614d1d88cb38250ed6e90a1b5ba18108c22815362612e51815784df6451248", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling prettyplease v0.2.33 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling scuffle-workspace-hack v0.1.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking va_list v0.2.1 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Checking nutype-enum v0.1.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v3.6.3 [INFO] [stderr] Checking bon v3.6.3 [INFO] [stderr] Compiling rusty_ffmpeg v0.16.2+ffmpeg.7.1 [INFO] [stderr] Checking scuffle-ffmpeg v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/io/../../../../assets/avc_aac_large.mp4`: No such file or directory (os error 2) [INFO] [stdout] --> src/io/input.rs:219:41 [INFO] [stdout] | [INFO] [stdout] 219 | let valid_media_data: Vec = include_bytes!("../../../../assets/avc_aac_large.mp4").to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/io/../../../../assets/avc_aac_large.mp4`: No such file or directory (os error 2) [INFO] [stdout] --> src/io/input.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | let valid_media_data: Vec = include_bytes!("../../../../assets/avc_aac_large.mp4").to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/encoder.rs:807:28 [INFO] [stdout] | [INFO] [stdout] 807 | let mut _box = scuffle_mp4::DynBox::demux(&mut cursor).expect("Failed to demux box"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/encoder.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | scuffle_mp4::DynBox::Mdat(mdat) => { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/encoder.rs:816:17 [INFO] [stdout] | [INFO] [stdout] 816 | scuffle_mp4::DynBox::Moov(moov) => { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_LEAD` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:1020:16 [INFO] [stdout] | [INFO] [stdout] 1020 | Lead = AV_CODEC_ID_LEAD as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_MAD` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:276501 [INFO] [stdout] | [INFO] [stdout] 3 | ...: AVCodecID = 128 ; pub const AV_CODEC_ID_MAD : AVCodecID = 129 ; pub const AV_CODEC_ID_FRWU : AVCodecID = 130 ; pub const AV_CODEC_ID... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_MAD` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_QOA` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:1852:15 [INFO] [stdout] | [INFO] [stdout] 1852 | Qoa = AV_CODEC_ID_QOA as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_QOI` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:282807 [INFO] [stdout] | [INFO] [stdout] 3 | ...: AVCodecID = 259 ; pub const AV_CODEC_ID_QOI : AVCodecID = 260 ; pub const AV_CODEC_ID_PHM : AVCodecID = 261 ; pub const AV_CODEC_ID_... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_QOI` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_LC3` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:1857:15 [INFO] [stdout] | [INFO] [stdout] 1857 | Lc3 = AV_CODEC_ID_LC3 as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_AC3` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:289145 [INFO] [stdout] | [INFO] [stdout] 3 | ...AVCodecID = 86018 ; pub const AV_CODEC_ID_AC3 : AVCodecID = 86019 ; pub const AV_CODEC_ID_DTS : AVCodecID = 86020 ; pub const AV_CODEC... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_AC3` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | let mut box_ = scuffle_mp4::DynBox::demux(&mut cursor).expect("Failed to demux mp4"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 519 | insta::assert_debug_snapshot!("test_output_write_mp4_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_LCEVC` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:2014:17 [INFO] [stdout] | [INFO] [stdout] 2014 | Lcevc = AV_CODEC_ID_LCEVC as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_EVC` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:283144 [INFO] [stdout] | [INFO] [stdout] 3 | ...: AVCodecID = 266 ; pub const AV_CODEC_ID_EVC : AVCodecID = 267 ; pub const AV_CODEC_ID_RTV1 : AVCodecID = 268 ; pub const AV_CODEC_ID... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_EVC` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_CHANNEL_ORDER_NB` in this scope [INFO] [stdout] --> src/enums/av_channel_order.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | Nb = FF_CHANNEL_ORDER_NB as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | if let scuffle_mp4::DynBox::Mdat(mdat) = &mut box_ { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 519 | insta::assert_debug_snapshot!("test_output_write_mp4_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | let mut box_ = scuffle_mp4::DynBox::demux(&mut cursor).expect("Failed to demux mp4"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 531 | insta::assert_debug_snapshot!("test_output_write_mp4_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | if let scuffle_mp4::DynBox::Mdat(mdat) = &mut box_ { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 531 | insta::assert_debug_snapshot!("test_output_write_mp4_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | let mut box_ = scuffle_mp4::DynBox::demux(&mut cursor).expect("Failed to demux mp4"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 537 | insta::assert_debug_snapshot!("test_output_write_mp4_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | if let scuffle_mp4::DynBox::Mdat(mdat) = &mut box_ { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 537 | insta::assert_debug_snapshot!("test_output_write_mp4_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | let mut box_ = scuffle_mp4::DynBox::demux(&mut cursor).expect("Failed to demux mp4"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 572 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | if let scuffle_mp4::DynBox::Mdat(mdat) = &mut box_ { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 572 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/internal.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 156 | avio_alloc_context( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 162 | options.write_fn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option _>` [INFO] [stdout] found enum `Option _>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:574466 [INFO] [stdout] | [INFO] [stdout] 3 | ...entry : * mut * mut AVIODirEntry) ; } extern "C" { pub fn avio_alloc_context (buffer : * mut :: std :: os :: raw :: c_uchar , buffer_s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | let mut box_ = scuffle_mp4::DynBox::demux(&mut cursor).expect("Failed to demux mp4"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 584 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | if let scuffle_mp4::DynBox::Mdat(mdat) = &mut box_ { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 584 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | let mut box_ = scuffle_mp4::DynBox::demux(&mut cursor).expect("Failed to demux mp4"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 590 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] --> src/io/output.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | if let scuffle_mp4::DynBox::Mdat(mdat) = &mut box_ { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `scuffle_mp4` [INFO] [stdout] ... [INFO] [stdout] 590 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scuffle_mp4`, use `cargo add scuffle_mp4` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_LEAD` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:1020:16 [INFO] [stdout] | [INFO] [stdout] 1020 | Lead = AV_CODEC_ID_LEAD as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_MAD` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:276501 [INFO] [stdout] | [INFO] [stdout] 3 | ...: AVCodecID = 128 ; pub const AV_CODEC_ID_MAD : AVCodecID = 129 ; pub const AV_CODEC_ID_FRWU : AVCodecID = 130 ; pub const AV_CODEC_ID... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_MAD` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scuffle-ffmpeg` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_QOA` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:1852:15 [INFO] [stdout] | [INFO] [stdout] 1852 | Qoa = AV_CODEC_ID_QOA as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_QOI` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:282807 [INFO] [stdout] | [INFO] [stdout] 3 | ...: AVCodecID = 259 ; pub const AV_CODEC_ID_QOI : AVCodecID = 260 ; pub const AV_CODEC_ID_PHM : AVCodecID = 261 ; pub const AV_CODEC_ID_... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_QOI` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_LC3` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:1857:15 [INFO] [stdout] | [INFO] [stdout] 1857 | Lc3 = AV_CODEC_ID_LC3 as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_AC3` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:289145 [INFO] [stdout] | [INFO] [stdout] 3 | ...AVCodecID = 86018 ; pub const AV_CODEC_ID_AC3 : AVCodecID = 86019 ; pub const AV_CODEC_ID_DTS : AVCodecID = 86020 ; pub const AV_CODEC... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_AC3` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AV_CODEC_ID_LCEVC` in this scope [INFO] [stdout] --> src/enums/av_codec_id.rs:2014:17 [INFO] [stdout] | [INFO] [stdout] 2014 | Lcevc = AV_CODEC_ID_LCEVC as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `AV_CODEC_ID_EVC` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:283144 [INFO] [stdout] | [INFO] [stdout] 3 | ...: AVCodecID = 266 ; pub const AV_CODEC_ID_EVC : AVCodecID = 267 ; pub const AV_CODEC_ID_RTV1 : AVCodecID = 268 ; pub const AV_CODEC_ID... [INFO] [stdout] | ------------------------------------- similarly named constant `AV_CODEC_ID_EVC` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_CHANNEL_ORDER_NB` in this scope [INFO] [stdout] --> src/enums/av_channel_order.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | Nb = FF_CHANNEL_ORDER_NB as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder.rs:813:32 [INFO] [stdout] | [INFO] [stdout] 813 | *buf = Bytes::new(); [INFO] [stdout] | ---- ^^^^^^^^^^^^ expected `[u8]`, found `Bytes` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/encoder.rs:813:25 [INFO] [stdout] | [INFO] [stdout] 813 | *buf = Bytes::new(); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/io/internal.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 156 | avio_alloc_context( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 162 | options.write_fn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option _>` [INFO] [stdout] found enum `Option _>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/rusty_ffmpeg-7643453c01f51129/out/binding.rs:3:574466 [INFO] [stdout] | [INFO] [stdout] 3 | ...entry : * mut * mut AVIODirEntry) ; } extern "C" { pub fn avio_alloc_context (buffer : * mut :: std :: os :: raw :: c_uchar , buffer_s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8]: From>` is not satisfied [INFO] [stdout] --> src/io/output.rs:490:57 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `[u8]` [INFO] [stdout] ... [INFO] [stdout] 519 | insta::assert_debug_snapshot!("test_output_write_mp4_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is implemented for `&[u8]` [INFO] [stdout] = note: required for `Vec` to implement `Into<[u8]>` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/io/output.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 519 | insta::assert_debug_snapshot!("test_output_write_mp4_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8]: From>` is not satisfied [INFO] [stdout] --> src/io/output.rs:490:57 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `[u8]` [INFO] [stdout] ... [INFO] [stdout] 531 | insta::assert_debug_snapshot!("test_output_write_mp4_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is implemented for `&[u8]` [INFO] [stdout] = note: required for `Vec` to implement `Into<[u8]>` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/io/output.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 531 | insta::assert_debug_snapshot!("test_output_write_mp4_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8]: From>` is not satisfied [INFO] [stdout] --> src/io/output.rs:490:57 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `[u8]` [INFO] [stdout] ... [INFO] [stdout] 537 | insta::assert_debug_snapshot!("test_output_write_mp4_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is implemented for `&[u8]` [INFO] [stdout] = note: required for `Vec` to implement `Into<[u8]>` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/io/output.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 537 | insta::assert_debug_snapshot!("test_output_write_mp4_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8]: From>` is not satisfied [INFO] [stdout] --> src/io/output.rs:490:57 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `[u8]` [INFO] [stdout] ... [INFO] [stdout] 572 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is implemented for `&[u8]` [INFO] [stdout] = note: required for `Vec` to implement `Into<[u8]>` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/io/output.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 572 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_header", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8]: From>` is not satisfied [INFO] [stdout] --> src/io/output.rs:490:57 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `[u8]` [INFO] [stdout] ... [INFO] [stdout] 584 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is implemented for `&[u8]` [INFO] [stdout] = note: required for `Vec` to implement `Into<[u8]>` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/io/output.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 584 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_packets", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8]: From>` is not satisfied [INFO] [stdout] --> src/io/output.rs:490:57 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `[u8]` [INFO] [stdout] ... [INFO] [stdout] 590 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is implemented for `&[u8]` [INFO] [stdout] = note: required for `Vec` to implement `Into<[u8]>` [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/io/output.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | *buf = hash.finalize().to_vec().into(); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 590 | insta::assert_debug_snapshot!("test_output_write_mp4_fragmented_trailer", get_boxes!(output)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] = note: this error originates in the macro `get_boxes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scuffle-ffmpeg` (lib test) due to 37 previous errors [INFO] running `Command { std: "docker" "inspect" "1b614d1d88cb38250ed6e90a1b5ba18108c22815362612e51815784df6451248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b614d1d88cb38250ed6e90a1b5ba18108c22815362612e51815784df6451248", kill_on_drop: false }` [INFO] [stdout] 1b614d1d88cb38250ed6e90a1b5ba18108c22815362612e51815784df6451248