-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-namespaced-featuresArea: namespaced-featuresArea: namespaced-featuresC-bugCategory: bugCategory: bug
Description
Problem
An index that contains namespaced features (those with crate:) cannot be used by nightly cargo. The versions published with those features cannot be selected by the resolver.
Steps
- Create an index containing crates with namespaced features.
- Attempt to use those crates from the index.
- Notice that you cannot select versions with those features.
From the log output:
[2020-03-27T16:15:07Z INFO cargo::sources::registry::index] failed to parse "my/th/mything" registry package: Features and dependencies cannot have the same name: common
Possible Solution(s)
It looks like the crux of the issue is this line where the index cache will not parse summaries with namespaced features.
cc @djc
Metadata
Metadata
Assignees
Labels
A-namespaced-featuresArea: namespaced-featuresArea: namespaced-featuresC-bugCategory: bugCategory: bug