Skip to content

Use JxlEncoderDistanceFromQuality in the encoder builder. #252

Use JxlEncoderDistanceFromQuality in the encoder builder.

Use JxlEncoderDistanceFromQuality in the encoder builder. #252

Triggered via push May 4, 2024 08:38
Status Success
Total duration 9m 2s
Artifacts

ci.yml

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

Annotations

2 errors and 1 warning
[clippy] jpegxl-rs/src/memory.rs#L42: jpegxl-rs/src/memory.rs#L42
error: reference as raw pointer --> jpegxl-rs/src/memory.rs:42:21 | 42 | opaque: (self as *const Self).cast_mut().cast(), | ^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::from_ref::<Self>(self)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ref_as_ptr = note: `-D clippy::ref-as-ptr` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ref_as_ptr)]`
[clippy] jpegxl-rs/src/memory.rs#L121: jpegxl-rs/src/memory.rs#L121
error: reference as raw pointer --> jpegxl-rs/src/memory.rs:121:31 | 121 | break (addr as *mut u8).cast(); | ^^^^^^^^^^^^^^^^^ help: try: `std::ptr::from_mut::<u8>(addr)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ref_as_ptr
Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, giraffate/clippy-action@v1.0.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.