Skip to content

Commit c55b3bc

Browse files
authored
Downgrade curl-sys to 0.4.83 (#16379)
With version 0.4.84, cargo was failing on FreeBSD 13.5 and 14.3 every time, with errors like this: ``` Updating crates.io index error: failed to get `futures` as a dependency of package `tokio-file v0.11.0 (/tmp/cirrus-ci-build)` Caused by: download of config.json failed Caused by: failed to download from `https://index.crates.io/config.json` Caused by: [60] SSL peer certificate or SSH remote key was not OK (SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)) ``` Fixes #16357 _Thanks for the pull request 🎉!_ _Please read the contribution guide: <https://doc.crates.io/contrib/>._ ### What does this PR try to resolve? _Explain the motivation behind this change._ _A clear overview along with an in-depth explanation are helpful._ ### How to test and review this PR? _Demonstrate how you test this change and guide reviewers through your PR._ _With a smooth review process, a pull request usually gets reviewed quicker._
2 parents 608fd7e + 389962f commit c55b3bc

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/renovate.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
ignorePaths: [
99
'**/tests/**',
1010
],
11+
// Ignore curl-sys, for now
12+
// https://github.com/rust-lang/cargo/issues/16357
13+
ignoreDeps: ['curl-sys'],
1114
customManagers: [
1215
{
1316
customType: 'regex',

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ core-foundation = { version = "0.10.1", features = ["mac_os_10_7_support"] }
4343
crates-io = { version = "0.40.16", path = "crates/crates-io" }
4444
criterion = { version = "0.7.0", features = ["html_reports"] }
4545
curl = "0.4.49"
46-
curl-sys = "0.4.84"
46+
# Do not upgrade curl-sys past 0.4.83
47+
# https://github.com/rust-lang/cargo/issues/16357
48+
curl-sys = "0.4.83"
4749
filetime = "0.2.26"
4850
flate2 = { version = "1.1.5", default-features = false, features = ["zlib-rs"] }
4951
git2 = "0.20.2"

0 commit comments

Comments
 (0)