Skip to content

[WIP] Break down JxlDecoder to better support streaming, preview, animation, etc. #433

[WIP] Break down JxlDecoder to better support streaming, preview, animation, etc.

[WIP] Break down JxlDecoder to better support streaming, preview, animation, etc. #433

Triggered via pull request October 11, 2024 02:54
Status Success
Total duration 6m 51s
Artifacts

ci.yml

on: pull_request
Matrix: Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
[clippy] jpegxl-rs/src/decode/session.rs#L246: jpegxl-rs/src/decode/session.rs#L246
error: unused variable: `name` --> jpegxl-rs/src/decode/session.rs:246:13 | 246 | let name = CString::from_vec_with_nul(buffer) | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` | = note: `-D unused-variables` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_variables)]`
[clippy] jpegxl-rs/src/decode/session.rs#L30: jpegxl-rs/src/decode/session.rs#L30
error: field `frame` is never read --> jpegxl-rs/src/decode/session.rs:33:9 | 30 | pub(crate) struct Config { | ------ field in this struct ... 33 | pub frame: Option<usize>, | ^^^^^ | = note: `Config` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
[clippy] jpegxl-rs/src/decode/session.rs#L45: jpegxl-rs/src/decode/session.rs#L45
error: field `state` is never read --> jpegxl-rs/src/decode/session.rs:50:5 | 45 | pub struct Session<'dec, 'pr, 'mm> { | ------- field in this struct ... 50 | state: State, | ^^^^^
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/