Skip to content

unable to add component rustfmt for toolchain nightly via rustup #933

Closed
@eeeebbbbrrrr

Description

@eeeebbbbrrrr

Crate name: pgx
Build failure link: https://docs.rs/crate/pgx/0.0.9/builds/277703

Additional details:

I understand why my crate (there's a few actually) are failing to build on docs.rs -- I'm not looking for help with that.

I thought I'd clone this repo and use the really fancy docker-compose stuff to work through a solution locally w/o trying to blackbox docs.rs by publishing new versions every few minutes.

Unfortunately, this command (on MacOS 10.15.1):

$ docker-compose run -v "$(realpath /Users/xxx/_work/pgx/pgx)":/build web build crate --local /build

ultimately fails with:

2020/08/03 18:46:15 [INFO] rustwide::cmd: running `Command { std: "/opt/docsrs/rustwide/cargo-home/bin/rustup" "component" "add" "--toolchain" "nightly" "rustfmt", kill_on_drop: false }`
2020/08/03 18:46:15 [INFO] rustwide::cmd: [stderr] error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel nightly
2020/08/03 18:46:15 [INFO] rustwide::cmd: [stderr] Sometimes not all components are available in any given nightly.
Error: Building documentation failed

Caused by:
    unable to add component rustfmt for toolchain nightly via rustup

This is as of 482d566.

I'm stumped. I've successfully used this process in the past to debug similar build issues for another crate and it worked flawlessly.

Any suggestions?

I've attached the entire output from docker-compose for more investigation.

build.log

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