Skip to content

Corrupt /missing manifests lead to installation conflicts #2417

Closed as duplicate

Description

@rbtcollins

The rustup installation system has a transactional system that is only partially transactional.

It isn't concurrent operation safe (see #988 ), but it also isn't able to recover from lost writes to the components file for other reasons such as IO errors or crashes of rustup itself.

These failures show up as conflicts during the next install - e.g.

error: failed to install component: 'rustc-x86_64-apple-darwin', detected conflict: '"lib/rustlib/etc/gdb_load_rust_pretty_printers.py"'

The solution is to remove the entire toolchain and reinstall it with all the desired components. There is no need to uninstall all of rustup, but there is also no lesser solution.

We do not yet have a design for solving this systematically, but see #988 for solving the concurrent-operation safety aspect, which is the most common cause of problems (e.g. for users of IDEs and CI systems that do not serialise their operations internally). We are considering an eventually-consistent model which would address this, but work has not yet started on it.

Activity

  1. jsejcksn commented on Jun 18, 2021

    @jsejcksn

    Adding some additional strings from the console output in order to improve SEO on this issue and help other users discover it:

    info: rolling back changes
    error: could not rename component file from
    update failed

  2. mark-summerfield commented on Feb 25, 2022

    @mark-summerfield

    I had this problem trying to upgrade from 1.58.1 to 1.59.0 on Windows 7-64-bit msvc toolchain inside a VirtualBox. Deleting toolchains didn't work. My solution was to run 'rustup self uninstall' and then manually deleted the .rustup folder (since rustup couldn't do that) and then downloaded rustup-init.exe and that worked fine.

  3. aminya commented on Aug 27, 2022

    @aminya

    I am having the same issue in GitHub Actions. How does this gets corrupted in a clean system? Is it because of concurrency?

  4. added this to the On Deck milestone on Feb 20, 2024
  5. taqtiqa-mark commented on Mar 5, 2025

    @taqtiqa-mark

    rustup toolchain uninstall stable && rustup toolchain install stable, replacing stable with the toolchain name that errored for you.

  6. ianthetechie commented on Apr 4, 2025

    @ianthetechie

    Dropping a quick note here to say that I hit an issue that looks very similar to this. I'm not sure if it's the same one or not. Today I was trying a routine rustup update from 1.85.1 to 1.86 on my Apple Silicon MBP and ran into this message. Here's the full log:

    Rustup log
    ~> rustup update
    info: syncing channel updates for 'stable-aarch64-apple-darwin'
    info: latest update on 2025-04-03, rust version 1.86.0 (05f9846f8 2025-03-31)
    info: downloading component 'rust-std' for 'wasm32-wasip2'
    info: downloading component 'rust-std' for 'wasm32-wasip1'
    info: downloading component 'clippy'
    info: downloading component 'rust-std'
    info: downloading component 'rust-std' for 'aarch64-apple-ios'
    info: downloading component 'rust-std' for 'aarch64-apple-ios-sim'
    info: downloading component 'rust-std' for 'aarch64-linux-android'
    info: downloading component 'rust-std' for 'armv7-linux-androideabi'
    info: downloading component 'rust-std' for 'i686-linux-android'
    info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
    info: downloading component 'rust-std' for 'x86_64-apple-darwin'
    info: downloading component 'rust-std' for 'x86_64-apple-ios'
    info: downloading component 'rust-std' for 'x86_64-linux-android'
    info: downloading component 'rust-std' for 'x86_64-pc-windows-gnu'
    info: downloading component 'rust-std' for 'x86_64-pc-windows-msvc'
    info: downloading component 'rust-std' for 'x86_64-unknown-linux-gnu'
    info: downloading component 'rustfmt'
    info: downloading component 'rust-src'
    info: downloading component 'cargo'
    info: downloading component 'rust-docs'
    info: downloading component 'rustc'
    info: removing previous version of component 'rust-std' for 'wasm32-wasip2'
    info: removing previous version of component 'rust-std' for 'wasm32-wasip1'
    info: removing previous version of component 'clippy'
    info: removing previous version of component 'rust-std'
    info: removing previous version of component 'rust-std' for 'aarch64-apple-ios'
    info: removing previous version of component 'rust-std' for 'aarch64-apple-ios-sim'
    info: removing previous version of component 'rust-std' for 'aarch64-linux-android'
    info: removing previous version of component 'rust-std' for 'armv7-linux-androideabi'
    info: removing previous version of component 'rust-std' for 'i686-linux-android'
    info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
    info: removing previous version of component 'rust-std' for 'x86_64-apple-darwin'
    info: removing previous version of component 'rust-std' for 'x86_64-apple-ios'
    info: removing previous version of component 'rust-std' for 'x86_64-linux-android'
    info: removing previous version of component 'rust-std' for 'x86_64-pc-windows-gnu'
    info: removing previous version of component 'rust-std' for 'x86_64-pc-windows-msvc'
    info: removing previous version of component 'rust-std' for 'x86_64-unknown-linux-gnu'
    info: removing previous version of component 'rustfmt'
    info: removing previous version of component 'rust-src'
    info: removing previous version of component 'cargo'
    info: removing previous version of component 'rust-docs'
    warn: during uninstall component rust-docs was not found
    info: removing previous version of component 'rustc'
    warn: during uninstall component rustc was not found
    info: installing component 'rust-std' for 'wasm32-wasip2'
     20.8 MiB /  20.8 MiB (100 %)  18.8 MiB/s in  1s
    info: installing component 'rust-std' for 'wasm32-wasip1'
     20.6 MiB /  20.6 MiB (100 %)  19.0 MiB/s in  1s
    info: installing component 'clippy'
    info: installing component 'rust-std'
     26.6 MiB /  26.6 MiB (100 %)  19.2 MiB/s in  1s
    info: installing component 'rust-std' for 'aarch64-apple-ios'
     23.6 MiB /  23.6 MiB (100 %)  18.7 MiB/s in  1s
    info: installing component 'rust-std' for 'aarch64-apple-ios-sim'
     26.1 MiB /  26.1 MiB (100 %)  18.7 MiB/s in  1s
    info: installing component 'rust-std' for 'aarch64-linux-android'
     23.9 MiB /  23.9 MiB (100 %)  18.7 MiB/s in  1s
    info: installing component 'rust-std' for 'armv7-linux-androideabi'
     23.1 MiB /  23.1 MiB (100 %)  18.7 MiB/s in  1s
    info: installing component 'rust-std' for 'i686-linux-android'
     24.7 MiB /  24.7 MiB (100 %)  17.9 MiB/s in  1s
    info: installing component 'rust-std' for 'wasm32-unknown-unknown'
     19.7 MiB /  19.7 MiB (100 %)  18.5 MiB/s in  1s
    info: installing component 'rust-std' for 'x86_64-apple-darwin'
     25.9 MiB /  25.9 MiB (100 %)  16.8 MiB/s in  1s
    info: installing component 'rust-std' for 'x86_64-apple-ios'
     25.2 MiB /  25.2 MiB (100 %)  17.5 MiB/s in  1s
    info: installing component 'rust-std' for 'x86_64-linux-android'
     27.6 MiB /  27.6 MiB (100 %)  18.8 MiB/s in  1s
    info: installing component 'rust-std' for 'x86_64-pc-windows-gnu'
     26.9 MiB /  26.9 MiB (100 %)  18.9 MiB/s in  1s
    info: installing component 'rust-std' for 'x86_64-pc-windows-msvc'
     22.6 MiB /  22.6 MiB (100 %)  18.8 MiB/s in  1s
    info: installing component 'rust-std' for 'x86_64-unknown-linux-gnu'
     27.1 MiB /  27.1 MiB (100 %)  17.5 MiB/s in  1s
    info: installing component 'rustfmt'
    info: installing component 'rust-src'
    info: installing component 'cargo'
    info: installing component 'rust-docs'
     21.3 MiB /  21.3 MiB (100 %)   4.7 MiB/s in  3s
    info: rolling back changes
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/0w3ryp_dfem2_khe_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/share/zsh'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/jx3qhxi9jkf8pvs7_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/etc'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/51khx1o6blkodruo_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/5y6z70wwm08zx4rb_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/mg65lumgnmdifqkj_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sync'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/8xq97pb97k80ogoy_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/panic_unwind'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/ikm9hzkx_w91q4mw_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/test/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/gw7ol93rubpbglmi_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/k983rv4zyzt0cep__dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/hermit'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/ajwtbe35q_ar_v4j_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/_xrl0xe3948m39i7_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/7i313c9fggc3g9o9_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/unix'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/7dr0nqh6quatbgw5_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/unix/linux'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/cq112pjw1ollvrjm_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1qd9ugbfjj9m4zct_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/ci'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/18n77bl0cjl783u8_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/ci/docker'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/ow5hgxq03muow_xr_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/xous'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/rwau9fsecdw7b0j7_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/personality'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/lqukhymy4oaugp57_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/odh4i5xcwss3v54u_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/core_arch'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/4ead5vfhfq7u28gp_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/i226wa158af7fx3h_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/_a6w128z261tl8fi_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace/tests'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/hq86a6y0xqrcz_mx_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/vxh3goa7gx06f3mm_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1682i5193gxp6qg__dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace/ci'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/oz35q4wz_dz2kfll_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace/ci/docker'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/dbn59lvub6bp43b8_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/io'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/9jpmerw9e75vmc9n_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/io/buffered'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/3rtgo0jnqvsv87wg_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/2o2k0yw_msifaela_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/tw_7g_588_i8zo_f_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1x4fw22r03pt1kmd_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/src/llvm-project'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1f1ft6kcz4ocsjgl_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/src/llvm-project/libunwind'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/shu7aruaz418iy4y_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/src/llvm-project/libunwind/include'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/9qegptkeala56g81_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/7_77y5gh6xw0gyik_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/windows'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/fo_ndpi90mk_oxqn_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/tests'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/2h8a642jy1_4x_t7_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/xous/os'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/8db91l_cwgvush55_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/collections'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/dvrpsuy0cj4y1h6h_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/collections/btree'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1gtx6h0ens3d_77x_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/sysroot'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/_se10o1lbzhedima_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/num'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/qb3v_0c1psc73f8b_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/num/flt2dec'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/tdeuihd5mbtj_nd0_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/std_detect'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/c0maahv4lvi_uprc_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/oh1w60a6j4_35p0f_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src/detect'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/fv9d9muye0ehl0ch_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/sync'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/rbz74b6t15jra6bs_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/ezjqm0lqkxasyi_k_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/crates'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/ky2d8s5wg2pkx8ug_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/crates/core_simd'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/lzp4n0nx4gg22uga_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/id0f9n0gyrywmps2_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/net'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/bov7wmppt4zc0kvs_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/rrrmgrvop4am5u1g_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/sort'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/jic2gd3eu48e80f7_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys_common'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/unqldlha6gh_7wf5_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/simd-test-macro'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/6cz1dg49fryfe6hm_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace/.github'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/gaiwqq_58w4ikyuk_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace/.github/actions'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/u9nuge8138skpdqm_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/os_str'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/w0m2z6mxxlgq5as1_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/.github'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/soz4u_qh4vm3nryb_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/loongarch64'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/hym80lk0ng26bdda_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/a_371ga4pcn3gyha_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/test/src/term'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/316c7gape8c6qff2_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/test/src/term/terminfo'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/c0ax44dyuk818c9j_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/test/src/term/terminfo/parser'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/wxena2hdj7uwxv_f_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/sgx'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/pmjzqq43b88_4jxa_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/3t10odnhrbbewk7a_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/x4spwpvb_8k90gzo_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/collections'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/chocrnjh39tnas8k_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/collections/hash'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/xxhffl4ub0j3rk7n_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/thread_local'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/bp1j8aqtd_01qv2r_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/80nyukld72emrj69_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/proc_macro/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/rxoffkm4rwo6om4c_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/ffi'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/ycloj3pafuk7oql9_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/auatb13n16a7kn49_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src/detect/os'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/b3gcw_8vm95oxwq8_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/windows'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/e9pzii9916yit3c__dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/windows_targets'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/mps26je3s25zcg2m_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/wasm'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/h1oebz93n2i48ymd_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/assert-instr-macro'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/x7ob0ztxlbsj1zjz_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/unwind'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/vdkodpffae8d7vj9_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/benches'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/qtmitndzdwkm5cqu_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace/src'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/4o8aewhf99ywjqzv_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/unix'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/3cznh6emo9ekdjz9_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/net'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/46qkt7m460b_46sw_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/tests'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/abqlk2wx1a80i9hi_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/wasi'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/4voqphqid6u7s0f3_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/zcjkhz5fqsb88j1q_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/52bzelo5qco808rr_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/stdarch-gen-loongarch'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/f6w54zcsqzae0kkq_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/dy1hpqt6uc11fheu_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/path'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1a61qy5w4oo_infe_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/alloc'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1i73vimvy6ser6bu_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/stdarch-test'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/3ker8zwxji6wnfaj_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/xous'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/kg1xkz4ivde1krsz_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/xous/ffi'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/3o3o228j2jmyr5ir_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/src/llvm-project/libunwind/test'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/0f0ps27ovwh2gh3b_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/tests'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/kfvbjio9cc5w8z6v_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/crates/std_float'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/nsi9nylkj_07uyqs_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/itron'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/pxvcxd0c4tg_fphd_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/panic_abort'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/k1x1rwnrbjxjz05k_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/benches'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1hy65rpddyf683ph_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/.github'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/1vb2pqo59i9s_1la_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/portable-simd/crates/test_helpers'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/6f1j74v9cwu_graj_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/src/llvm-project/libunwind/cmake'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/qucjta0xln7ivz4v_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/backtrace/src/symbolize'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/i2va19xhnmqz64ix_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/os/unix/net'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/0vlx96r7s5bs1ug4_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/stdarch/crates/stdarch-gen-arm'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/divjztn_hcnfu8ta_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/pal/solid'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/cbcri_12q0f5_tgj_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/v52vho6rgz00vzll_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-pc-windows-msvc'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/gjzfm1_th5jp_41r_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-pc-windows-gnu'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/b9gl8rl4v3dazrx9_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-pc-windows-gnu/lib'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/0e_57g6c6c51hjb0_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-linux-android'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/6pe_q1ckxlgjzvwk_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-ios'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/wb2_6xfjs67o7wk2_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-darwin'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/p_5814ifamr168rt_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/wasm32-unknown-unknown'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/4rwzhmlgtc_4vqxw_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/i686-linux-android'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/bmfhtz9bde9vi84c_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/armv7-linux-androideabi'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/n68phfv24f8kxujj_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-linux-android'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/feqag4g1wgbq_r0s_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios-sim'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/z9el0yz2gpc2eotk_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/3f_y13g3nft_rf5i_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/wasm32-wasip1'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/oxebb69_0blhfagv_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/wasm32-wasip1/lib'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/r1jcjunvsauxe9l3_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/wasm32-wasip2'
    error: could not rename component file from '/Users/ianthetechie/.rustup/tmp/2t47m86g9ra0c6jw_dir/bk' to '/Users/ianthetechie/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/wasm32-wasip2/lib'
    error: failed to install component: 'rust-docs-aarch64-apple-darwin', detected conflict: 'share/doc/rust/html'
    info: checking for self-update
    
      stable-aarch64-apple-darwin update failed - rustc 1.85.1 (4eb161250 2025-03-15)
    
    info: cleaning up downloads & tmp directories
    

    The uninstall + reinstall woraround from @taqtiqa-mark (unsurprisingly) allowed the upgrade to proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions