-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustup 1.24.1 fails to install Rust 1.38.0 on Windows in Travis CI due to failure to allocate memory #2748
Comments
Same issue on GitHub Actions C:\Rust\.cargo\bin\rustup.exe default nightly
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
info: latest update on 2021-05-04, rust version 1.54.0-nightly (716394d65 2021-05-03)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: using up to 500.0 MiB of RAM to unpack components
info: installing component 'rust-std'
info: installing component 'rustc'
memory allocation of 16777216 bytes failed
Error: The process 'C:\Rust\.cargo\bin\rustup.exe' failed with exit code 3221226505 |
Diagnosis by Daniel. Code by Robert.
Diagnosis by Daniel. Code by Robert.
Yes!, this seems to be the same issue I observed yesterday. From #2717 (comment):
|
Diagnosis by Daniel. Code by Robert.
Fixes #2748 by filling the streaming buffers fully
I think we'll have to look to a 1.24.2 after the Rust release (so perhaps next week) |
The next version of rustup will solve this issue (rust-lang/rustup#2748).
Diagnosis by Daniel. Code by Robert.
Problem
rustup
1.24.1 fails to install Rust 1.38.0 on Windows in Travis CI due to failure to allocate memory. Interestingly installing Rust 1.51.1 with this version ofrustup
does succeed. Here's an example log:Installing Rust 1.38.0 in this environment works with
rustup
1.23.1.Steps
Possible Solution(s)
Pinning
rustup
to 1.23.1 successfully installs Rust 1.38.0.Notes
Output of
rustup --version
:Output of
rustup show
:The text was updated successfully, but these errors were encountered: