Search code examples
dependenciesrustrust-cargonom

Cargo fails to download nom v0.5.0


I'm trying to use Nom but getting the following error when running cargo build --verbose:

Unable to get packages from source

Caused by:
  Failed to unpack package `nom v0.5.0`

Caused by:
  The filename, directory name, or volume label syntax is incorrect.
 (os error 123)

My Cargo.toml looks like this:

[package]
name = "hello_world"
version = "0.1.0"
authors = ["bob"]
[dependencies]
nom = "~0.5.0"

How do I fix this? cargo update does not help. I'm using cargo 0.5.0-nightly (833b947 2015-09-13) installed as part of the Rust 1.4 release (Windows 7, x64).


Solution

  • The last beta version (1.0.0-beta2, and the future stable release) should fix that.