Build Information
Failed to build Seam3, reference 1.5.8 (a011ee
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 21:02:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/paulw11/Seam3.git
Reference: 1.5.8
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/paulw11/Seam3
* tag 1.5.8 -> FETCH_HEAD
HEAD is now at a011ee3 Tag 1.5.8
Cloned https://github.com/paulw11/Seam3.git
Revision (git rev-parse @):
a011ee34d19c99e705f3721ac03dcf8577402a74
SUCCESS checkout https://github.com/paulw11/Seam3.git at 1.5.8
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/paulw11/Seam3.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/Sema/TypeCheckStmt.cpp:836: bool typeCheckBooleanStmtConditionElement(StmtConditionElement &, DeclContext *): Assertion `!E->getType() && "the bool condition is already type checked"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Classes/CKRecord+NSManagedObject.swift /host/spi-builder-workspace/Sources/Classes/CKRecordZone+Helpers.swift /host/spi-builder-workspace/Sources/Classes/CKRecordZoneID+Helpers.swift /host/spi-builder-workspace/Sources/Classes/NSEntityDescription+Helpers.swift /host/spi-builder-workspace/Sources/Classes/NSManagedObject+CKRecord.swift /host/spi-builder-workspace/Sources/Classes/NSManagedObjectContext+Helpers.swift /host/spi-builder-workspace/Sources/Classes/SMBatchDeleteResult.swift /host/spi-builder-workspace/Sources/Classes/SMLogger.swift /host/spi-builder-workspace/Sources/Classes/SMObjectDependencyGraph.swift /host/spi-builder-workspace/Sources/Classes/SMServerStoreSetupOperation.swift /host/spi-builder-workspace/Sources/Classes/SMServerTokenHandler.swift /host/spi-builder-workspace/Sources/Classes/SMServerZoneLookupOperation.swift -primary-file /host/spi-builder-workspace/Sources/Classes/SMStore.swift -primary-file /host/spi-builder-workspace/Sources/Classes/SMStoreChangeSetHandler.swift /host/spi-builder-workspace/Sources/Classes/SMStoreSyncOperation.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStore.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStore.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStore.dia -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStoreChangeSetHandler.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStoreChangeSetHandler.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStoreChangeSetHandler.dia -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk -Xcc -g -no-auto-bridging-header-chaining -module-name Seam3 -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStore.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Seam3.build/SMStoreChangeSetHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1. Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2. Compiling with effective version 5.10
3. While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Sources/Classes/SMStore.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(Seam3.(file).SMStore.execute(_:with:)@/host/spi-builder-workspace/Sources/Classes/SMStore.swift:708:24)
5. While checking effects handling for 'execute(_:with:)' (at /host/spi-builder-workspace/Sources/Classes/SMStore.swift:708:19)
6. While walking into initializer for declaration 0x560484149ff0 (at /host/spi-builder-workspace/Sources/Classes/SMStore.swift:711:9)
7. While evaluating request InterfaceTypeRequest(Seam3.(file).SMStore.execute(_:with:).explicit closure discriminator=65535.error@/host/spi-builder-workspace/Sources/Classes/SMStore.swift:742:21)
8. While evaluating request NamingPatternRequest(Seam3.(file).SMStore.execute(_:with:).explicit closure discriminator=65535.error@/host/spi-builder-workspace/Sources/Classes/SMStore.swift:742:21)
9. While type-checking statement at [/host/spi-builder-workspace/Sources/Classes/SMStore.swift:712:13 - line:744:13] RangeText="do {
switch request.requestType {
case .fetchRequestType:
guard let fetchRequest = request as? NSFetchRequest<NSFetchRequestResult> else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
if fetchRequest.resultType == .countResultType {
result = try self.executeInResponseToCountFetchRequest(fetchRequest, context: context!)
} else {
result = try self.executeInResponseToFetchRequest(fetchRequest, context: context!)
}
case .saveRequestType:
guard let saveChangesRequest: NSSaveChangesRequest = request as? NSSaveChangesRequest else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
result = try self.executeInResponseToSaveChangesRequest(saveChangesRequest, context: context!)
case .batchDeleteRequestType:
guard let batchDeleteRequest: NSBatchDeleteRequest = request as? NSBatchDeleteRequest else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
result = try self.executeInResponseToBatchDeleteRequest(batchDeleteRequest, context: context!)
case .batchUpdateRequestType:
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
case .batchInsertRequestType:
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
@unknown default:
break
}
} catch {
executeError = error
"
10. While type-checking statement at [/host/spi-builder-workspace/Sources/Classes/SMStore.swift:712:16 - line:742:13] RangeText="{
switch request.requestType {
case .fetchRequestType:
guard let fetchRequest = request as? NSFetchRequest<NSFetchRequestResult> else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
if fetchRequest.resultType == .countResultType {
result = try self.executeInResponseToCountFetchRequest(fetchRequest, context: context!)
} else {
result = try self.executeInResponseToFetchRequest(fetchRequest, context: context!)
}
case .saveRequestType:
guard let saveChangesRequest: NSSaveChangesRequest = request as? NSSaveChangesRequest else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
result = try self.executeInResponseToSaveChangesRequest(saveChangesRequest, context: context!)
case .batchDeleteRequestType:
guard let batchDeleteRequest: NSBatchDeleteRequest = request as? NSBatchDeleteRequest else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
result = try self.executeInResponseToBatchDeleteRequest(batchDeleteRequest, context: context!)
case .batchUpdateRequestType:
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
case .batchInsertRequestType:
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
@unknown default:
break
}
"
11. While type-checking statement at [/host/spi-builder-workspace/Sources/Classes/SMStore.swift:713:17 - line:741:17] RangeText="switch request.requestType {
case .fetchRequestType:
guard let fetchRequest = request as? NSFetchRequest<NSFetchRequestResult> else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
if fetchRequest.resultType == .countResultType {
result = try self.executeInResponseToCountFetchRequest(fetchRequest, context: context!)
} else {
result = try self.executeInResponseToFetchRequest(fetchRequest, context: context!)
}
case .saveRequestType:
guard let saveChangesRequest: NSSaveChangesRequest = request as? NSSaveChangesRequest else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
result = try self.executeInResponseToSaveChangesRequest(saveChangesRequest, context: context!)
case .batchDeleteRequestType:
guard let batchDeleteRequest: NSBatchDeleteRequest = request as? NSBatchDeleteRequest else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
result = try self.executeInResponseToBatchDeleteRequest(batchDeleteRequest, context: context!)
case .batchUpdateRequestType:
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
case .batchInsertRequestType:
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
@unknown default:
break
"
12. While type-checking statement at [/host/spi-builder-workspace/Sources/Classes/SMStore.swift:715:21 - line:722:21] RangeText="guard let fetchRequest = request as? NSFetchRequest<NSFetchRequestResult> else {
throw NSError(domain: SMStore.SMStoreErrorDomain, code: SMStoreError.invalidRequest._code, userInfo: nil)
}
if fetchRequest.resultType == .countResultType {
result = try self.executeInResponseToCountFetchRequest(fetchRequest, context: context!)
} else {
result = try self.executeInResponseToFetchRequest(fetchRequest, context: context!)
"
13. While type-checking statement at [/host/spi-builder-workspace/Sources/Classes/SMStore.swift:718:21 - line:722:21] RangeText="if fetchRequest.resultType == .countResultType {
result = try self.executeInResponseToCountFetchRequest(fetchRequest, context: context!)
} else {
result = try self.executeInResponseToFetchRequest(fetchRequest, context: context!)
"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000056047e816918
1 swift-frontend 0x000056047e81443e
2 swift-frontend 0x000056047e816fb1
3 libc.so.6 0x00007fcf9de79520
4 libc.so.6 0x00007fcf9decd9fc pthread_kill + 300
5 libc.so.6 0x00007fcf9de79476 raise + 22
6 libc.so.6 0x00007fcf9de5f7f3 abort + 211
7 libc.so.6 0x00007fcf9de5f71b
8 libc.so.6 0x00007fcf9de70e96
9 swift-frontend 0x000056047835aa28
10 swift-frontend 0x000056047836253e
11 swift-frontend 0x00005604783609da
12 swift-frontend 0x000056047836037c
13 swift-frontend 0x000056047835c011
14 swift-frontend 0x000056047836042d
15 swift-frontend 0x000056047835e07c
16 swift-frontend 0x0000560478362b9c
17 swift-frontend 0x0000560478360c7b
18 swift-frontend 0x000056047836037c
19 swift-frontend 0x000056047835c011
20 swift-frontend 0x000056047836042d
21 swift-frontend 0x000056047836037c
22 swift-frontend 0x0000560478360b74
23 swift-frontend 0x000056047836037c
24 swift-frontend 0x000056047835c011
25 swift-frontend 0x000056047835bf64
26 swift-frontend 0x0000560478270a43
27 swift-frontend 0x000056047893fa67
28 swift-frontend 0x00005604788ad779
29 swift-frontend 0x000056047826f4e4
30 swift-frontend 0x000056047888fa58
31 swift-frontend 0x00005604783c8790
32 swift-frontend 0x00005604782da9d7
33 swift-frontend 0x00005604782dd852
34 swift-frontend 0x00005604782d371e
35 swift-frontend 0x00005604782d10fa
36 swift-frontend 0x000056047881327c
37 swift-frontend 0x00005604788152c5
38 swift-frontend 0x000056047881352d
39 swift-frontend 0x0000560478815d87
40 swift-frontend 0x0000560478813809
41 swift-frontend 0x0000560478813773
42 swift-frontend 0x00005604782d2108
43 swift-frontend 0x0000560478815dc2
44 swift-frontend 0x0000560478813809
45 swift-frontend 0x0000560478813773
46 swift-frontend 0x00005604782d0ae7
47 swift-frontend 0x000056047881327c
48 swift-frontend 0x0000560478818e17
49 swift-frontend 0x00005604788140e3
50 swift-frontend 0x0000560478815e1a
51 swift-frontend 0x0000560478813809
52 swift-frontend 0x0000560478813773
53 swift-frontend 0x00005604782cdce2
54 swift-frontend 0x000056047835d50b
55 swift-frontend 0x000056047895c0e2
56 swift-frontend 0x00005604788b3bd9
57 swift-frontend 0x0000560478a3a398
58 swift-frontend 0x00005604783cae62
59 swift-frontend 0x00005604783cce4b
60 swift-frontend 0x00005604783cad45
61 swift-frontend 0x0000560476f21129
62 swift-frontend 0x0000560476f173ea
63 swift-frontend 0x0000560476f171db
64 swift-frontend 0x0000560476bc03c2
65 swift-frontend 0x0000560476bb17de
66 swift-frontend 0x0000560476bb0878
67 swift-frontend 0x000056047692c26b
68 libc.so.6 0x00007fcf9de60d90
69 libc.so.6 0x00007fcf9de60e40 __libc_start_main + 128
70 swift-frontend 0x000056047692b265
BUILD FAILURE 6.2 wasm