Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading pbr v1.0.0
Downloading lodepng v2.0.4
Downloading gif-dispose v2.0.1
Downloading time v0.1.38
Downloading rgb v0.8.1
Downloading imagequant-sys v2.11.1
Compiling scopeguard v0.3.3
Compiling winapi v0.2.8
Compiling rgb v0.7.2
Compiling imgref v1.2.2
Compiling bitflags v0.9.1
Compiling cc v1.0.3
Compiling vec_map v0.8.0
Compiling rgb v0.8.1
Compiling ansi_term v0.9.0
Compiling winapi-build v0.1.1
Compiling futures v0.1.17
Compiling libc v0.2.33
Compiling lazy_static v0.2.9
Compiling cfg-if v0.1.2
Compiling unicode-width v0.1.4
Compiling either v1.3.0
Compiling strsim v0.6.0
Compiling lzw v0.10.0
Compiling rayon-core v1.2.1
Compiling color_quant v1.0.0
Compiling rustc-demangle v0.1.5
Compiling kernel32-sys v0.2.2
Compiling textwrap v0.9.0
Compiling coco v0.1.1
Compiling atty v0.2.3
Compiling num_cpus v1.7.0
Compiling time v0.1.38
Compiling lodepng v2.0.4
Compiling rand v0.3.17
Compiling imagequant-sys v2.11.1
Compiling backtrace-sys v0.1.16
Compiling gif v0.9.2
Compiling clap v2.27.1
Compiling threadpool v1.7.1
Compiling gif-dispose v2.0.1
Compiling pbr v1.0.0
Compiling rayon v0.8.2
note: link against the following native artifacts when linking against this static library
note: the order and any duplication can be significant on some platforms, and so may need to be preserved
note: library: dl
note: library: rt
note: library: pthread
note: library: gcc_s
note: library: c
note: library: m
note: library: rt
note: library: pthread
note: library: util
Compiling imagequant v2.11.4
Compiling backtrace v0.3.3
Compiling error-chain v0.11.0
Compiling gifski v0.3.0 (file:///home/phw/devel/aur4/gifski/src/gifski-0.3.0)
error[E0308]: mismatched types
--> src/lib.rs:77:29
|
77 | Ok((ImgVec::new(image.buffer, image.width, image.height), delay))
| ^^^^^^^^^^^^ expected struct `rgb::RGBA`, found a different struct `rgb::RGBA`
|
= note: expected type `std::vec::Vec<rgb::RGBA<u8>>` (struct `rgb::RGBA`)
found type `std::vec::Vec<rgb::RGBA<u8>>` (struct `rgb::RGBA`)
note: Perhaps two different versions of crate `rgb` are being used?
--> src/lib.rs:77:29
|
77 | Ok((ImgVec::new(image.buffer, image.width, image.height), delay))
| ^^^^^^^^^^^^
= help: here are some functions which might fulfill your needs:
- .to_vec()
error[E0308]: mismatched types
--> src/lib.rs:100:29
|
100 | img.add_fixed_color(RGBA8::new(0,0,0,0));
| ^^^^^^^^^^^^^^^^^^^ expected struct `rgb::RGBA`, found a different struct `rgb::RGBA`
|
= note: expected type `rgb::RGBA<u8>` (struct `rgb::RGBA`)
found type `rgb::RGBA<u8>` (struct `rgb::RGBA`)
note: Perhaps two different versions of crate `rgb` are being used?
--> src/lib.rs:100:29
|
100 | img.add_fixed_color(RGBA8::new(0,0,0,0));
| ^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> src/lib.rs:107:59
|
107 | Ok((Img::new(pal_img, img.width(), img.height()), pal))
| ^^^ expected struct `rgb::RGBA`, found a different struct `rgb::RGBA`
|
= note: expected type `std::vec::Vec<rgb::RGBA<u8>>` (struct `rgb::RGBA`)
found type `std::vec::Vec<rgb::RGBA<u8>>` (struct `rgb::RGBA`)
note: Perhaps two different versions of crate `rgb` are being used?
--> src/lib.rs:107:59
|
107 | Ok((Img::new(pal_img, img.width(), img.height()), pal))
| ^^^
= help: here are some functions which might fulfill your needs:
- .to_vec()
error[E0308]: mismatched types
--> src/lib.rs:177:87
|
177 | screen = Some(gif_dispose::Screen::new(image.width(), image.height(), RGBA8::new(0,0,0,0), None));
| ^^^^^^^^^^^^^^^^^^^ expected struct `rgb::RGBA`, found a different struct `rgb::RGBA`
|
= note: expected type `rgb::RGBA<u8>` (struct `rgb::RGBA`)
found type `rgb::RGBA<u8>` (struct `rgb::RGBA`)
note: Perhaps two different versions of crate `rgb` are being used?
--> src/lib.rs:177:87
|
177 | screen = Some(gif_dispose::Screen::new(image.width(), image.height(), RGBA8::new(0,0,0,0), None));
| ^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> src/lib.rs:189:42
|
189 | let diff = colordiff(a,b);
| ^ expected struct `rgb::RGBA`, found a different struct `rgb::RGBA`
|
= note: expected type `rgb::RGBA<u8>` (struct `rgb::RGBA`)
found type `rgb::RGBA<u8>` (struct `rgb::RGBA`)
note: Perhaps two different versions of crate `rgb` are being used?
--> src/lib.rs:189:42
|
189 | let diff = colordiff(a,b);
| ^
error[E0308]: mismatched types
--> src/lib.rs:204:65
|
204 | Self::quantize(image.as_ref(), &importance_map, bg, fast)?
| ^^ expected struct `rgb::RGBA`, found a different struct `rgb::RGBA`
|
= note: expected type `std::option::Option<imgref::Img<&[rgb::RGBA<u8>]>>` (struct `rgb::RGBA`)
found type `std::option::Option<imgref::Img<&[rgb::RGBA<u8>]>>` (struct `rgb::RGBA`)
note: Perhaps two different versions of crate `rgb` are being used?
--> src/lib.rs:204:65
|
204 | Self::quantize(image.as_ref(), &importance_map, bg, fast)?
| ^^
= help: here are some functions which might fulfill your needs:
- .take()
- .unwrap()
error[E0308]: mismatched types
--> src/lib.rs:224:34
|
224 | screen.blit(Some(&image8_pal), gif::DisposalMethod::Keep, 0, 0, image8.as_ref(), transparent_index)
| ^^^^^^^^^^^ expected slice, found struct `std::vec::Vec`
|
= note: expected type `&[rgb::RGBA<u8>]`
found type `&std::vec::Vec<rgb::RGBA<u8>>`
= help: here are some functions which might fulfill your needs:
- .as_slice()
error: aborting due to 7 previous errors