Skip to content

add windows, macOS targets to CI #282

add windows, macOS targets to CI

add windows, macOS targets to CI #282

Triggered via push July 1, 2024 10:32
Status Failure
Total duration 6m 2s
Artifacts

rust.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 7 warnings
the trait bound `ImageSource<'_>: std::convert::From<&image::DynamicImage>` is not satisfied: /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs#L32
error[E0277]: the trait bound `ImageSource<'_>: std::convert::From<&image::DynamicImage>` is not satisfied --> /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs:32:35 | 32 | .create_image(femtovg::ImageSource::try_from(image_ref).unwrap(), *flags) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&image::DynamicImage>` is not implemented for `ImageSource<'_>`, which is required by `ImageSource<'_>: TryFrom<&image::DynamicImage>` | = help: the following other types implement trait `std::convert::From<T>`: <ImageSource<'a> as std::convert::From<Img<&'a [RGB<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::RGBA<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::alt::Gray<u8>]>>> = note: required for `&image::DynamicImage` to implement `Into<ImageSource<'_>>` = note: required for `ImageSource<'_>` to implement `TryFrom<&image::DynamicImage>`
the trait bound `ImageSource<'_>: TryFrom<&image::DynamicImage>` is not satisfied: /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs#L32
error[E0277]: the trait bound `ImageSource<'_>: TryFrom<&image::DynamicImage>` is not satisfied --> /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs:32:35 | 32 | .create_image(femtovg::ImageSource::try_from(image_ref).unwrap(), *flags) | ^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&image::DynamicImage>` is not implemented for `ImageSource<'_>`, which is required by `ImageSource<'_>: TryFrom<&image::DynamicImage>` | = help: the following other types implement trait `std::convert::From<T>`: <ImageSource<'a> as std::convert::From<Img<&'a [RGB<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::RGBA<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::alt::Gray<u8>]>>> = note: required for `&image::DynamicImage` to implement `Into<ImageSource<'_>>` = note: required for `ImageSource<'_>` to implement `TryFrom<&image::DynamicImage>`
the trait bound `ImageSource<'_>: std::convert::From<&image::DynamicImage>` is not satisfied: /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs#L32
error[E0277]: the trait bound `ImageSource<'_>: std::convert::From<&image::DynamicImage>` is not satisfied --> /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs:32:35 | 32 | .create_image(femtovg::ImageSource::try_from(image_ref).unwrap(), *flags) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&image::DynamicImage>` is not implemented for `ImageSource<'_>`, which is required by `ImageSource<'_>: TryFrom<&image::DynamicImage>` | = help: the following other types implement trait `std::convert::From<T>`: <ImageSource<'a> as std::convert::From<Img<&'a [RGB<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::RGBA<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::alt::Gray<u8>]>>> = note: required for `&image::DynamicImage` to implement `Into<ImageSource<'_>>` = note: required for `ImageSource<'_>` to implement `TryFrom<&image::DynamicImage>`
the trait bound `ImageSource<'_>: TryFrom<&image::DynamicImage>` is not satisfied: /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs#L32
error[E0277]: the trait bound `ImageSource<'_>: TryFrom<&image::DynamicImage>` is not satisfied --> /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs:32:35 | 32 | .create_image(femtovg::ImageSource::try_from(image_ref).unwrap(), *flags) | ^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&image::DynamicImage>` is not implemented for `ImageSource<'_>`, which is required by `ImageSource<'_>: TryFrom<&image::DynamicImage>` | = help: the following other types implement trait `std::convert::From<T>`: <ImageSource<'a> as std::convert::From<Img<&'a [RGB<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::RGBA<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::alt::Gray<u8>]>>> = note: required for `&image::DynamicImage` to implement `Into<ImageSource<'_>>` = note: required for `ImageSource<'_>` to implement `TryFrom<&image::DynamicImage>`
the trait bound `ImageSource<'_>: std::convert::From<&image::DynamicImage>` is not satisfied: /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs#L32
error[E0277]: the trait bound `ImageSource<'_>: std::convert::From<&image::DynamicImage>` is not satisfied --> /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs:32:35 | 32 | .create_image(femtovg::ImageSource::try_from(image_ref).unwrap(), *flags) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&image::DynamicImage>` is not implemented for `ImageSource<'_>`, which is required by `ImageSource<'_>: TryFrom<&image::DynamicImage>` | = help: the following other types implement trait `std::convert::From<T>`: <ImageSource<'a> as std::convert::From<Img<&'a [RGB<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::RGBA<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::alt::Gray<u8>]>>> = note: required for `&image::DynamicImage` to implement `Into<ImageSource<'_>>` = note: required for `ImageSource<'_>` to implement `TryFrom<&image::DynamicImage>`
the trait bound `ImageSource<'_>: TryFrom<&image::DynamicImage>` is not satisfied: /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs#L32
error[E0277]: the trait bound `ImageSource<'_>: TryFrom<&image::DynamicImage>` is not satisfied --> /home/runner/.cargo/git/checkouts/vizia-a7ac1d316660c1f9/5b548c3/crates/vizia_core/src/resource.rs:32:35 | 32 | .create_image(femtovg::ImageSource::try_from(image_ref).unwrap(), *flags) | ^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&image::DynamicImage>` is not implemented for `ImageSource<'_>`, which is required by `ImageSource<'_>: TryFrom<&image::DynamicImage>` | = help: the following other types implement trait `std::convert::From<T>`: <ImageSource<'a> as std::convert::From<Img<&'a [RGB<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::RGBA<u8>]>>> <ImageSource<'a> as std::convert::From<Img<&'a [femtovg::rgb::alt::Gray<u8>]>>> = note: required for `&image::DynamicImage` to implement `Into<ImageSource<'_>>` = note: required for `ImageSource<'_>` to implement `TryFrom<&image::DynamicImage>`
build (x86_64-unknown-linux-musl)
Clippy had exited with the 101 exit code
build (x86_64-pc-windows-gnu)
Clippy had exited with the 101 exit code
build (x86_64-apple-darwin)
Clippy had exited with the 101 exit code
rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (x86_64-unknown-linux-musl)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (x86_64-unknown-linux-musl)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (x86_64-pc-windows-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (x86_64-pc-windows-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (x86_64-apple-darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (x86_64-apple-darwin)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/