chore(deps): update actions/checkout action to v4 #4600
Triggered via pull request
September 11, 2023 00:05
Status
Failure
Total duration
21m 5s
Artifacts
–
Annotations
29 errors and 2 warnings
useless use of `vec!`:
src/api/color.rs#L214
error: useless use of `vec!`
--> src/api/color.rs:214:3
|
214 | ArgEnum,
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: this error originates in the derive macro `ArgEnum` (in Nightly builds, run with -Z macro-backtrace for more info)
|
useless use of `vec!`:
src/api/color.rs#L48
error: useless use of `vec!`
--> src/api/color.rs:48:3
|
48 | ArgEnum,
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: this error originates in the derive macro `ArgEnum` (in Nightly builds, run with -Z macro-backtrace for more info)
|
useless use of `vec!`:
src/encoder.rs#L107
error: useless use of `vec!`
--> src/encoder.rs:107:3
|
107 | ArgEnum, Copy, Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Default,
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: this error originates in the derive macro `ArgEnum` (in Nightly builds, run with -Z macro-backtrace for more info)
|
docs for function which may panic missing `# Panics` section:
src/partition.rs#L378
error: docs for function which may panic missing `# Panics` section
--> src/partition.rs:378:3
|
378 | pub fn largest_chroma_tx_size(self, xdec: usize, ydec: usize) -> TxSize {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> src/partition.rs:379:23
|
379 | let plane_bsize = self
| _______________________^
380 | | .subsampled_size(xdec, ydec)
381 | | .expect("invalid block size for this subsampling mode");
| |_____________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `-D clippy::missing-panics-doc` implied by `-D warnings`
|
casting raw pointers to the same type and constness is unnecessary (`*const u16` -> `*const u16`):
src/asm/x86/cdef.rs#L104
error: casting raw pointers to the same type and constness is unnecessary (`*const u16` -> `*const u16`)
--> src/asm/x86/cdef.rs:104:15
|
104 | tmp.data.as_ptr().offset(3 * TMPSTRIDE) as *const u16,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `tmp.data.as_ptr().offset(3 * TMPSTRIDE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
|
useless use of `vec!`:
src/cpu_features/x86.rs#L14
error: useless use of `vec!`
--> src/cpu_features/x86.rs:14:57
|
14 | #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, ArgEnum)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `-D clippy::useless-vec` implied by `-D warnings`
= note: this error originates in the derive macro `ArgEnum` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/transform/inverse.rs:429:1
|
429 | / cpu_function_lookup_table!(
430 | | INV_TXFM_HBD_FNS_12: [[[Option<InvTxfmHBDFunc>; TX_TYPES]; 32]],
431 | | default: [[None; TX_TYPES]; 32],
432 | | [AVX2]
433 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/transform/inverse.rs:391:1
|
391 | / cpu_function_lookup_table!(
392 | | INV_TXFM_HBD_FNS_10: [[[Option<InvTxfmHBDFunc>; TX_TYPES]; 32]],
393 | | default: [[None; TX_TYPES]; 32],
394 | | [SSE4_1, AVX2, AVX512ICL]
395 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/transform/inverse.rs:252:1
|
252 | / cpu_function_lookup_table!(
253 | | INV_TXFM_FNS: [[[Option<InvTxfmFunc>; TX_TYPES]; 32]],
254 | | default: [[None; TX_TYPES]; 32],
255 | | [SSSE3, AVX2, AVX512ICL]
256 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L139
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:139:32
|
139 | cpu_function_lookup_table!(pub(self), $name: [$type], default: $empty, [$(($key, $value)),*]);
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/quantize.rs:32:1
|
32 | / cpu_function_lookup_table!(
33 | | DEQUANTIZE_FNS: [Option<DequantizeFn>],
34 | | default: None,
35 | | [(AVX2, Some(dequantize_avx2))]
36 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L139
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:139:32
|
139 | cpu_function_lookup_table!(pub(self), $name: [$type], default: $empty, [$(($key, $value)),*]);
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/mc.rs:618:1
|
618 | / cpu_function_lookup_table!(
619 | | AVG_HBD_FNS: [Option<AvgHBDFn>],
620 | | default: None,
621 | | [(SSSE3, Some(rav1e_avg_16bpc_ssse3)), (AVX2, Some(rav1e_avg_16bpc_avx2))]
622 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L139
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:139:32
|
139 | cpu_function_lookup_table!(pub(self), $name: [$type], default: $empty, [$(($key, $value)),*]);
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/mc.rs:608:1
|
608 | / cpu_function_lookup_table!(
609 | | AVG_FNS: [Option<AvgFn>],
610 | | default: None,
611 | | [
... |
615 | | ]
616 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/mc.rs:575:1
|
575 | / cpu_function_lookup_table!(
576 | | PREP_HBD_FNS: [[Option<PrepHBDFn>; 16]],
577 | | default: [None; 16],
578 | | [SSSE3, AVX2]
579 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/mc.rs:520:1
|
520 | / cpu_function_lookup_table!(
521 | | PREP_FNS: [[Option<PrepFn>; 16]],
522 | | default: [None; 16],
523 | | [SSE2, SSSE3, AVX2, AVX512ICL]
524 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/mc.rs:439:1
|
439 | / cpu_function_lookup_table!(
440 | | PUT_HBD_FNS: [[Option<PutHBDFn>; 16]],
441 | | default: [None; 16],
442 | | [SSSE3, AVX2]
443 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/mc.rs:384:1
|
384 | / cpu_function_lookup_table!(
385 | | PUT_FNS: [[Option<PutFn>; 16]],
386 | | default: [None; 16],
387 | | [SSSE3, AVX2, AVX512ICL]
388 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/mod.rs:725:1
|
725 | / cpu_function_lookup_table!(
726 | | SATD_HBD_FNS: [[Option<SatdHBDFn>; DIST_FNS_LENGTH]],
727 | | default: [None; DIST_FNS_LENGTH],
728 | | [AVX2]
729 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/mod.rs:686:1
|
686 | / cpu_function_lookup_table!(
687 | | SATD_FNS: [[Option<SatdFn>; DIST_FNS_LENGTH]],
688 | | default: [None; DIST_FNS_LENGTH],
689 | | [SSSE3, SSE4_1, AVX2]
690 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/mod.rs:626:1
|
626 | / cpu_function_lookup_table!(
627 | | SAD_HBD_FNS: [[Option<SadHBDFn>; DIST_FNS_LENGTH]],
628 | | default: [None; DIST_FNS_LENGTH],
629 | | [SSSE3, AVX2]
630 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/mod.rs:555:1
|
555 | / cpu_function_lookup_table!(
556 | | SAD_FNS: [[Option<SadFn>; DIST_FNS_LENGTH]],
557 | | default: [None; DIST_FNS_LENGTH],
558 | | [SSE2, AVX2]
559 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/sse.rs:220:1
|
220 | / cpu_function_lookup_table!(
221 | | SSE_HBD_FNS: [[Option<WeightedSseHBDFn>; DIST_FNS_LENGTH]],
222 | | default: [None; DIST_FNS_LENGTH],
223 | | [SSE2]
224 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/sse.rs:214:1
|
214 | / cpu_function_lookup_table!(
215 | | SSE_FNS: [[Option<WeightedSseFn>; DIST_FNS_LENGTH]],
216 | | default: [None; DIST_FNS_LENGTH],
217 | | [SSSE3, AVX2]
218 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/cdef_dist.rs:238:1
|
238 | / cpu_function_lookup_table!(
239 | | CDEF_DIST_KERNEL_HBD_FNS:
240 | | [[Option<CdefDistKernelHBDFn>; CDEF_DIST_KERNEL_FNS_LENGTH]],
241 | | default: [None; CDEF_DIST_KERNEL_FNS_LENGTH],
242 | | [AVX2]
243 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/dist/cdef_dist.rs:146:1
|
146 | / cpu_function_lookup_table!(
147 | | CDEF_DIST_KERNEL_FNS:
148 | | [[Option<CdefDistKernelFn>; CDEF_DIST_KERNEL_FNS_LENGTH]],
149 | | default: [None; CDEF_DIST_KERNEL_FNS_LENGTH],
150 | | [SSE2]
151 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L139
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:139:32
|
139 | cpu_function_lookup_table!(pub(self), $name: [$type], default: $empty, [$(($key, $value)),*]);
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/cdef.rs:282:1
|
282 | / cpu_function_lookup_table!(
283 | | CDEF_DIR_HBD_FNS: [Option<CdefDirHBDFn>],
284 | | default: None,
285 | | [
... |
289 | | ]
290 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L139
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:139:32
|
139 | cpu_function_lookup_table!(pub(self), $name: [$type], default: $empty, [$(($key, $value)),*]);
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/cdef.rs:273:1
|
273 | / cpu_function_lookup_table!(
274 | | CDEF_DIR_LBD_FNS: [Option<CdefDirLBDFn>],
275 | | default: None,
276 | | [
... |
279 | | ]
280 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L139
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:139:32
|
139 | cpu_function_lookup_table!(pub(self), $name: [$type], default: $empty, [$(($key, $value)),*]);
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/cdef.rs:178:1
|
178 | / cpu_function_lookup_table!(
179 | | CDEF_FILTER_HBD_FNS: [[Option<CdefFilterHBDFn>; 4]],
180 | | default: [None; 4],
181 | | []
182 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unnecessary `pub(self)`:
src/cpu_features/x86.rs#L154
error: unnecessary `pub(self)`
--> src/cpu_features/x86.rs:154:7
|
154 | pub(self), $name: [$type], default: $empty, [$($key),*]
| ^^^^^^^^^ help: remove it
|
::: src/asm/x86/cdef.rs:172:1
|
172 | / cpu_function_lookup_table!(
173 | | CDEF_FILTER_FNS: [[Option<CdefFilterFn>; 4]],
174 | | default: [None; 4],
175 | | [AVX2]
176 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: `-D clippy::needless-pub-self` implied by `-D warnings`
= note: this error originates in the macro `cpu_function_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info)
|
rustfmt-clippy
Clippy had exited with the 101 exit code
|
rustfmt-clippy
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-unix (grcov-codecov)
The following actions uses node12 which is deprecated and will be forced to run on node16: petarpetrovt/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|