Rust has crashed during updating (low disk spase)

Now I have enough disk space

rustc --version
error: binary, normally provided by the 'rustc' component, is not applicable to the 'stable-x86_6IJ-pc-windows—msvc' toolchain

My logs
(witch older logs) :

info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2022-12-15, rust version 1.66.0 (69f9c33d7 2022-12-12)
info: downloading component 'rust-std' for 'wasm32-unknown-emscripten'
info: downloading component 'rust-std' for 'asmjs-unknown-emscripten'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-emscripten'
info: removing previous version of component 'rust-std' for 'asmjs-unknown-emscripten'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'rust-std' for 'wasm32-unknown-emscripten'
info: installing component 'rust-std' for 'asmjs-unknown-emscripten'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-src'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
info: checking for self-updates
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2023-01-26, rust version 1.67.0 (fc594f156 2023-01-24)
info: downloading component 'rust-std' for 'wasm32-unknown-emscripten'
info: downloading component 'rust-std' for 'asmjs-unknown-emscripten'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-emscripten'
info: removing previous version of component 'rust-std' for 'asmjs-unknown-emscripten'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'rust-std' for 'wasm32-unknown-emscripten'
info: installing component 'rust-std' for 'asmjs-unknown-emscripten'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-src'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
info: checking for self-updates
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
warning: Signature verification failed for 'https://static.rust-lang.org/dist/channel-rust-stable.toml'
info: latest update on 2023-02-09, rust version 1.67.1 (d5a82bbd2 2023-02-07)
info: downloading component 'rust-std' for 'wasm32-unknown-emscripten'
info: downloading component 'rust-std' for 'asmjs-unknown-emscripten'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-emscripten'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-std' for 'asmjs-unknown-emscripten'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-src'
warning: during uninstall component rust-src was not found
info: removing previous version of component 'cargo'
warning: during uninstall component cargo was not found
info: removing previous version of component 'clippy'
warning: during uninstall component clippy was not found
info: removing previous version of component 'rust-docs'
warning: during uninstall component rust-docs was not found
info: removing previous version of component 'rust-std'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rustc'
warning: during uninstall component rustc was not found
info: removing previous version of component 'rustfmt'
warning: during uninstall component rustfmt was not found
info: installing component 'rust-std' for 'wasm32-unknown-emscripten'
info: installing component 'rust-std' for 'asmjs-unknown-emscripten'
info: rolling back changes
error: failed to extract package (perhaps you ran out of disk space?): Недостаточно места на диске. (os error 112)
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
warning: Signature verification failed for 'https://static.rust-lang.org/dist/channel-rust-stable.toml'
info: latest update on 2023-02-09, rust version 1.67.1 (d5a82bbd2 2023-02-07)
info: downloading component 'rust-std' for 'wasm32-unknown-emscripten'
info: downloading component 'rust-std' for 'asmjs-unknown-emscripten'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-emscripten'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-std' for 'asmjs-unknown-emscripten'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-src'
warning: during uninstall component rust-src was not found
info: removing previous version of component 'cargo'
warning: during uninstall component cargo was not found
info: removing previous version of component 'clippy'
warning: during uninstall component clippy was not found
info: removing previous version of component 'rust-docs'
warning: during uninstall component rust-docs was not found
info: removing previous version of component 'rust-std'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rustc'
warning: during uninstall component rustc was not found
info: removing previous version of component 'rustfmt'
warning: during uninstall component rustfmt was not found
info: installing component 'rust-std' for 'wasm32-unknown-emscripten'
info: installing component 'rust-std' for 'asmjs-unknown-emscripten'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-src'
info: installing component 'cargo'
info: rolling back changes
error: failed to install component: 'cargo-x86_64-pc-windows-msvc', detected conflict: 'lib/rustlib\manifest-cargo-x86_64-pc-windows-msvc'


Thu 2.03.2023 19:28:53

info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
warning: Signature verification failed for 'https://static.rust-lang.org/dist/channel-rust-stable.toml'
info: latest update on 2023-02-09, rust version 1.67.1 (d5a82bbd2 2023-02-07)
info: downloading component 'rust-std' for 'wasm32-unknown-emscripten'
info: downloading component 'rust-std' for 'asmjs-unknown-emscripten'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-emscripten'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-std' for 'asmjs-unknown-emscripten'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rust-src'
warning: during uninstall component rust-src was not found
info: removing previous version of component 'cargo'
warning: during uninstall component cargo was not found
info: removing previous version of component 'clippy'
warning: during uninstall component clippy was not found
info: removing previous version of component 'rust-docs'
warning: during uninstall component rust-docs was not found
info: removing previous version of component 'rust-std'
warning: during uninstall component rust-std was not found
info: removing previous version of component 'rustc'
warning: during uninstall component rustc was not found
info: removing previous version of component 'rustfmt'
warning: during uninstall component rustfmt was not found
info: installing component 'rust-std' for 'wasm32-unknown-emscripten'
info: installing component 'rust-std' for 'asmjs-unknown-emscripten'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-src'
info: installing component 'cargo'
info: rolling back changes
error: failed to install component: 'cargo-x86_64-pc-windows-msvc', detected conflict: 'lib/rustlib\manifest-cargo-x86_64-pc-windows-msvc'

What's your question?

  1. How to get rust work, to restore it?

  2. Why do I get that error when I try execute:

rustc --version

error: binary, normally provided by the 'rustc' component, is not applicable to the 'stable-x86_6IJ-pc-windows—msvc' toolchain

  1. Why do I get error when I try execute rust updating:
rustup update stable 

....
info: rolling back changes
error: failed to install component: 'cargo-x86_64-pc-windows-msvc', detected conflict: 'lib/rustlib\manifest-cargo-x86_64-pc-windows-msvc'

  1. etc... (all my questions in my first post )

YouChat has helped me

rustup update stable
. . .
info: installing component 'cargo'
info: rolling back changes
error: failed to install component: 'cargo-x86_64-pc-windows-msvc', detected conflict: 'lib/rustlib\manifest-cargo-x86_64-pc-windows-msvc'

The error message you provided indicates that there is a conflict when trying to install the cargo-x86_64-pc-windows-msvc component, resulting in a rollback of changes. Here are a few potential solutions:

  1. Uninstall Rust: Use the command rustup self uninstall to fully uninstall Rust, then try reinstalling it from scratch.
  2. Clear cache: Try clearing Rust's cache by running rustup self clean all, then try installing the cargo component again.
  3. Remove conflicting files manually: If Rust is still having trouble with the conflicting lib/rustlib\manifest-cargo-x86_64-pc-windows-msvc file, you can try deleting it manually and then running rustup update again.

If none of these solutions work, you may need to provide more information about the specific error message you're seeing, the steps you've taken so far to try to fix it, and any other relevant information.

Is that good news or bad news ?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.