ffmpeg-dev 0.3.8

Self contained (no net/sys deps) static rust bindings to ffmpeg.
Documentation

Build #1955142 2025-04-05 13:25:33

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.88.0-nightly (17ffbc81a 2025-04-04)

# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/ffmpeg-dev-0.3.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/ffmpeg-dev-0.3.8/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250404-1.88.0-nightly-17ffbc81a\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] 51b7c80f534c450fd4b3e8483d5a45377be2128a76f6b378f72647ed12c69b28 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "51b7c80f534c450fd4b3e8483d5a45377be2128a76f6b378f72647ed12c69b28", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> build.rs:352:42 [INFO] [stderr] | [INFO] [stderr] 352 | let path: &str = path.clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ffmpeg-dev` (build script) generated 1 warning [INFO] [stderr] Compiling ffmpeg-dev v0.3.8 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `ffmpeg-dev v0.3.8 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/ffmpeg-dev-41e2670bc1b5f349/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2 [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavcodec [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavdevice [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavfilter [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavformat [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavresample [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavutil [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libpostproc [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libswresample [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libswscale [INFO] [stderr] cargo:rustc-link-lib=static=avcodec [INFO] [stderr] cargo:rustc-link-lib=static=avdevice [INFO] [stderr] cargo:rustc-link-lib=static=avfilter [INFO] [stderr] cargo:rustc-link-lib=static=avformat [INFO] [stderr] cargo:rustc-link-lib=static=avutil [INFO] [stderr] cargo:rustc-link-lib=static=swresample [INFO] [stderr] cargo:rustc-link-lib=static=swscale [INFO] [stderr] rerun-if-changed=headers [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavresample/internal.h:63:10: warning: 'AVMixCoeffType' is deprecated [-Wdeprecated-declarations], err: false [INFO] [stderr] /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavresample/internal.h:73:10: warning: 'AVResampleFilterType' is deprecated [-Wdeprecated-declarations], err: false [INFO] [stderr] /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavresample/internal.h:75:10: warning: 'AVResampleDitherMethod' is deprecated [-Wdeprecated-declarations], err: false [INFO] [stderr] /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavresample/resample.h:42:10: warning: 'AVResampleFilterType' is deprecated [-Wdeprecated-declarations], err: false [INFO] [stderr] /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/ffmpeg-dev-059ca95b239e78ac/out/FFmpeg-FFmpeg-2722fc2/libavresample/audio_mix.h:55:33: warning: 'AVMixCoeffType' is deprecated [-Wdeprecated-declarations], err: false [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.51.1/src/ir/context.rs:891:9: [INFO] [stderr] "enum_(unnamed_at_/usr/include/math_h_934_1)" is not a valid Ident [INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [INFO] running `Command { std: "docker" "inspect" "51b7c80f534c450fd4b3e8483d5a45377be2128a76f6b378f72647ed12c69b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51b7c80f534c450fd4b3e8483d5a45377be2128a76f6b378f72647ed12c69b28", kill_on_drop: false }` [INFO] [stdout] 51b7c80f534c450fd4b3e8483d5a45377be2128a76f6b378f72647ed12c69b28