[INFO] fetching crate tinytga 0.4.0-alpha.1... [INFO] checking tinytga-0.4.0-alpha.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tinytga 0.4.0-alpha.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tinytga 0.4.0-alpha.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tinytga 0.4.0-alpha.1 [INFO] finished tweaking crates.io crate tinytga 0.4.0-alpha.1 [INFO] tweaked toml for crates.io crate tinytga 0.4.0-alpha.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-graphics-core v0.2.0 [INFO] [stderr] Downloaded micromath v1.1.0 [INFO] [stderr] Downloaded embedded-graphics v0.7.0-alpha.3 [INFO] [stderr] Downloaded embedded-graphics-core v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 110c800407ec7c06eac0ad439767508af6f84aa0fc471f94de553e8265a69806 [INFO] running `Command { std: "docker" "start" "-a" "110c800407ec7c06eac0ad439767508af6f84aa0fc471f94de553e8265a69806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110c800407ec7c06eac0ad439767508af6f84aa0fc471f94de553e8265a69806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110c800407ec7c06eac0ad439767508af6f84aa0fc471f94de553e8265a69806", kill_on_drop: false }` [INFO] [stdout] 110c800407ec7c06eac0ad439767508af6f84aa0fc471f94de553e8265a69806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ba0f1e66a091f64a960b40dbd34387318ea11d2050583135c00bfcd17d1e773 [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" "7ba0f1e66a091f64a960b40dbd34387318ea11d2050583135c00bfcd17d1e773", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking micromath v1.1.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking embedded-graphics-core v0.2.0 [INFO] [stderr] Checking embedded-graphics-core v0.1.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking embedded-graphics v0.7.0-alpha.3 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking tinytga v0.4.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/errors.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | let expected: Vec<_> = Rectangle::new(Point::zero(), tga.size()) [INFO] [stdout] | ^^^^^^^^^^ expected struct `Size`, found struct `embedded_graphics_core::geometry::size::Size` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `embedded_graphics_core` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `embedded_graphics_core::geometry::point::Point` with `embedded_graphics::geometry::Point` [INFO] [stdout] --> tests/coordinates.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / assert_eq!( [INFO] [stdout] 40 | | coords, [INFO] [stdout] 41 | | vec![ [INFO] [stdout] 42 | | Point::new(0, 0), [INFO] [stdout] ... | [INFO] [stdout] 58 | | ] [INFO] [stdout] 59 | | ); [INFO] [stdout] | |______^ no implementation for `embedded_graphics_core::geometry::point::Point == embedded_graphics::geometry::Point` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `embedded_graphics_core::geometry::point::Point` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `Vec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/errors.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|p| RawPixel::new(p, 0)) [INFO] [stdout] | ^ expected struct `embedded_graphics_core::geometry::point::Point`, found struct `embedded_graphics::geometry::Point` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `embedded_graphics_core` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinytga` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/errors.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | let expected: Vec<_> = Rectangle::new(Point::zero(), tga.size()) [INFO] [stdout] | ^^^^^^^^^^ expected struct `Size`, found struct `embedded_graphics_core::geometry::size::Size` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `embedded_graphics_core` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb888: embedded_graphics_core::pixelcolor::PixelColor` is not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let tga: Tga = Tga::from_slice(include_bytes!("./chessboard_4px_rle.tga")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `embedded_graphics_core::pixelcolor::PixelColor` is not implemented for `Rgb888` [INFO] [stdout] | [INFO] [stdout] = note: required by `Tga::<'a, C>::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tga<'_, Rgb888>: embedded_graphics::image::ImageDrawable` is not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let image = Image::new(&tga, Point::zero()); [INFO] [stdout] | ^^^^^^^^^^ the trait `embedded_graphics::image::ImageDrawable` is not implemented for `Tga<'_, Rgb888>` [INFO] [stdout] | [INFO] [stdout] = note: required by `Image::<'a, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `draw` exists for struct `Image<'_, Tga<'_, Rgb888>>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | image.draw(&mut display).unwrap(); [INFO] [stdout] | ^^^^ method cannot be called on `Image<'_, Tga<'_, Rgb888>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-graphics-0.7.0-alpha.3/src/image/mod.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Image<'a, T> { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as Iterator>::Item = Pixel<_>` [INFO] [stdout] | doesn't satisfy `Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] | doesn't satisfy `_: embedded_graphics::Drawable` [INFO] [stdout] | doesn't satisfy `_: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Tga<'a, C> { [INFO] [stdout] | --------------------- doesn't satisfy `_: embedded_graphics::image::ImageDrawable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] which is required by `Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `<&Image<'_, Tga<'_, Rgb888>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] which is required by `&Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `Tga<'_, Rgb888>: embedded_graphics::image::ImageDrawable` [INFO] [stdout] which is required by `Image<'_, Tga<'_, Rgb888>>: embedded_graphics::Drawable` [INFO] [stdout] `<&mut Image<'_, Tga<'_, Rgb888>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&mut Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&mut Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] which is required by `&mut Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `MockDisplay<_>` [INFO] [stdout] --> tests/embedded_graphics.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(display, MockDisplay::from_pattern(CHESSBOARD_PATTERN)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | MockDisplay<_> [INFO] [stdout] | MockDisplay<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb888: embedded_graphics_core::pixelcolor::PixelColor` is not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let tga: Tga = Tga::from_slice(include_bytes!("./chessboard_raw.tga")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `embedded_graphics_core::pixelcolor::PixelColor` is not implemented for `Rgb888` [INFO] [stdout] | [INFO] [stdout] = note: required by `Tga::<'a, C>::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tga<'_, Rgb888>: embedded_graphics::image::ImageDrawable` is not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let image = Image::new(&tga, Point::zero()); [INFO] [stdout] | ^^^^^^^^^^ the trait `embedded_graphics::image::ImageDrawable` is not implemented for `Tga<'_, Rgb888>` [INFO] [stdout] | [INFO] [stdout] = note: required by `Image::<'a, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `draw` exists for struct `Image<'_, Tga<'_, Rgb888>>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | image.draw(&mut display).unwrap(); [INFO] [stdout] | ^^^^ method cannot be called on `Image<'_, Tga<'_, Rgb888>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-graphics-0.7.0-alpha.3/src/image/mod.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Image<'a, T> { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as Iterator>::Item = Pixel<_>` [INFO] [stdout] | doesn't satisfy `Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] | doesn't satisfy `_: embedded_graphics::Drawable` [INFO] [stdout] | doesn't satisfy `_: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Tga<'a, C> { [INFO] [stdout] | --------------------- doesn't satisfy `_: embedded_graphics::image::ImageDrawable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] which is required by `Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `<&Image<'_, Tga<'_, Rgb888>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] which is required by `&Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `Tga<'_, Rgb888>: embedded_graphics::image::ImageDrawable` [INFO] [stdout] which is required by `Image<'_, Tga<'_, Rgb888>>: embedded_graphics::Drawable` [INFO] [stdout] `<&mut Image<'_, Tga<'_, Rgb888>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&mut Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&mut Image<'_, Tga<'_, Rgb888>>: Iterator` [INFO] [stdout] which is required by `&mut Image<'_, Tga<'_, Rgb888>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `MockDisplay<_>` [INFO] [stdout] --> tests/embedded_graphics.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(display, MockDisplay::from_pattern(CHESSBOARD_PATTERN)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | MockDisplay<_> [INFO] [stdout] | MockDisplay<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `C: embedded_graphics_core::pixelcolor::PixelColor` is not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let tga: Tga = Tga::from_slice(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `embedded_graphics_core::pixelcolor::PixelColor` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required by `Tga::<'a, C>::from_slice` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 57 | C: PixelColor + From<::Raw> + ColorMapping + embedded_graphics_core::pixelcolor::PixelColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Tga<'_, C>: embedded_graphics::image::ImageDrawable` is not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let image = Image::new(&tga, Point::zero()); [INFO] [stdout] | ^^^^^^^^^^ the trait `embedded_graphics::image::ImageDrawable` is not implemented for `Tga<'_, C>` [INFO] [stdout] | [INFO] [stdout] = note: required by `Image::<'a, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `draw` exists for struct `Image<'_, Tga<'_, C>>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | image.draw(&mut display).unwrap(); [INFO] [stdout] | ^^^^ method cannot be called on `Image<'_, Tga<'_, C>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-graphics-0.7.0-alpha.3/src/image/mod.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Image<'a, T> { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as Iterator>::Item = Pixel<_>` [INFO] [stdout] | doesn't satisfy `Image<'_, Tga<'_, C>>: Iterator` [INFO] [stdout] | doesn't satisfy `Image<'_, Tga<'_, C>>: embedded_graphics::Drawable` [INFO] [stdout] | doesn't satisfy `_: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Tga<'a, C> { [INFO] [stdout] | --------------------- doesn't satisfy `_: embedded_graphics::image::ImageDrawable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `Image<'_, Tga<'_, C>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `Image<'_, Tga<'_, C>>: Iterator` [INFO] [stdout] which is required by `Image<'_, Tga<'_, C>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `<&Image<'_, Tga<'_, C>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&Image<'_, Tga<'_, C>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&Image<'_, Tga<'_, C>>: Iterator` [INFO] [stdout] which is required by `&Image<'_, Tga<'_, C>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `Tga<'_, C>: embedded_graphics::image::ImageDrawable` [INFO] [stdout] which is required by `Image<'_, Tga<'_, C>>: embedded_graphics::Drawable` [INFO] [stdout] `<&mut Image<'_, Tga<'_, C>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&mut Image<'_, Tga<'_, C>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&mut Image<'_, Tga<'_, C>>: Iterator` [INFO] [stdout] which is required by `&mut Image<'_, Tga<'_, C>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `MockDisplay<_>` [INFO] [stdout] --> tests/embedded_graphics.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(display, MockDisplay::from_pattern(pattern)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | MockDisplay<_> [INFO] [stdout] | MockDisplay<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DynamicTga<'_, _>: embedded_graphics::image::ImageDrawable` is not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let image = Image::new(&tga, Point::zero()); [INFO] [stdout] | ^^^^^^^^^^ the trait `embedded_graphics::image::ImageDrawable` is not implemented for `DynamicTga<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: required by `Image::<'a, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `draw` exists for struct `Image<'_, DynamicTga<'_, _>>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/embedded_graphics.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | image.draw(&mut display).unwrap(); [INFO] [stdout] | ^^^^ method cannot be called on `Image<'_, DynamicTga<'_, _>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-graphics-0.7.0-alpha.3/src/image/mod.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Image<'a, T> { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as Iterator>::Item = Pixel<_>` [INFO] [stdout] | doesn't satisfy `Image<'_, DynamicTga<'_, _>>: Iterator` [INFO] [stdout] | doesn't satisfy `_: embedded_graphics::Drawable` [INFO] [stdout] | doesn't satisfy `_: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/dynamic_tga.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DynamicTga<'a, C> { [INFO] [stdout] | ---------------------------- doesn't satisfy `_: embedded_graphics::image::ImageDrawable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `Image<'_, DynamicTga<'_, _>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `Image<'_, DynamicTga<'_, _>>: Iterator` [INFO] [stdout] which is required by `Image<'_, DynamicTga<'_, _>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `<&Image<'_, DynamicTga<'_, _>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&Image<'_, DynamicTga<'_, _>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&Image<'_, DynamicTga<'_, _>>: Iterator` [INFO] [stdout] which is required by `&Image<'_, DynamicTga<'_, _>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `DynamicTga<'_, _>: embedded_graphics::image::ImageDrawable` [INFO] [stdout] which is required by `Image<'_, DynamicTga<'_, _>>: embedded_graphics::Drawable` [INFO] [stdout] `<&mut Image<'_, DynamicTga<'_, _>> as Iterator>::Item = Pixel<_>` [INFO] [stdout] which is required by `&mut Image<'_, DynamicTga<'_, _>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] `&mut Image<'_, DynamicTga<'_, _>>: Iterator` [INFO] [stdout] which is required by `&mut Image<'_, DynamicTga<'_, _>>: embedded_graphics::iterator::PixelIteratorExt<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `MockDisplay<_>` [INFO] [stdout] --> tests/embedded_graphics.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(display, expected); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | MockDisplay<_> [INFO] [stdout] | MockDisplay [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/errors.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|(p, c)| RawPixel::new(p, c)) [INFO] [stdout] | ^ expected struct `embedded_graphics_core::geometry::point::Point`, found struct `embedded_graphics::geometry::Point` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `embedded_graphics_core` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_slice` exists for struct `Tga<'_, Gray8>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/errors.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | Tga::::from_slice(include_bytes!("../tests/type2_24bpp_tl.tga")), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `Tga<'_, Gray8>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-graphics-core-0.2.0/src/pixelcolor/gray_color.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | gray_color!(Gray8, RawU8, "8 bit"); [INFO] [stdout] | ----------------------------------- doesn't satisfy `_: embedded_graphics_core::pixelcolor::PixelColor` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Gray8: embedded_graphics_core::pixelcolor::PixelColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_slice` exists for struct `Tga<'_, Rgb888>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/errors.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | Tga::::from_slice(include_bytes!("../tests/type3_tl.tga")), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `Tga<'_, Rgb888>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-graphics-core-0.2.0/src/pixelcolor/rgb_color.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | rgb_color!(Rgb888, RawU24, u32, Rgb = (8, 8, 8)); [INFO] [stdout] | ------------------------------------------------- doesn't satisfy `_: embedded_graphics_core::pixelcolor::PixelColor` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Rgb888: embedded_graphics_core::pixelcolor::PixelColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7ba0f1e66a091f64a960b40dbd34387318ea11d2050583135c00bfcd17d1e773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba0f1e66a091f64a960b40dbd34387318ea11d2050583135c00bfcd17d1e773", kill_on_drop: false }` [INFO] [stdout] 7ba0f1e66a091f64a960b40dbd34387318ea11d2050583135c00bfcd17d1e773