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-12332] Swift 5.2 build hangs until crash #4577
Comments
Thanks for the bug report. The attached Package.swift is resolving fine for me with swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-06-a snapshot. Update: I found the issue. It's happening because swift-redi-stack@1.0.0-alpha.7.1 depends on https://github.com/apple/swift-metrics.git from 1.0.0 where as vapor@4.0.0-rc.3.1 depends on swift-metrics from 2.0.0. Updating to a newer version of swift-metrics should fix this issue for your package. |
@swift-ci create |
Comment by Sam S (JIRA) Awesome, thank you for the fast help! But just wondering, shouldn't Swift give any errors/information in a case like that? |
Yeah, it should emit an error explaining the issue. It looks like some issue around pre-release versions. |
RediStack has been updated to have a wider range of version support for SwiftMetrics: https://github.com/Mordil/swift-redi-stack/releases/tag/1.0.0-alpha.7.2 |
Attachment: Download
Environment
Ubuntu 18.04 and 5.2-DEVELOPMENT-SNAPSHOT-2020-03-06-a.
Also tried 5.2-DEVELOPMENT-SNAPSHOT-2020-02-27-a before and it was the same behavior.
Additional Detail from JIRA
md5: 2cfbfb889134b56e36fc641c3efe9db2
Issue Description:
Hi,
when building my project (swift build) it just hangs on updating the packages until it crashes/terminates with "Invalid machine command (memory dump written)" (translated, not a english system) after 10-15 minutes.
This just happened after I updated my package dependencys (swift package update) and can be resolved by using the previous Package.resolved. Deleting the .build folder also didnt help.
I attached my Package.swift, Package.resolved and Package.resolved.old (which is the working one before updating).
I was testing a little more and this seems to be caused from
.package(url: "https://github.com/vapor/redis", from: "4.0.0-beta.3")
when removing it from Package.swift, it builds fine.
The text was updated successfully, but these errors were encountered: