Skip to content

Use thiserror for error types. #595

Use thiserror for error types.

Use thiserror for error types. #595

Triggered via pull request November 6, 2024 17:48
Status Failure
Total duration 2m 30s
Artifacts

main.yml

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

Annotations

3 errors and 10 warnings
examples (aarch64)
Process completed with exit code 2.
examples (riscv)
Process completed with exit code 2.
examples (x86_64)
Process completed with exit code 2.
this function has too many arguments (8/7): src/device/sound.rs#L366
warning: this function has too many arguments (8/7) --> src/device/sound.rs:366:5 | 366 | / pub fn pcm_set_params( 367 | | &mut self, 368 | | stream_id: u32, 369 | | buffer_bytes: u32, ... | 374 | | rate: PcmRate, 375 | | ) -> Result { | |_______________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): src/device/gpu.rs#L258
warning: this function has too many arguments (8/7) --> src/device/gpu.rs:258:5 | 258 | / fn update_cursor( 259 | | &mut self, 260 | | resource_id: u32, 261 | | scanout_id: u32, ... | 266 | | is_move: bool, 267 | | ) -> Result { | |_______________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments = note: `#[warn(clippy::too_many_arguments)]` on by default
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, 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/
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/queue.rs#L80
unused variable: `indirect`
build
`virtio-drivers` (lib) generated 1 warning
build: src/queue.rs#L80
unused variable: `indirect`
build
`virtio-drivers` (lib) generated 1 warning