Cargo deny not working
Versions:
- cargo deny: 0.14.3
- cargo sonar 1.2.0
Tested file:
- Command for generate file
cargo deny --format json check 2> deny.json
- Command for test
cargo sonar --deny
- Result (I truncated content of the file in log)
2024-01-18T11:03:36.224337Z WARN cargo_sonar::deny: failed to deserialize '{"advisory":{"aliases":[],"categories":["denial-of-service"]......],"severity":"error"}': data did not match any variant of untagged enum Report
2024-01-18T11:03:36.224508Z WARN cargo_sonar::deny: failed to deserialize '{"advisory":{"aliases":[],"categories":["denial-of-service"],.... "Solution: Upgrade to ^0.3.24 OR >=0.4.2 (try `cargo update -p h2`)"],"severity":"error"}': data did not match any variant of untagged enum Report
....
2024-01-18T11:03:36.224702Z WARN cargo_sonar::deny: failed to deserialize '{"advisories":{"errors":3,"helps":0,"notes":0,"warnings":0},"bans":{"errors":0,"helps":0,"notes":0,"warnings":0},"licenses":{"errors":0,"helps":423,"notes":8,"warnings":0},"sources":{"errors":0,"helps":0,"notes":2,"warnings":0}}': data did not match any variant of untagged enum Report
2024-01-18T11:03:36.224814Z INFO cargo_sonar: 0 sonar issues created