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
"Multiple dependencies listed for the same crate must all have the same name" error message contains the name of the problematic crate, but it doesn't print the name of the crate where this problem occurs. In workspaces with multiple packages it isn't so obvious where the problem is.
The problem can easily occur when giving different names in dependencies and dev-dependencies sections.
Steps
Create a new empty project.
Add a duplicated dependency, for example:
[dependencies]
r = { package = "rand", version = "0.6" }
ra = { package = "rand", version = "0.6" }
Try to build it.
Notes
Output of cargo version: cargo 1.32.0 (8610973 2019-01-02)