rust-lang / rust-lang/rustup

Thread pool panic "Resource temporarily unavailable"

Open
#4,134 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Verification
Problem

When running the installer on https://rustup.rs/, and entering 1 for default options, rustup panics while downloading stuff.

thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/threadpool-1.8.1/src/lib.rs:777:10:
called `Result::unwrap()` on an `Err` value: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }
Steps
  1. Run curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Choose 1) Proceed with standard installation (default - just press enter)
  3. Rustup panics roughly when it starts downloading cargo. rustup-backtrace.txt
Possible Solution(s)

No response

Notes

No response

Rustup version
[ Rustup does not succesfully install. ]
Installed toolchains
[ Rustup does not succesfully install. ]
OS version
Debian 10 (buster), x86_64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached rustup-backtrace.txt and the installer path reached after selecting the standard installation option. Investigate the threadpool-1.8.1 panic and its EAGAIN error on Debian 10; done means the installer completes without this panic.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.