rust-lang / rls

Repository for the Rust Language Server (aka RLS)
Other
3.53k stars 257 forks source link

stable-x86_64-apple-darwin update failed #1777

Closed surferjeff closed 2 years ago

surferjeff commented 2 years ago

I haven't touched my rust installation in nearly 2 years. Now, rustup fails:

jeff@MacBook-Pro ~ % rustup update
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: latest update on 2022-05-19, rust version 1.61.0 (fe5b13d68 2022-05-18)
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
 16.9 MiB /  16.9 MiB (100 %)  10.9 MiB/s in  1s ETA:  0s
info: downloading component 'rls'
info: downloading component 'rust-src'
info: downloading component 'rust-analysis'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 19.6 MiB /  19.6 MiB (100 %)  10.9 MiB/s in  1s ETA:  0s
info: downloading component 'rust-std'
 25.5 MiB /  25.5 MiB (100 %)  10.9 MiB/s in  2s ETA:  0s
info: downloading component 'rustc'
 53.9 MiB /  53.9 MiB (100 %)  10.4 MiB/s in  5s ETA:  0s
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
info: removing previous version of component 'rls'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'rust-analysis'
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-unknown'
 16.9 MiB /  16.9 MiB (100 %)  12.6 MiB/s in  1s ETA:  0s
info: installing component 'rls'
info: installing component 'rust-src'
info: rolling back changes
error: could not rename component file from '/Users/jeff/.rustup/tmp/wu9ue953iarn2q14_dir/bk' to '/Users/jeff/.rustup/toolchains/stable-x86_64-apple-darwin/share'
error: could not rename component file from '/Users/jeff/.rustup/tmp/uvma04mfkdyilij9_dir/bk' to '/Users/jeff/.rustup/toolchains/stable-x86_64-apple-darwin/share/doc'
error: could not rename component file from '/Users/jeff/.rustup/tmp/ru7aoffmuodhhrca_dir/bk' to '/Users/jeff/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-unknown'
error: could not create component directory: '/Users/jeff/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/alloc'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: checking for self-updates

  stable-x86_64-apple-darwin update failed - rustc 1.46.0 (04488afe3 2020-08-24)
     nightly-x86_64-apple-darwin unchanged - rustc 1.63.0-nightly (1fede1753 2022-05-28)

info: cleaning up downloads & tmp directories
jeff@MacBook-Pro ~ % ls /Users/jeff/.rustup/toolchains/stable-x86_64-apple-darwin/share
doc man zsh
jeff@MacBook-Pro ~ % cargo -V
cargo 1.46.0 (149022b1d 2020-07-17)
jeff@MacBook-Pro ~ % 
calebcartwright commented 2 years ago

This doesn't seem like an rls issue to me. Would advise reaching out to the rustup team either at https://github.com/rust-lang/rustup or on their Discord channel

surferjeff commented 2 years ago

This doesn't seem like an rls issue to me. Would advise reaching out to the rustup team either at https://github.com/rust-lang/rustup or on their Discord channel

Thanks. I reported an issue at rust-lang/rustup.