Skip to content

Rustfmt messes up nightly upgrade #1566

Closed
@xd009642

Description

@xd009642

When trying to update my nightly rust I got:

rustup update nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-12-08, rust version 1.32.0-nightly (4a45578bc 2018-12-07)
error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download

So I tried to remove rustfmt hoping it would ignore the target and got this:

rustup component remove rustfmt
error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not contain component 'rustfmt' for target 'x86_64-unknown-linux-gnu'

In fact now I'm in a strange state where I can't seem to remove rustfmt or upgrade my nightly rust... I've also tried removing the installed rustfmt explicitly using the name given in rustup component list

rustup component remove rustfmt-preview-x86_64-unknown-linux-gnu
error: toolchain 'stable-x86_64-unknown-linux-gnu' does not contain component 'rustfmt-preview-x86_64-unknown-linux-gnu' for target 'x86_64-unknown-linux-gnu'

Any guidance would be appreciated, I'm a bit stumped with this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions