Repository navigation
conflict on updating to today's nightly with llvm-tools #4019
Copy link
Copy link
Closed as not planned
Labels
Description
Verification
- I searched for recent similar issues at https://github.com/rust-lang/rustup/issues?q=is%3Aissue+is%3Aopen%2Cclosed and found no duplicates.
- I am on the latest version of Rustup according to https://github.com/rust-lang/rustup/tags and am still able to reproduce my issue.
Problem
Can't update toolchain, fails with error: failed to install component: 'rustc-x86_64-unknown-linux-gnu', detected conflict: 'lib/rustlib/x86_64-unknown-linux-gnu/bin/llc'.
Steps
- have
llvm-toolsinstalled for nightly - run
rustup update
Possible Solution(s)
No response
Notes
No response
Rustup version
❯ rustup --version
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.81.0 (eeb90cda1 2024-09-04)`Installed toolchains
<details>
Default host: x86_64-unknown-linux-gnu
rustup home: /home/kaspar/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
nightly-2022-07-04-x86_64-unknown-linux-gnu
nightly-2022-10-22-x86_64-unknown-linux-gnu
nightly-2022-11-01-x86_64-unknown-linux-gnu
nightly-2022-11-22-x86_64-unknown-linux-gnu
nightly-2023-03-25-x86_64-unknown-linux-gnu
nightly-2023-05-18-x86_64-unknown-linux-gnu
nightly-2023-06-02-x86_64-unknown-linux-gnu
nightly-2023-06-28-x86_64-unknown-linux-gnu
nightly-2023-08-19-x86_64-unknown-linux-gnu
nightly-2023-10-02-x86_64-unknown-linux-gnu
nightly-2023-11-01-x86_64-unknown-linux-gnu
nightly-2024-03-11-x86_64-unknown-linux-gnu
nightly-2024-05-20-x86_64-unknown-linux-gnu
nightly-2024-05-31-x86_64-unknown-linux-gnu
nightly-2024-09-09-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.65.0-x86_64-unknown-linux-gnu
1.72.1-x86_64-unknown-linux-gnu
1.77.0-x86_64-unknown-linux-gnu
1.75-x86_64-unknown-linux-gnu
1.77-x86_64-unknown-linux-gnu
1.78-x86_64-unknown-linux-gnu
1.79-x86_64-unknown-linux-gnu
1.80-x86_64-unknown-linux-gnu
esp
installed targets for active toolchain
--------------------------------------
aarch64-linux-android
arm-unknown-linux-gnueabihf
arm-unknown-linux-musleabihf
armv7-linux-androideabi
armv7-unknown-linux-musleabihf
i686-linux-android
i686-unknown-linux-gnu
riscv32imac-unknown-none-elf
thumbv6m-none-eabi
thumbv7em-none-eabi
thumbv7em-none-eabihf
thumbv7m-none-eabi
wasm32-unknown-unknown
x86_64-apple-darwin
x86_64-linux-android
x86_64-pc-windows-gnu
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
active toolchain
----------------
stable-x86_64-unknown-linux-gnu (default)
rustc 1.81.0 (eeb90cda1 2024-09-04)
OS version
current arch, also happens on the github Ubuntu CI workers.Reactions are currently unavailable
Activity
djc commentedon Sep 13, 2024
I think this would be due to #988?
larseggert commentedon Sep 13, 2024
We're seeing the same issue: https://github.com/mozilla/neqo/actions/runs/10844489766/job/30095214032#step:3:103
kaspar030 commentedon Sep 13, 2024
I don't think so, this started happening only recently on my CI. By pinning an older nightly version, this seems to be fixed.
ci: Pin nightly to `nightly-2024-09-01`
djc commentedon Sep 13, 2024
Okay, can someone describe a reproduction scenario?
kaspar030 commentedon Sep 13, 2024
This "works" for me:
docker run -ti --rm ubuntudjc commentedon Sep 13, 2024
Okay, great, thanks! I think this is an issue with the upstream toolchains. I opened a Zulip topic and am now looking at recent rust-lang/rust PRs to see if something there is relevant here.
jclmnop commentedon Sep 13, 2024
+1
Our github runners (Ubuntu 22.04.4) are now experiencing this exact same issue with the latest nightly. Yesterday's version was fine.
djc commentedon Sep 13, 2024
Okay, looks like this is getting fixed here:
rust-lang/rust bug is here:
kaspar030 commentedon Sep 13, 2024
Thanks a bunch!
ci: Pin nightly to `nightly-2024-09-01` (#2105)
Rollup merge of rust-lang#130302 - onur-ozkan:130040-with-fixes, r=Ko…
Unrolled build for rust-lang#130302