Skip to content

refactor project

refactor project #64

Triggered via pull request February 14, 2024 12:07
Status Failure
Total duration 3m 23s
Artifacts

rust_test.yml

on: pull_request
Matrix: build_and_test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 19 warnings
Test Suite - x86_64-unknown-linux-gnu: examples/binarize.rs#L10
the trait bound `u8: num_traits::float::Float` is not satisfied
Test Suite - x86_64-unknown-linux-gnu: examples/imgproc.rs#L10
the trait bound `u8: num_traits::float::Float` is not satisfied
Test Suite - x86_64-unknown-linux-gnu
could not compile `kornia-rs` (example "binarize") due to 1 previous error
Test Suite - x86_64-unknown-linux-gnu: examples/imgproc.rs#L23
no method named `image_size` found for enum `Result` in the current scope
Test Suite - x86_64-unknown-linux-gnu: examples/imgproc.rs#L31
no method named `data` found for enum `Result` in the current scope
Test Suite - x86_64-unknown-linux-gnu
could not compile `kornia-rs` (example "imgproc") due to 4 previous errors
Test Suite - x86_64-unknown-linux-gnu
The process 'cross' failed with exit code 101
Test Suite - aarch64-unknown-linux-gnu
The operation was canceled.
useless conversion to the same type: `anyhow::Error`: src/io/functions.rs#L20
warning: useless conversion to the same type: `anyhow::Error` --> src/io/functions.rs:20:20 | 20 | return Err(anyhow::anyhow!("File does not exist: {}", file_path.to_str().unwrap()).into()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `anyhow::anyhow!("File does not exist: {}", file_path.to_str().unwrap())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
unused import: `Num`: src/color.rs#L4
warning: unused import: `Num` --> src/color.rs:4:18 | 4 | use num_traits::{Num, NumCast}; | ^^^
unused import: `Array3`: src/color.rs#L3
warning: unused import: `Array3` --> src/color.rs:3:15 | 3 | use ndarray::{Array3, Zip}; | ^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Test Suite - x86_64-unknown-linux-gnu
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Suite - x86_64-unknown-linux-gnu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite - x86_64-unknown-linux-gnu: src/color.rs#L3
unused import: `Array3`
Test Suite - x86_64-unknown-linux-gnu: src/color.rs#L4
unused import: `Num`
Test Suite - x86_64-unknown-linux-gnu
`kornia-rs` (lib) generated 2 warnings (run `cargo fix --lib -p kornia-rs` to apply 2 suggestions)
Test Suite - x86_64-unknown-linux-gnu: src/threshold.rs#L79
unused import: `crate::image::Image`
Test Suite - aarch64-unknown-linux-gnu
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Suite - aarch64-unknown-linux-gnu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite - aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite - aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite - aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite - aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/