netavark-1.14.1-1.fc43

List of Findings

Error: CLIPPY_WARNING: [#def1]
src/commands/firewalld_reload.rs:63:25: warning: manual implementation of `ok`
#     |
#  63 |           let dbus_conn = match zbus::blocking::Connection::system() {
#     |  _________________________^
#  64 | |             Ok(c) => Some(c),
#  65 | |             Err(_) => None,
#  66 | |         };
#     | |_________^ help: replace with: `zbus::blocking::Connection::system().ok()`
#     |
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_err
#     = note: `#[warn(clippy::manual_ok_err)]` on by default

Error: CLIPPY_WARNING: [#def2]
src/network/bridge.rs:459:27: warning: manual implementation of `ok`
#      |
#  459 |           let system_dbus = match zbus::blocking::Connection::system() {
#      |  ___________________________^
#  460 | |             Ok(c) => Some(c),
#  461 | |             Err(_) => None,
#  462 | |         };
#      | |_________^ help: replace with: `zbus::blocking::Connection::system().ok()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_err

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-108.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namenetavark-1.14.1-1.fc43
store-results-to/tmp/tmp28menzlw/netavark-1.14.1-1.fc43.tar.xz
time-created2025-04-25 14:39:34
time-finished2025-04-25 14:45:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp28menzlw/netavark-1.14.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp28menzlw/netavark-1.14.1-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9