EmbarkStudios / cargo-deny

❌ Cargo plugin for linting your dependencies 🦀

Home Page:http://embark.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: check advisories: error trying to connect: invalid URL, scheme is not http

jayvdb opened this issue · comments

Describe the bug

On our Github Actions CI we see the following on 0.14.2

> cargo deny check advisories
Error: -09 03:18:02 [ERROR] failed to fetch advisory database https://github.com/RustSec/advisory-db: An IO error occurred when talking to the server: error sending request for url (https://github.com/RustSec/advisory-db/info/refs?service=git-upload-pack): error trying to connect: invalid URL, scheme is not http

It was running ok for v0.14.1.

I cant reproduce it locally.

To reproduce

I havent had time to create an isolated github action run which doesnt include our custom steps. I will have time to work on it later this week.

cargo-deny version

0.14.2

What OS were you running cargo-deny on?

Linux

Additional context

No response

This was resolved by adding feature "reqwest/rustls-tls-webpki-roots"