Skip to content

chore(deps): update clechasseur/rs-clippy-check action to v4 #5423

chore(deps): update clechasseur/rs-clippy-check action to v4

chore(deps): update clechasseur/rs-clippy-check action to v4 #5423

Triggered via pull request February 23, 2025 09:07
Status Failure
Total duration 1m 59s
Artifacts

rav1e.yml

on: pull_request
Matrix: build-macos
Matrix: build-unix
Matrix: build-windows
Fit to window
Zoom out
Zoom in

Annotations

6 errors
operator precedence can trip the unwary: src/deblock.rs#L1109
error: operator precedence can trip the unwary --> src/deblock.rs:1109:17 | 1109 | let tx_edge = bo.0.x >> xdec & (txsize.width_mi() - 1) == 0; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(bo.0.x >> xdec) & (txsize.width_mi() - 1)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence = note: `-D clippy::precedence` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::precedence)]`
operator precedence can trip the unwary: src/deblock.rs#L1156
error: operator precedence can trip the unwary --> src/deblock.rs:1156:17 | 1156 | let tx_edge = bo.0.x >> xdec & (txsize.width_mi() - 1) == 0; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(bo.0.x >> xdec) & (txsize.width_mi() - 1)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/deblock.rs#L1205
error: operator precedence can trip the unwary --> src/deblock.rs:1205:17 | 1205 | let tx_edge = bo.0.y >> ydec & (txsize.height_mi() - 1) == 0; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(bo.0.y >> ydec) & (txsize.height_mi() - 1)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/deblock.rs#L1252
error: operator precedence can trip the unwary --> src/deblock.rs:1252:17 | 1252 | let tx_edge = bo.0.y >> ydec & (txsize.height_mi() - 1) == 0; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(bo.0.y >> ydec) & (txsize.height_mi() - 1)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/rate.rs#L1310
error: operator precedence can trip the unwary --> src/rate.rs:1310:7 | 1310 | / (self.prev_metrics.show_frame as i64) << 31 1311 | | | self.prev_metrics.fti as i64, | |______________________________________^ help: consider parenthesizing your expression: `((self.prev_metrics.show_frame as i64) << 31) | self.prev_metrics.fti as i64` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
rustfmt-clippy
Error: Clippy has exited with exit code 101