Unable to build textnonce 0.3.1 using rustc 1.8.0, 1.9.0 beta, 1.10.0-nightly (6974800c6 2016-05-08) #11
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mikedilger/textnonce#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
All my attempts to build textnonce throw this error:
My project doesn't use
textnoncedirectly but requiresmongodbandbsonas dependencies.I'm totally new to Rust, and totally fail to understand what causes this error.
Is that a textnonce issue or something wrong with my environment?
Welcome to the Rust community. This error comes about when the version of a compiler plugin (in this case serde_codegen) is out of sync with the version of the rust compiler or a related crate (in this case syntex). Unfortunately until the rust compiler AST has stabilized, compiler plugins remain unstable and continue to cause these kinds of annoying downstream problems.
There is a flie
Cargo.lockfor your project which specifies which versions of these crates your project should use. You will need to get them in sync.This command might fix it for you:
It appears the new version of syntex 0.32 was released. I've pushed a new textnonce version to get it back into sync. Try
cargo update -p textnonceand thencargo buildThanks a lot for your help! Indeed, the new version fixed my issue.