You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to set the default Rust toolchain using rustup default stable, the process fails with the error message "killed". This occurs on a fresh Ubuntu 22.04.5 LTS installation on AWS Lightsail.
Error Message
rustup default stable
info: using existing install for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2025-03-18, rust version 1.85.1 (4eb161250 2025-03-15)
info: downloading component 'rustc'
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rust-docs'
info: downloading component 'rustfmt'
info: downloading component 'clippy'
info: removing previous version of component 'rustc'
warn: during uninstall component rustc was not found
info: removing previous version of component 'cargo'
warn: during uninstall component cargo was not found
info: removing previous version of component 'rust-std'
warn: during uninstall component rust-std was not found
info: removing previous version of component 'rust-docs'
warn: during uninstall component rust-docs was not found
info: removing previous version of component 'rustfmt'
warn: during uninstall component rustfmt was not found
info: removing previous version of component 'clippy'
warn: during uninstall component clippy was not found
info: installing component 'rustc'
Killed
Steps
Steps to Reproduce
Installed rustup using the standard curl script: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Selected option 1 (default installation)
Ran source "$HOME/.cargo/env" to configure the environment
Attempted to set default toolchain with rustup default stable
Possible Solution(s)
No response
Notes
The installation appears to download components but fails during configuration
No Rust executables are functional after installation (cargo and rustc commands fail)
...
error: Missing manifest in toolchain 'stable-x86_64-unknown-linux-gnu'```
- The error persists across multiple installation attempts and system reboots
- The system had a previous apt-installed version of Rust that was removed before installing rustup
### Rustup version
```console
rustup --version
rustup 1.28.1 (f9edccde0 2025-03-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `(error reading rustc version)`
Sorry I am pretty sure this happened because I didn't set up any swap space and my process was running out of memory. I'll test again soon to confirm and probably just close this ticket.
Verification
Problem
Rustup Bug Report Summary
Issue Description
When attempting to set the default Rust toolchain using
rustup default stable
, the process fails with the error message "killed". This occurs on a fresh Ubuntu 22.04.5 LTS installation on AWS Lightsail.Error Message
Steps
Steps to Reproduce
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
to configure the environmentrustup default stable
Possible Solution(s)
No response
Notes
cargo
andrustc
commands fail)Installed toolchains
OS version
The text was updated successfully, but these errors were encountered: