Skip to content

failed to parse manifest at failed to parse manifest at C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.70\Cargo.toml #8242

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

Open
IThawk opened this issue May 14, 2020 · 3 comments
Labels
C-bug Category: bug O-windows OS: Windows S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request.

Comments

@IThawk
Copy link

IThawk commented May 14, 2020

F:\workspace\language\rust\examples>cargo build
error: failed to download libc v0.2.70

Caused by:
unable to get packages from source

Caused by:
failed to parse manifest at C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.70\Cargo.toml

Caused by:
could not parse input as TOML

Caused by:
unexpected character found: \u{0} at line 1 column 1

@IThawk IThawk added the C-bug Category: bug label May 14, 2020
@tesuji
Copy link
Contributor

tesuji commented May 15, 2020

You couldn't download libc v0.2.70. Maybe check your firewall and internet connection.

@ehuss
Copy link
Contributor

ehuss commented May 17, 2020

That is very strange! I see someone else encountered something similar at rust-lang/rust#55924. Somehow the file has been corrupted. You can delete that directory (libc-0.2.70), and try again and see if it clears up? I don't have any ideas what could cause that though.

@ehuss ehuss added the O-windows OS: Windows label May 24, 2020
@weihanglo weihanglo added the S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request. label Jul 16, 2023
@weihanglo
Copy link
Member

#10689 (comment) mentioned it might be related to PowerShell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug O-windows OS: Windows S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request.
Projects
None yet
Development

No branches or pull requests

4 participants