-
Notifications
You must be signed in to change notification settings - Fork 3
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
check_dependent_project: Failed to detect ambiguous dependency reference in companion PR #61
Comments
windows-sys didn't show up in the logs of https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1651556/raw (from paritytech/substrate#11722) despite So far I haven't been able to reproduce that problem, but at the same time I didn't spend a lot of time on it; I still expect to make some progress on this soon. |
Related
More context for a possible solution was provided in rustsec/rustsec#606 (comment) |
IMO Not a job of check-dependent |
Problem: In paritytech/polkadot#5731, the initial commit's lockfile had two windows-sys
https://github.com/koute/polkadot/blob/8ff2627f00c88e5f0997b44f444b67d3a83d3444/Cargo.lock#L12687
https://github.com/koute/polkadot/blob/8ff2627f00c88e5f0997b44f444b67d3a83d3444/Cargo.lock#L12700
However one of the packages didn't qualify which one of the two versions to use, as shown in https://github.com/koute/polkadot/blob/8ff2627f00c88e5f0997b44f444b67d3a83d3444/Cargo.lock#L6054
The follow-up commit had to fix that in paritytech/polkadot@2abfa1c#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87eR6054.
The problem here is that the integration check didn't catch the invalid lockfile before merge.
Solution: check the lockfile more thoroughly for ambiguous dependencies. Need to figure out why neither
cargo check
norcargo metadata
complained in that case.The text was updated successfully, but these errors were encountered: