[Windows] Can't install nightly

D:\Christopher\Documents\Code\NAFI-lang\rust-nafi>rustup install nightly
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
info: latest update on 2018-06-22, rust version 1.28.0-nightly (662c70a59 2018-06-21)
info: downloading component 'rustc'
error: failed to parse url: 1.28.0-nightly (662c70a59 2018-06-21)/2018-06-22/rustc-nightly-x86_64-pc-windows-msvc.tar.xz
info: caused by: relative URL without a base
2 Likes

d'oh, toolchain add -- but that has the same issue it seems

D:\Christopher\Documents\Code\NAFI-lang\rust-nafi>rustup toolchain add nightly
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
info: latest update on 2018-06-22, rust version 1.28.0-nightly (662c70a59 2018-06-21)
info: downloading component 'rustc'
error: failed to parse url: 1.28.0-nightly (662c70a59 2018-06-21)/2018-06-22/rustc-nightly-x86_64-pc-windows-msvc.tar.xz
info: caused by: relative URL without a base

Thanks to whomever added all of the alternate spellings, I apparently forgot the "official" spelling... but they seem to all be aliases at least

D:\Christopher\Documents\Code\NAFI-lang\rust-nafi>rustup toolchain install nightly
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
info: latest update on 2018-06-22, rust version 1.28.0-nightly (662c70a59 2018-06-21)
info: downloading component 'rustc'
error: failed to parse url: 1.28.0-nightly (662c70a59 2018-06-21)/2018-06-22/rustc-nightly-x86_64-pc-windows-msvc.tar.xz
info: caused by: relative URL without a base

(I'm not going to post again unless I find new info I promise)

Yeah it's not your fault. There is an issue here: https://github.com/rust-lang/rust/issues/51699

If I didn't know any better I'd say they're doing something like rustc --version then copying that directly into format!() to generate the URL.

I'm just gonna leave this here...

Exploits of a Mom

4 Likes