meh / rust-ffmpeg-sys

moved to meh/rust-ffmpeg
147 stars 86 forks source link

cannot compile `ffmpeg-sys` #81

Closed hkennyv closed 4 years ago

hkennyv commented 4 years ago

Hey there, I'm trying to build rust-ffmpeg, but it breaks when trying to compile ffmpeg-sys v.3.4.1.

There seems to be a bunch of errors so I feel like I'm missing something here... any help is appreciated. See the error output below:

khuynh@kmbp:dev/rust-ffmpeg ‹master›$ rustc --version
rustc 1.43.0 (4fb7144ed 2020-04-20)
khuynh@kmbp:dev/rust-ffmpeg ‹master›$ ffmpeg
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
khuynh@kmbp:dev/rust-ffmpeg ‹master›$ cargo build
   Compiling libc v0.2.69
   Compiling lazy_static v1.4.0
   Compiling memchr v2.3.3
   Compiling glob v0.2.11
   Compiling log v0.4.8
   Compiling ucd-util v0.1.8
   Compiling libloading v0.4.3
   Compiling bitflags v1.2.1
   Compiling cfg-if v0.1.10
   Compiling regex v0.2.11
   Compiling unicode-xid v0.1.0
   Compiling utf8-ranges v1.0.4
   Compiling unicode-width v0.1.7
   Compiling ansi_term v0.11.0
   Compiling bindgen v0.32.3
   Compiling vec_map v0.8.1
   Compiling strsim v0.8.0
   Compiling peeking_take_while v0.1.2
   Compiling cc v1.0.52
   Compiling pkg-config v0.3.17
   Compiling ffmpeg v0.2.0-alpha.2 (/Volumes/hdd/dev/rust-ffmpeg)
   Compiling bitflags v0.9.1
   Compiling thread_local v0.3.6
   Compiling regex-syntax v0.5.6
   Compiling proc-macro2 v0.2.3
   Compiling textwrap v0.11.0
   Compiling clang-sys v0.21.2
   Compiling quote v0.4.2
   Compiling log v0.3.9
   Compiling aho-corasick v0.6.10
   Compiling memchr v1.0.2
   Compiling atty v0.2.14
   Compiling which v1.0.5
   Compiling num_cpus v1.13.0
   Compiling nom v3.2.1
   Compiling clap v2.33.0
   Compiling cexpr v0.2.3
   Compiling env_logger v0.4.3
   Compiling ffmpeg-sys v3.4.1
error[E0369]: binary operation `==` cannot be applied to type `[i8; 56]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1694:5
     |
1694 |     pub __opaque: [libc::c_char; 56usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 56]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1694:5
     |
1694 |     pub __opaque: [libc::c_char; 56usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1694:5
     |
1694 |     pub __opaque: [libc::c_char; 56usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 56]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 56]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 40]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1733:5
     |
1733 |     pub __opaque: [libc::c_char; 40usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 40]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1733:5
     |
1733 |     pub __opaque: [libc::c_char; 40usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1733:5
     |
1733 |     pub __opaque: [libc::c_char; 40usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 40]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 40]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 56]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1815:5
     |
1815 |     pub __opaque: [libc::c_char; 56usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 56]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1815:5
     |
1815 |     pub __opaque: [libc::c_char; 56usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1815:5
     |
1815 |     pub __opaque: [libc::c_char; 56usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 56]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 56]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 192]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1938:5
     |
1938 |     pub __opaque: [libc::c_char; 192usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 192]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1938:5
     |
1938 |     pub __opaque: [libc::c_char; 192usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:1938:5
     |
1938 |     pub __opaque: [libc::c_char; 192usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 192]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 192]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 8176]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:2023:5
     |
2023 |     pub __opaque: [libc::c_char; 8176usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 8176]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:2023:5
     |
2023 |     pub __opaque: [libc::c_char; 8176usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:2023:5
     |
2023 |     pub __opaque: [libc::c_char; 8176usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 8176]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 8176]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:4764:5
     |
4764 |     pub __zmm_reg: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:4764:5
     |
4764 |     pub __zmm_reg: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:4764:5
     |
4764 |     pub __zmm_reg: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 64]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 64]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 224]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:4852:5
     |
4852 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 224]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:4852:5
     |
4852 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:4852:5
     |
4852 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 224]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 224]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 224]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5288:5
     |
5288 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5290:5
     |
5290 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 224]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5288:5
     |
5288 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5290:5
     |
5290 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5288:5
     |
5288 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 224]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 224]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5290:5
     |
5290 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 64]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 64]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 224]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5838:5
     |
5838 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5840:5
     |
5840 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 224]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5838:5
     |
5838 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5840:5
     |
5840 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5838:5
     |
5838 |     pub __fpu_rsrv4: [libc::c_char; 224usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 224]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 224]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:5840:5
     |
5840 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 64]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 64]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 96]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7175:5
     |
7175 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 96]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7175:5
     |
7175 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7175:5
     |
7175 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 96]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 96]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 96]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7715:5
     |
7715 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7717:5
     |
7717 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 96]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7715:5
     |
7715 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7717:5
     |
7717 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7715:5
     |
7715 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 96]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 96]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:7717:5
     |
7717 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 64]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 64]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 96]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:8476:5
     |
8476 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:8478:5
     |
8478 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 96]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:8476:5
     |
8476 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 64]`
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:8478:5
     |
8478 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:8476:5
     |
8476 |     pub __fpu_rsrv4: [libc::c_char; 96usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 96]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 96]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
    --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:8478:5
     |
8478 |     pub __avx_reserved1: [libc::c_char; 64usize],
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 64]`
     |
     = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 64]`
     = note: required by `std::cmp::AssertParamIsEq`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `sigval`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10611:5
      |
10611 |     pub sigev_value: sigval,
      |     ^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `sigval`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `sigval`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10611:5
      |
10611 |     pub sigev_value: sigval,
      |     ^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `sigval`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `sigval: std::cmp::Eq` is not satisfied
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10611:5
      |
10611 |     pub sigev_value: sigval,
      |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `sigval`
      |
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `sigval`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10690:5
      |
10690 |     pub si_value: sigval,
      |     ^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `sigval`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `sigval`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10690:5
      |
10690 |     pub si_value: sigval,
      |     ^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `sigval`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `sigval: std::cmp::Eq` is not satisfied
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10690:5
      |
10690 |     pub si_value: sigval,
      |     ^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `sigval`
      |
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `__sigaction_u`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10853:5
      |
10853 |     pub __sigaction_u: __sigaction_u,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `__sigaction_u`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `__sigaction_u`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10853:5
      |
10853 |     pub __sigaction_u: __sigaction_u,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `__sigaction_u`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `__sigaction_u: std::cmp::Eq` is not satisfied
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10853:5
      |
10853 |     pub __sigaction_u: __sigaction_u,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `__sigaction_u`
      |
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `__sigaction_u`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10922:5
      |
10922 |     pub __sigaction_u: __sigaction_u,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `__sigaction_u`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `__sigaction_u`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10922:5
      |
10922 |     pub __sigaction_u: __sigaction_u,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `__sigaction_u`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `__sigaction_u: std::cmp::Eq` is not satisfied
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:10922:5
      |
10922 |     pub __sigaction_u: __sigaction_u,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `__sigaction_u`
      |
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `AVOption__bindgen_ty_1`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:28308:5
      |
28308 |     pub default_val: AVOption__bindgen_ty_1,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `AVOption__bindgen_ty_1`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `AVOption__bindgen_ty_1`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:28308:5
      |
28308 |     pub default_val: AVOption__bindgen_ty_1,
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: an implementation of `std::cmp::PartialEq` might be missing for `AVOption__bindgen_ty_1`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 1024]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:33506:5
      |
33506 |     pub filename: [libc::c_char; 1024usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 1024]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:33506:5
      |
33506 |     pub filename: [libc::c_char; 1024usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:33506:5
      |
33506 |     pub filename: [libc::c_char; 1024usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 1024]`
      |
      = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 1024]`
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 61440]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:37351:5
      |
37351 |     pub reserved: [libc::c_char; 61440usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 61440]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:37351:5
      |
37351 |     pub reserved: [libc::c_char; 61440usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:37351:5
      |
37351 |     pub reserved: [libc::c_char; 61440usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 61440]`
      |
      = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 61440]`
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[[u32; 256]; 4]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:40010:5
      |
40010 |     pub s: [[u32; 256usize]; 4usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[[u32; 256]; 4]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:40010:5
      |
40010 |     pub s: [[u32; 256usize]; 4usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:40010:5
      |
40010 |     pub s: [[u32; 256usize]; 4usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[u32; 256]`
      |
      = note: required because of the requirements on the impl of `std::cmp::Eq` for `[u32; 256]`
      = note: required because of the requirements on the impl of `std::cmp::Eq` for `[[u32; 256]; 4]`
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[i8; 1000]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:40539:5
      |
40539 |     pub reserved_padding: [libc::c_char; 1000usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[i8; 1000]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:40539:5
      |
40539 |     pub reserved_padding: [libc::c_char; 1000usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:40539:5
      |
40539 |     pub reserved_padding: [libc::c_char; 1000usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i8; 1000]`
      |
      = note: required because of the requirements on the impl of `std::cmp::Eq` for `[i8; 1000]`
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `==` cannot be applied to type `[u32; 64]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:42287:5
      |
42287 |     pub state: [libc::c_uint; 64usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0369]: binary operation `!=` cannot be applied to type `[u32; 64]`
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:42287:5
      |
42287 |     pub state: [libc::c_uint; 64usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: arrays only have std trait implementations for lengths 0..=32
     --> /Volumes/hdd/dev/rust-ffmpeg/target/debug/build/ffmpeg-sys-0509fe9e92bd50b3/out/bindings.rs:42287:5
      |
42287 |     pub state: [libc::c_uint; 64usize],
      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[u32; 64]`
      |
      = note: required because of the requirements on the impl of `std::cmp::Eq` for `[u32; 64]`
      = note: required by `std::cmp::AssertParamIsEq`
      = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 77 previous errors

Some errors have detailed explanations: E0277, E0369.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `ffmpeg-sys`.

To learn more, run the command again with --verbose.
tpmccallum commented 4 years ago

Hi @meh and @hkennyv I am getting a similar issue

Compiling ffmpeg-sys v3.4.1
error[E0369]: binary operation `==` cannot be applied to type `__mbstate_t__bindgen_ty_1`
    --> /media/nvme/image_processing/rust/process_videos/target/debug/build/ffmpeg-sys-d7970efc29062e29/out/bindings.rs:3000:5
     |
3000 |     pub __value: __mbstate_t__bindgen_ty_1,
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: an implementation of `std::cmp::PartialEq` might be missing for `__mbstate_t__bindgen_ty_1`
     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
kornelski commented 4 years ago

This should be fixed now