Skip to content

Checksum error for stable-x86_64-pc-windows-msvc (2019-01-16) #1662

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

Closed
DavidR91 opened this issue Feb 14, 2019 · 1 comment
Closed

Checksum error for stable-x86_64-pc-windows-msvc (2019-01-16) #1662

DavidR91 opened this issue Feb 14, 2019 · 1 comment
Labels

Comments

@DavidR91
Copy link

DavidR91 commented Feb 14, 2019

Problem
rustup-init gives me

**info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2019-01-17, rust version 1.32.0 (9fda7c223 2019-01-16)
info: downloading component 'rustc'
 56.0 MiB /  56.0 MiB (100 %)  18.6 MiB/s ETA:   0 s
error: component download failed for rustc-x86_64-pc-windows-msvc
info: caused by: checksum failed, expected: '63ba3c27701881e7f5b733acad4a65033fa92f215e501d3d93e096e806ddf3fb', calculated: '062113043066e71d642cb919d5e8218e481f5dea11202b4e0047027743ff441a'**

This is on Windows 10 1809

Same result after clearing out .rustup and .cargo folders from my user directory

Verbose:

verbose: creating update-hash directory: 'C:\Users\David\.rustup\update-hashes'
verbose: installing toolchain 'stable-x86_64-pc-windows-msvc'
verbose: toolchain directory: 'C:\Users\David\.rustup\toolchains\stable-x86_64-pc-windows-msvc'
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
verbose: creating temp root: C:\Users\David\.rustup\tmp
verbose: creating temp file: C:\Users\David\.rustup\tmp\3umbq8g7n3akzq60_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256'
verbose: downloading with curl
verbose: deleted temp file: C:\Users\David\.rustup\tmp\3umbq8g7n3akzq60_file
verbose: no update hash at: 'C:\Users\David\.rustup\update-hashes\stable-x86_64-pc-windows-msvc'
verbose: creating temp file: C:\Users\David\.rustup\tmp\2wln3jc08zya8pw2_file.toml
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-stable.toml'
verbose: downloading with curl
verbose: checksum passed
verbose: deleted temp file: C:\Users\David\.rustup\tmp\2wln3jc08zya8pw2_file.toml
info: latest update on 2019-01-17, rust version 1.32.0 (9fda7c223 2019-01-16)
info: downloading component 'rustc'
verbose: creating Download Directory directory: 'C:\Users\David\.rustup\downloads'
verbose: downloading file from: 'https://static.rust-lang.org/dist/2019-01-17/rustc-1.32.0-x86_64-pc-windows-msvc.tar.xz'
verbose: downloading with curl
 56.0 MiB /  56.0 MiB (100 %)  17.1 MiB/s ETA:   0 s
verbose: removing toolchain directory: 'C:\Users\David\.rustup\toolchains\stable-x86_64-pc-windows-msvc'
error: component download failed for rustc-x86_64-pc-windows-msvc
info: caused by: checksum failed, expected: '63ba3c27701881e7f5b733acad4a65033fa92f215e501d3d93e096e806ddf3fb', calculated: '062113043066e71d642cb919d5e8218e481f5dea11202b4e0047027743ff441a'

Press the Enter key to continue.

Notes
If I download https://static.rust-lang.org/dist/2019-01-17/rustc-1.32.0-x86_64-pc-windows-msvc.tar.xz directly, the checksum generated is correct

@DavidR91 DavidR91 added the bug label Feb 14, 2019
@DavidR91 DavidR91 changed the title Checksum error for stable-x86_64-pc-windows-msvc Checksum error for stable-x86_64-pc-windows-msvc (2019-01-16) Feb 14, 2019
@DavidR91
Copy link
Author

Finally got this working - no actually changes and installing the exact same version

Presumably some cache / CDN etc. had cleared and it now functions

But it sounds like this is a continuation of the issue being discussed here? #1243 (comment)

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

No branches or pull requests

1 participant