Skip to content

Error installing 1.50-x86_64-unknown-linux-musl toolchain on macOS #2694

Closed
@probablykasper

Description

@probablykasper

Problem
Installing the <version>-x86_64-unknown-linux-musl toolchain worked for Rust 1.49, but doesn't in Rust 1.50. I'm on x86_64 macOS 10.14.6.

Logs from running rustup toolchain install 1.50-x86_64-unknown-linux-musl:

warning: toolchain '1.50-x86_64-unknown-linux-musl' may not be able to run on this system.
warning: If you meant to build software to target that platform, perhaps try `rustup target add x86_64-unknown-linux-musl` instead?
info: syncing channel updates for '1.50-x86_64-unknown-linux-musl'
info: latest update on 2021-02-11, rust version 1.50.0 (cb75ad5db 2021-02-10)
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: installing component 'cargo'
info: using up to 500.0 MiB of RAM to unpack components
info: installing component 'clippy'
info: installing component 'rust-docs'
 14.7 MiB /  14.7 MiB (100 %)   9.2 MiB/s in  1s ETA:  0s
info: rolling back changes
error: failed to install component: 'rust-docs-x86_64-unknown-linux-musl', detected conflict: '"share/doc/rust/html/std/keyword.self.html"'

Notes

Output of rustup --version:

rustup 1.23.1 (3df2264a9 2020-11-30)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.49.0 (e1884a8e3 2020-12-29)`

Output of rustup show:

Default host: x86_64-apple-darwin
rustup home:  /Users/kasper/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin
1.49-x86_64-apple-darwin (default)
1.49-x86_64-unknown-linux-gnu
1.49-x86_64-unknown-linux-musl
1.50-x86_64-pc-windows-gnu

active toolchain
----------------

1.49-x86_64-apple-darwin (default)
rustc 1.49.0 (e1884a8e3 2020-12-29)

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-rustupWhatever is described in this issue isn't Rustup's fault

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions