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-7796] Assertion failed: : file /Users/buildnode/jenkins/workspace/oss-swift-4.2-package-osx/swiftpm/Sources/PackageGraph/PackageGraphRoot.swift, line 124 #4813
Comments
Attachment seems to have failed. :-( |
thanks @belkadan, exceeds 10MB, uploading to dropbox, will attach link |
@swift-ci create |
@shahmishal should we increase the attachment limit? 10MB seems very small for the build data. |
Ah. I was overly strict and added an assertion to check that revision dependencies have git hash length of 40. I don't think that check is actually needed because we do validate the git ref. You're hitting this because OSS toolchains have assertions enabled. To workaround, use full git hash for your revision based dependencies. |
@aciidb0mb3r hmm, am I even using any git hash dependencies? |
Yeah: 26: .package(url: "https://github.com/pointfreeco/swift-prelude.git", .revision("3b521bd")),
27: .package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .revision("08c0976")), |
@aciidb0mb3r oh thanks! Totally forgot I used this 3rd party package. sorry about that |
Additional Detail from JIRA
md5: a03b8ff2f96f13dc54e0cf819000c161
Issue Description:
I have a checked out directory that I tested with a few different Swift versions and now typing
swift test
in there crashes at least Swift 4.1 release and alsoApple Swift version 4.2-dev (LLVM ff3ae623c3, Clang c2feda0b5c, Swift 58f7399ba5)
:I attached a tarball with everything.
The text was updated successfully, but these errors were encountered: