rust-imagequant-sys-4.1.0-1.fc44

List of Findings

Error: CLIPPY_WARNING: [#def1]
src/ffi.rs:97:89: warning: unnecessary parentheses
#      |
#   97 |         let bork = if cfg!(miri) { false } else { unsafe { liq_received_invalid_pointer((obj as *const _ as *const u8)) } };
#      |                                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove them: `obj as *const _ as *const u8`
#  ...
#  104 |         if bad_object!(self, LIQ_ATTR_MAGIC) { return; }
#      |            --------------------------------- in this macro invocation
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#double_parens
#      = note: `#[warn(clippy::double_parens)]` on by default
#      = note: this warning originates in the macro `bad_object` (in Nightly builds, run with -Z macro-backtrace for more info)

Error: CLIPPY_WARNING: [#def2]
src/ffi.rs:601:13: warning: very complex type used. Consider factoring parts into `type` definitions
#      |
#  601 |     let cb: Box<dyn Fn(&mut [MaybeUninit<RGBA>], usize) + Send + Sync> = Box::new(move |row, y| row_callback(row.as_mut_ptr(), y as _, ro...
#      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#type_complexity
#      = note: `#[warn(clippy::type_complexity)]` on by default

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-7.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namerust-imagequant-sys-4.1.0-1.fc44
store-results-to/tmp/tmp5uaeafj4/rust-imagequant-sys-4.1.0-1.fc44.tar.xz
time-created2026-01-08 21:36:18
time-finished2026-01-08 21:38:00
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp5uaeafj4/rust-imagequant-sys-4.1.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5uaeafj4/rust-imagequant-sys-4.1.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9