Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: failed to parse URL (can't install nightly) #1443

Closed
atoav opened this issue Jun 22, 2018 · 3 comments
Closed

Error: failed to parse URL (can't install nightly) #1443

atoav opened this issue Jun 22, 2018 · 3 comments

Comments

@atoav
Copy link

atoav commented Jun 22, 2018

I did a fresh (default) install with rustup init.exe, but no matter what any attempted nightly install (this also includes rustup update nightly) fails.

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

Outputs of where and --version

λ where rustup
C:\Users\forelle\.cargo\bin\rustup.exe

λ rustup --version
rustup 1.11.0 (e751ff9f8 2018-02-13)
@robertDurst
Copy link

robertDurst commented Jun 22, 2018

Wanted to add on here, to bring more/different info to help solve this.

I am running Mac OS 10.13.4 and had previously updated my stable from 1.26.2 --> 1.27.0.

Then I decided to update nightly so I ran rustup install and received the following error message:

info: syncing channel updates for 'nightly-x86_64-apple-darwin'
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-apple-darwin.tar.xz
info: caused by: relative URL without a base

Also, I opened a PR on the wasm_bindgen repo and travis there failed as well.

@mati865
Copy link
Contributor

mati865 commented Jun 22, 2018

It's Rust build system issue and should be tracked in main repo: rust-lang/rust#51699

@kinnison
Copy link
Contributor

This was a bug in Rust's generation of the channel manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants