Skip to content

Cargo audit doesn't report all issues without --deny warnings #648

@martin-t

Description

@martin-t

Example: https://github.com/quininer/x11-clipboard on commit 54096beb:

  • cargo audit doesn't report any issues
  • cargo audit --deny warnings reports error: 1 denied warning found! - a soundness issue

This often results in the awkward situation that i run audit locally, see no issues and push but later get an email about failing CI (because i deny warns on CI).

I think this is a bug but I've run into this many times yet haven't seen anybody else complain about it so maybe it's intentional? I don't see any benefit to doing this and I think hiding issues from devs by default is a bad idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions