trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.9k stars 79 forks source link

Fail CI on Clippy warnings #764

Closed pohlm01 closed 1 year ago

pohlm01 commented 1 year ago

Closes #482

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.02% :warning:

Comparison is base (b5eb2c6) 55.29% compared to head (7e700ab) 55.28%.

:exclamation: Current head 7e700ab differs from pull request most recent head dc17cac. Consider uploading reports for the commit dc17cac to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #764 +/- ## ========================================== - Coverage 55.29% 55.28% -0.02% ========================================== Files 72 72 Lines 9834 9834 ========================================== - Hits 5438 5437 -1 - Misses 4396 4397 +1 ``` | [Files Changed](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/764?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety) | Coverage Δ | | |---|---|---| | [src/common/context.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/764?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL2NvbW1vbi9jb250ZXh0LnJz) | `84.09% <ø> (ø)` | | | [src/exec/event.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/764?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL2V4ZWMvZXZlbnQucnM=) | `0.00% <ø> (ø)` | | | [src/sudoers/ast.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/764?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvYXN0LnJz) | `82.76% <ø> (ø)` | | | [src/sudoers/policy.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/764?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvcG9saWN5LnJz) | `77.17% <ø> (ø)` | | | [src/sudoers/tokens.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/764?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvdG9rZW5zLnJz) | `96.42% <ø> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/764/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.