Skip to content
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

Confusing error with missing dependencies #10

Closed
alexcrichton opened this issue May 14, 2014 · 0 comments
Closed

Confusing error with missing dependencies #10

alexcrichton opened this issue May 14, 2014 · 0 comments

Comments

@alexcrichton
Copy link
Member

If .cargo/config is missing, or if the dependency has an ill-formatted Cargo.toml, one is met with this error message:

task '<main>' failed at 'invalid num of results 0', src/cargo/core/resolver.rs:31

A simple Cargo.toml with one dependency is enough to trigger the error. If the dependency is added via .cargo/config's path option, then if the dependency's Cargo.toml project name and lib name are not equal you are met with the same error.

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

No branches or pull requests

2 participants