You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust version : rustc 1.46.0-nightly (a37c32e2d 2020-06-11)
nom version : 5.1.1
New nightly breaks all nom builds (including stable) with error:
error: failed to download `nom v5.1.1`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `/home/pollux/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/nom-5.1.1/Cargo.toml`
Caused by:
readme file with name 'README.md' was not found
Looking at the manifest file from the error, it seems cargo now re-generates the package before building it:
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
...
include = ["CHANGELOG.md", "LICENSE", ".gitignore", ".travis.yml", "Cargo.toml", "src/*.rs", "src/*/*.rs", "tests/*.rs", "build.rs"]
and since the README.md is not included, fails at this point.
solution
The README.md should be added to the include line
I'm trying to send PRs (one for the 5.0 branch, one for master)
The text was updated successfully, but these errors were encountered:
New nightly breaks all nom builds (including stable) with error:
For an example of package affected, see the build log at https://travis-ci.org/github/chifflier/nom-derive/jobs/697537185
Looking at the manifest file from the error, it seems cargo now re-generates the package before building it:
and since the
README.md
is not included, fails at this point.solution
The
README.md
should be added to theinclude
lineI'm trying to send PRs (one for the
5.0
branch, one for master)The text was updated successfully, but these errors were encountered: