Skip to content

Flag another curl error as possibly spurious#9695

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:flaky
Jul 16, 2021
Merged

Flag another curl error as possibly spurious#9695
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:flaky

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

@rust-highfive

Copy link
Copy Markdown

r? @Eh2406

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 15, 2021
@ehuss

ehuss commented Jul 15, 2021

Copy link
Copy Markdown
Contributor

Do you have any sense why this would start occurring? Is it certain this is related to the update to curl-sys?

@alexcrichton

Copy link
Copy Markdown
Member Author

No idea myself unfortunately, although it does seems highly related. Not that I know why :(

@alexcrichton

Copy link
Copy Markdown
Member Author

Ok I debugged some more, and I think we still want to land this to help mitigate the impact on nightly in the short-term ideally.

@ehuss

ehuss commented Jul 16, 2021

Copy link
Copy Markdown
Contributor

Ok, sounds good. I haven't tested this myself, but I'll assume it will help. I'll try to push it out to nightly quickly.

@bors r+

@bors

bors commented Jul 16, 2021

Copy link
Copy Markdown
Contributor

📌 Commit 5d7a2b8 has been approved by ehuss

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 16, 2021
@bors

bors commented Jul 16, 2021

Copy link
Copy Markdown
Contributor

⌛ Testing commit 5d7a2b8 with merge 27277d9...

@bors

bors commented Jul 16, 2021

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: ehuss
Pushing 27277d9 to master...

@bors bors merged commit 27277d9 into rust-lang:master Jul 16, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 16, 2021
Update cargo

6 commits in 66a6737a0c9f3a974af2dd032a65d3e409c77aac..27277d966b3cfa454d6dea7f724cb961c036251c
2021-07-14 20:54:28 +0000 to 2021-07-16 00:50:39 +0000
- Flag another curl error as possibly spurious (rust-lang/cargo#9695)
- Add `d` as an alias for `doc` (rust-lang/cargo#9680)
- `cargo fix --edition`: extend warning when on latest edition (rust-lang/cargo#9694)
- Update env_logger requirement from 0.8.1 to 0.9.0 (rust-lang/cargo#9688)
- Document cargo limitation w/ workspaces & configs (rust-lang/cargo#9674)
- Change some warnings to errors (rust-lang/cargo#9689)
@Logarithmus

Copy link
Copy Markdown

@ehuss @alexcrichton will this fix be included in rust 1.54? Or we'll have to wait for another 6 weeks for 1.55?

@ehuss

ehuss commented Jul 27, 2021

Copy link
Copy Markdown
Contributor

It shouldn't be necessary for 1.54, as the regression (rust-lang/rust#86874) was introduced in 1.55. Are you seeing problems with 1.54?

@Logarithmus

Logarithmus commented Aug 1, 2021

Copy link
Copy Markdown

It shouldn't be necessary for 1.54, as the regression (rust-lang/rust#86874) was introduced in 1.55. Are you seeing problems with 1.54?

We at Void Linux see this issue in cargo 0.54.0 (rust 1.53). Will updating to 1.54.0 help?
https://github.com/void-linux/void-packages/pull/29756/checks?check_run_id=3167301912#step:8:256

error: failed to download from `https://crates.io/api/v1/crates/arrayref/0.3.6/download`

Caused by:
  [55] Failed sending data to the peer (Connection died, tried 5 times before giving up)

@ehuss

ehuss commented Aug 1, 2021

Copy link
Copy Markdown
Contributor

Are you using a custom build of Cargo using a different version of libcurl? If so, what is the exact version?

@Logarithmus

Logarithmus commented Aug 1, 2021 via email

Copy link
Copy Markdown

@ehuss

ehuss commented Aug 1, 2021

Copy link
Copy Markdown
Contributor

Ah. I believe you will need to revert to curl 7.76, or wait for Rust 1.55.

@Logarithmus

Logarithmus commented Aug 1, 2021

Copy link
Copy Markdown

Ah. I believe you will need to revert to curl 7.76, or wait for Rust 1.55.

Most likely we won't revert our curl because of possible CVE fixes between those 2 releases. Maybe we will patch out the part which causes issues.

iMichka added a commit to iMichka/homebrew-core that referenced this pull request Aug 27, 2021
BrewTestBot pushed a commit to Homebrew/homebrew-core that referenced this pull request Aug 27, 2021
See
rust-lang/cargo#9695

Closes #83977.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
@ehuss ehuss added this to the 1.55.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants