Rustup: Nightly (1.33.0-nightly) fails on OS X 10.14.1

Created on 25 Dec 2018  路  12Comments  路  Source: rust-lang/rustup

I've been trying to install the nightly to set up Racer, and I keep getting an error when trying to install rust-std:

rustup update nightly
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: latest update on 2018-12-25, rust version 1.33.0-nightly (f960f377f 2018-12-24)
info: downloading component 'rustc'
 78.4 MiB /  78.4 MiB (100 %)   1.8 MiB/s ETA:   0 s
info: downloading component 'rust-std'
 63.5 MiB /  63.5 MiB (100 %)   2.0 MiB/s ETA:   0 s
info: downloading component 'cargo'
  3.4 MiB /   3.4 MiB (100 %)   1.4 MiB/s ETA:   0 s
info: downloading component 'rust-docs'
  8.6 MiB /   8.6 MiB (100 %)   2.1 MiB/s ETA:   0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: rolling back changes

error: failed to install component: 'rust-std-x86_64-apple-darwin', detected conflict: '"lib/rustlib/x86_64-apple-darwin/lib/libLLVM.dylib"'

Things I've tried:

  • I assumed that it was due to some old install that was not blown away correctly so I tried searching for this conflicting file to no avail.
  • I've blown away ~/.rustup & ~/.cargo numerous times, and re-installed.

Not sure if I've even diagnosed the issue correctly, and I can't seem to run the install / update commands with any increased level of verbosity to drill deeper.

Any help would be most appreciated.

Most helpful comment

I can reproduce this on Arch Linux x64.

 ~ ) rustup install nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-12-25, rust version 1.33.0-nightly (f960f377f 2018-12-24)
info: downloading component 'rustc'
 82.5 MiB /  82.5 MiB (100 %)   5.9 MiB/s ETA:   0 s                
info: downloading component 'rust-std'
 71.5 MiB /  71.5 MiB (100 %)   6.0 MiB/s ETA:   0 s                
info: downloading component 'cargo'
info: downloading component 'rust-docs'
  8.5 MiB /   8.5 MiB (100 %)   6.1 MiB/s ETA:   0 s                
info: installing component 'rustc'
info: installing component 'rust-std'
info: rolling back changes
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8svn.so"'

(By the way, Merry Christmas to anyone reading this thread!)

All 12 comments

+1, exactly the same use case

I can reproduce this on Arch Linux x64.

 ~ ) rustup install nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-12-25, rust version 1.33.0-nightly (f960f377f 2018-12-24)
info: downloading component 'rustc'
 82.5 MiB /  82.5 MiB (100 %)   5.9 MiB/s ETA:   0 s                
info: downloading component 'rust-std'
 71.5 MiB /  71.5 MiB (100 %)   6.0 MiB/s ETA:   0 s                
info: downloading component 'cargo'
info: downloading component 'rust-docs'
  8.5 MiB /   8.5 MiB (100 %)   6.1 MiB/s ETA:   0 s                
info: installing component 'rustc'
info: installing component 'rust-std'
info: rolling back changes
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8svn.so"'

(By the way, Merry Christmas to anyone reading this thread!)

I'm having this problem as well on Ubuntu 18.04.

As a workaround, rustup toolchain add nightly-2018-12-23 works just fine.

Good to know, thanks @flaviut!

As a workaround, rustup toolchain add nightly-2018-12-23 works just fine.

I still have the same issue with installing.
1) I did rustup toolchain add nightly-2018-12-23
2) After i run rustup toolchain install nightly-x86_64-unknown-linux-gnu

# rustup toolchain install nightly-x86_64-unknown-linux-gnu
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-12-25, rust version 1.33.0-nightly (f960f377f 2018-12-24)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: rolling back changes
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8svn.so"'

Nothing work for me :(

I tried and this:
1) Removed rustup
2) Installed Custome - > nightly-2018-12-23
3) After it finish i tried to install this and i recive same :(

rustup target add x86_64-unknown-linux-musl
rustup toolchain install nightly-x86_64-unknown-linux-gnu

`
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8svn.so"'
``

surely rustup toolchain install nightly-x86_64-unknown-linux-gnu is just installing the latest nightly again, whereas to avoid the bug you should be installing 2018-12-23

rust-lang/rust#57111 has been fixed and released in the latest nightly. Can we close this?

Yup, happy to close 馃憤 Thanks all!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KasMA1990 picture KasMA1990  路  3Comments

durka picture durka  路  3Comments

kornelski picture kornelski  路  3Comments

matthiaskrgr picture matthiaskrgr  路  3Comments

mcandre picture mcandre  路  4Comments