rustsec/audit-check

Unexpected token  in JSON at position 0

Opened this issue · 0 comments

I've noticed that occasionally, this action will fail but re-running seems to result in success:

Failure: 
https://github.com/microsoft/windows-drivers-rs/actions/runs/7647254535/job/20837787535?pr=78

Success:
https://github.com/microsoft/windows-drivers-rs/actions/runs/7647254535/job/20837822606?pr=78

Error:

Calling cargo-audit (JSON output)
  C:\Users\runneradmin\.cargo\bin\cargo.exe audit --json
  2024-01-24T22:51:25.296515Z  WARN hyper::client::connect::http: tcp set_nodelay error: An invalid argument was supplied. (os error 10022)
  2024-01-24T22:51:25.300736Z  WARN hyper::client::connect::http: tcp set_nodelay error: An invalid argument was supplied. (os error 10022)
  {"database":{"advisory-count":595,"last-commit":"1d2202ea2b32fabd3307641010301bfe1[8](https://github.com/microsoft/windows-drivers-rs/actions/runs/7647254535/job/20837787535?pr=78#step:3:9)7ef11a","last-updated":"2024-01-24T17:00:4[9](https://github.com/microsoft/windows-drivers-rs/actions/runs/7647254535/job/20837787535?pr=78#step:3:10)Z"},"lockfile":{"dependency-count":1[10](https://github.com/microsoft/windows-drivers-rs/actions/runs/7647254535/job/20837787535?pr=78#step:3:11)},"settings":{"target_arch":null,"target_os":null,"severity":null,"ignore":[],"informational_warnings":["unmaintained","unsound","notice"]},"vulnerabilities":{"found":false,"count":0,"list":[]},"warnings":{}}
Error: Unexpected token � in JSON at position 0