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
[SR-6392] Dependency resolution conflict only shows one dependency #4915
Comments
This reproduces outside of Docker as well. And in fact, this looks like a known limitation of the current package dependency resolution machinery: the “transitive incompatible dependency” section of the `testDiagnostics()` unit test in the `DependencyResolverTests.swift` source file asserts that there is one dependency reported in the diagnostic, even though two different versions are involved. This seems non-trivial to fix, so this probably comes down to a need to improve the diagnostic output of dependency resolution rather than a fix for a specific bug in the code. |
Also running into this. Would love to see a fix. |
Comment by mark wang (JIRA) i also running into this. would love to see a fix. |
@swift-ci create |
Comment by Tabor Kelly (JIRA)
It would be great to get this bug fixed. |
Attachment: Download
Environment
macOS High Sierra, using Docker with docker-compose. In this case, the Kitura and Kitura-CredentialsHTTP dependencies could not be resolved.
Additional Detail from JIRA
md5: 224dea18ac952c4f30acacc668d17dda
Issue Description:
When there are conflicting dependencies in `Package.swift`, `swift build` will give the following error, which only gives one of the conflicting dependencies.
The text was updated successfully, but these errors were encountered: