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
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.
So I guess RegistryPackage will need to gain a namespaced_features: Option<bool> field, which should be uploaded to the index as well as read from it, right?
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
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
The text was updated successfully, but these errors were encountered: