Build Information
Failed to build SwiftletModel, reference main (7b1ea6
), with Swift 6.1 for Wasm on 16 Jun 2025 04:26:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/SwiftletModel.git
Reference: main
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/KazaiMazai/SwiftletModel
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7b1ea66 Relations storage upgrade (#97)
Cloned https://github.com/KazaiMazai/SwiftletModel.git
Revision (git rev-parse @):
7b1ea66a6ce405cdb5e4027461c86ad84710a5a9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/SwiftletModel.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/KazaiMazai/SwiftletModel.git
https://github.com/KazaiMazai/SwiftletModel.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.12.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "btree",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BTree"
}
],
"manifest_display_name" : "SwiftletModel",
"name" : "SwiftletModel",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SwiftletModel",
"targets" : [
"SwiftletModel"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftletModelMacros",
"targets" : [
"SwiftletModelMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftletModelTests",
"module_type" : "SwiftTarget",
"name" : "SwiftletModelTests",
"path" : "Tests/SwiftletModelTests",
"product_dependencies" : [
"SnapshotTesting",
"SnapshotTestingCustomDump"
],
"sources" : [
"CodableTests/RelationsEncodingDecodingTests.swift",
"EntitiesTests/DeleteTests.swift",
"IndexTests/FilterIndexPerformanceTests.swift",
"IndexTests/FullTextIndexPerformanceTests.swift",
"IndexTests/SortIndexPerformanceTests.swift",
"IndexTests/UniqueIndexTests.swift",
"ModelTests/MergeStrategyTests.swift",
"Models/Attachment.swift",
"Models/Chat.swift",
"Models/Message.swift",
"Models/Schema.swift",
"Models/TestModel.swift",
"Models/User.swift",
"ModelsForTesting.swift",
"QueriesTests/AllNestedModelsQueryTest.swift",
"QueriesTests/FilterMetadataQueryTests.swift",
"QueriesTests/FilterQueryTests.swift",
"QueriesTests/FilterStringQueryTests.swift",
"QueriesTests/NestedModelsQueryTest.swift",
"QueriesTests/SortQueryTest.swift",
"RelationsTests/ManyToManyTests.swift",
"RelationsTests/ToOneTests.swift"
],
"target_dependencies" : [
"SwiftletModel"
],
"type" : "test"
},
{
"c99name" : "SwiftletModelMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftletModelMacros",
"path" : "Sources/SwiftletModelMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftletModel",
"SwiftletModelMacros"
],
"sources" : [
"EntityModelMacro/Attributes/AccessAttributes.swift",
"EntityModelMacro/Attributes/IndexAttributes.swift",
"EntityModelMacro/Attributes/PropertyAttributes.swift",
"EntityModelMacro/Attributes/PropertyWrapperAttributes.swift",
"EntityModelMacro/Attributes/RelationshipAttributes.swift",
"EntityModelMacro/Attributes/SearchIndexAttributes.swift",
"EntityModelMacro/Attributes/UniqueAttributes.swift",
"EntityModelMacro/EntityModelMacro.swift",
"EntityModelMacro/SwiftSyntaxExtensions/LabeledExprSyntaxExtension.swift",
"Plugins.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftletModel",
"module_type" : "SwiftTarget",
"name" : "SwiftletModel",
"path" : "Sources/SwiftletModel",
"product_dependencies" : [
"Collections",
"BTree"
],
"product_memberships" : [
"SwiftletModel"
],
"sources" : [
"Context/Context.swift",
"Context/EntitiesRepository.swift",
"Extensions/EncodableExtensions.swift",
"Extensions/KeyPathExtensions.swift",
"Index/ArrayExtensions.swift",
"Index/CollisionResolver.swift",
"Index/Comparable+SortOrder.swift",
"Index/Entity+FullTextIndex.swift",
"Index/Entity+IndexComparable.swift",
"Index/Entity+IndexHashable&Comparable.swift",
"Index/Entity+IndexHashable.swift",
"Index/Entity+Metadata.swift",
"Index/Entity+UniqueComparable.swift",
"Index/Entity+UniqueHashable&Comparable.swift",
"Index/Entity+UniqueHashable.swift",
"Index/FullTextIndex+Hashable.swift",
"Index/FullTextIndex.swift",
"Index/Index+Comparable.swift",
"Index/Index+Hashable.swift",
"Index/Index.swift",
"Index/String+FuzzyMatch.swift",
"Index/String+IndexName.swift",
"Index/String+SearchTokens.swift",
"Index/Tuples.swift",
"Index/UniqueIndex+Comparable.swift",
"Index/UniqueIndex+Hashable.swift",
"Index/UniqueIndex.swift",
"Macros.swift",
"Model/DeletedEntity.swift",
"Model/EntityModelProtocol.swift",
"Model/MergeStrategy.swift",
"Model/Metadata.swift",
"Query/ContextQuery.swift",
"Query/Nested.swift",
"Query/Predicate.swift",
"Query/Query.swift",
"Query/QueryAllNested.swift",
"Query/QueryFilter.swift",
"Query/QueryGroup.swift",
"Query/QueryList.swift",
"Query/QueryListFilter.swift",
"Query/QueryListNested.swift",
"Query/QueryLogicalFilters.swift",
"Query/QueryNested.swift",
"Query/QueryRelated.swift",
"Query/QuerySchema.swift",
"Query/QuerySorted.swift",
"Relationship/DecodingStrategy.swift",
"Relationship/EncodingStrategy.swift",
"Relationship/Link.swift",
"Relationship/Relation+Codable.swift",
"Relationship/Relation+Conveniece.swift",
"Relationship/Relation+UpdateOption.swift",
"Relationship/Relation.swift",
"Relationship/RelationDelete.swift",
"Relationship/RelationSave.swift",
"Relationship/RelationTypes.swift",
"Relationship/Relationship.swift"
],
"target_dependencies" : [
"SwiftletModelMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/3349] Fetching btree
[1442/19955] Fetching btree, swift-collections
[4513/33182] Fetching btree, swift-collections, swift-snapshot-testing
[8164/103976] Fetching btree, swift-collections, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.63s)
Fetched https://github.com/attaswift/BTree from cache (9.94s)
Fetched https://github.com/apple/swift-collections.git from cache (9.98s)
Fetched https://github.com/swiftlang/swift-syntax from cache (10.06s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (14.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.87s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.63s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (1.06s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.54s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.58s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.24s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (2.26s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/attaswift/BTree
Working copy of https://github.com/attaswift/BTree resolved at 4.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/47] Write sources
[25/47] Compiling _SwiftSyntaxCShims dummy.c
[26/47] Write swift-version-24593BA9C3E375BF.txt
[28/82] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/83] Compiling InternalCollectionsUtilities Descriptions.swift
[30/83] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[31/83] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[32/83] Compiling InternalCollectionsUtilities Debugging.swift
[33/85] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[34/85] Compiling InternalCollectionsUtilities Integer rank.swift
[35/85] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[36/85] Compiling InternalCollectionsUtilities UInt+reversed.swift
[37/85] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[38/85] Compiling InternalCollectionsUtilities _SortedCollection.swift
[41/85] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/85] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/86] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[44/86] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/86] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/87] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[47/87] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[48/87] Emitting module InternalCollectionsUtilities
[51/87] Compiling BTree Map.swift
[52/87] Compiling BTree SortedBag.swift
[53/87] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/87] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[60/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[60/89] Wrapping AST for SwiftSyntax509 for debugging
[61/89] Wrapping AST for SwiftSyntax510 for debugging
[63/89] Wrapping AST for SwiftSyntax600 for debugging
[65/427] Compiling HeapModule Heap+Invariants.swift
[66/427] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[67/427] Compiling _RopeModule BigString+Hashing.swift
[68/427] Compiling DequeModule Deque+CustomReflectable.swift
[69/427] Compiling DequeModule Deque+Descriptions.swift
[70/427] Compiling DequeModule Deque+Equatable.swift
[71/427] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[72/429] Compiling DequeModule _DequeBuffer.swift
[73/429] Compiling DequeModule _DequeBufferHeader.swift
[74/429] Compiling HeapModule _HeapNode.swift
[75/429] Compiling HeapModule Heap.swift
[76/429] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[77/429] Compiling HeapModule Heap+Descriptions.swift
[78/429] Compiling HeapModule Heap+UnsafeHandle.swift
[79/429] Emitting module HeapModule
[80/430] Compiling DequeModule Deque+Extras.swift
[81/430] Compiling DequeModule Deque+Hashable.swift
[82/430] Compiling _RopeModule RopeElement.swift
[83/430] Compiling _RopeModule RopeMetric.swift
[84/430] Compiling _RopeModule RopeSummary.swift
[85/430] Compiling _RopeModule _RopeItem.swift
[86/430] Compiling _RopeModule _RopePath.swift
[87/430] Compiling _RopeModule BigString+UnicodeScalarView.swift
[88/430] Compiling _RopeModule BigSubstring+UTF16View.swift
[89/430] Compiling _RopeModule BigSubstring+UTF8View.swift
[90/430] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[91/430] Compiling _RopeModule BigSubstring.swift
[100/440] Compiling _RopeModule Rope+_Storage.swift
[101/440] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[102/440] Compiling _RopeModule Rope+_UnsafeHandle.swift
[103/440] Compiling _RopeModule Rope.swift
[107/447] Compiling DequeModule _DequeSlot.swift
[108/447] Compiling DequeModule _UnsafeWrappedBuffer.swift
[109/447] Compiling DequeModule Deque+Codable.swift
[110/447] Compiling DequeModule Deque+Collection.swift
[117/447] Compiling DequeModule Deque+Testing.swift
[118/447] Compiling DequeModule Deque._Storage.swift
[119/447] Compiling DequeModule Deque._UnsafeHandle.swift
[120/447] Compiling DequeModule Deque.swift
[123/454] Emitting module BitCollections
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 | s.state += UInt(c)
75 | }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| |- error: generic parameter 'Pointee' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
74 | s.state += UInt(c)
75 | }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 | s.state += UInt(c)
75 | }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| |- error: generic parameter 'Pointee' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
74 | s.state += UInt(c)
75 | }
[130/454] Compiling BitCollections BitSet.swift
[131/454] Compiling BitCollections Range+Utilities.swift
[132/454] Compiling BitCollections Slice+Utilities.swift
[133/454] Compiling BitCollections UInt+Tricks.swift
[134/454] Compiling BitCollections _Word.swift
[135/454] Compiling OrderedCollections OrderedSet.swift
[136/454] Compiling OrderedCollections _UnsafeBitset.swift
[137/454] Compiling _RopeModule Rope+Sequence.swift
[138/454] Compiling _RopeModule Rope+Append.swift
[139/454] Compiling _RopeModule Rope+Extract.swift
[147/454] Compiling _RopeModule BigString+Append.swift
[148/454] Compiling _RopeModule BigString+Initializers.swift
[149/454] Compiling _RopeModule BigString+Insert.swift
[150/454] Compiling _RopeModule BigString+Managing Breaks.swift
[151/454] Compiling _RopeModule BigString+RemoveSubrange.swift
[152/454] Compiling _RopeModule BigString+ReplaceSubrange.swift
[153/454] Compiling _RopeModule BigString+Split.swift
[154/454] Compiling _RopeModule Range+BigString.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 29 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelIds_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedIdsSlice_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactEncodingSlice_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitCoding_EqualExpectedJSON.2.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitCoding_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultCoding_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsSlice_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultCoding_EqualExpectedJSON.2.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedFragments_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedEntitiesEntitiesAndIds_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactEncodingSlice_EqualExpectedJSON.2.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedEntities_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQuerySchemaOlderRange_IncludesEntitiesUpdatedWithinRange.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitEncodingSlice_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryFullSchemaFragments_IncludesAllEntities.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedEntitiesAndIds_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModel_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelId_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsAndFilter_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModels_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactCoding_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryFullSchema_IncludesAllEntities.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultEncodingSlice_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQuerySchemaLatestRange_IncludesEntitiesUpdatedWithinRange.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedIds_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactCoding_EqualExpectedJSON.2.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitEncodingSlice_EqualExpectedJSON.2.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsAndSort_EqualExpectedJSON.1.json
/host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultEncodingSlice_EqualExpectedJSON.2.json
[0/1] Planning build
Building for debugging...
[0/21] Write swift-version-24593BA9C3E375BF.txt
[2/56] Emitting module SwiftSyntax600
[3/56] Compiling SwiftSyntax600 Empty.swift
[4/57] Compiling SwiftSyntax509 Empty.swift
[5/57] Emitting module SwiftSyntax509
[6/58] Compiling SwiftSyntax510 Empty.swift
[7/58] Emitting module SwiftSyntax510
[9/58] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/57] Compiling BTree Map.swift
[13/57] Compiling BTree SortedBag.swift
[14/57] Compiling BTree Compatibility.swift
[15/57] Compiling BTree List.swift
[16/57] Compiling BTree BTree.swift
[17/57] Compiling BTree BTreeBuilder.swift
[18/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/121] Compiling SwiftSyntax Convenience.swift
[20/121] Compiling SwiftSyntax CustomTraits.swift
[21/121] Emitting module InternalCollectionsUtilities
[22/121] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[23/121] Compiling SwiftSyntax Assert.swift
[24/121] Compiling SwiftSyntax BumpPtrAllocator.swift
[25/121] Compiling SwiftSyntax CommonAncestor.swift
[27/122] Compiling SwiftSyntax MissingNodeInitializers.swift
[28/122] Compiling SwiftSyntax RawSyntax.swift
[29/122] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 | s.state += UInt(c)
75 | }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| |- error: generic parameter 'Pointee' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
74 | s.state += UInt(c)
75 | }
[30/122] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 | s.state += UInt(c)
75 | }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| |- error: generic parameter 'Pointee' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
74 | s.state += UInt(c)
75 | }
[31/122] Compiling SwiftSyntax Identifier.swift
[32/122] Compiling SwiftSyntax MemoryLayout.swift
[33/132] Compiling HeapModule Heap+Invariants.swift
[34/214] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[35/398] Compiling HeapModule Heap+Descriptions.swift
[36/398] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[37/398] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[38/400] Compiling HeapModule _HeapNode.swift
[39/400] Compiling HashTreeCollections _HashTreeStatistics.swift
[40/400] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[41/400] Compiling HeapModule Heap.swift
[42/400] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[43/400] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[44/400] Compiling HeapModule Heap+UnsafeHandle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/400] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[48/400] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[49/400] Compiling HashTreeCollections _HashNode.swift
[50/400] Emitting module HeapModule
[52/401] Compiling DequeModule _DequeSlot.swift
[53/401] Compiling DequeModule _UnsafeWrappedBuffer.swift
[54/401] Compiling HashTreeCollections TreeSet+Hashable.swift
[55/401] Compiling HashTreeCollections TreeSet+Sendable.swift
[56/401] Compiling HashTreeCollections TreeSet+Sequence.swift
[57/401] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[58/401] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[59/401] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[60/401] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[61/401] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[62/401] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[63/401] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[64/401] Compiling HashTreeCollections TreeDictionary.swift
[65/401] Compiling HashTreeCollections TreeSet+Codable.swift
[66/401] Compiling HashTreeCollections TreeSet+Collection.swift
[67/401] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[68/401] Compiling HashTreeCollections TreeSet+Debugging.swift
[69/401] Compiling HashTreeCollections TreeSet+Descriptions.swift
[70/401] Compiling HashTreeCollections TreeSet+Equatable.swift
[71/401] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[72/401] Compiling HashTreeCollections TreeSet+Extras.swift
[73/401] Compiling HashTreeCollections TreeSet+Filter.swift
[76/411] Compiling HashTreeCollections TreeDictionary+Merge.swift
[77/411] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[78/411] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[79/411] Compiling HashTreeCollections TreeDictionary+Values.swift
[80/411] Compiling HashTreeCollections _AncestorHashSlots.swift
[81/411] Compiling HashTreeCollections _Bitmap.swift
[82/411] Compiling HashTreeCollections _Bucket.swift
[83/411] Compiling HashTreeCollections _Hash.swift
[84/411] Compiling HashTreeCollections _HashLevel.swift
[85/411] Compiling HashTreeCollections _HashNode+Builder.swift
[86/411] Compiling HashTreeCollections _HashNode+Debugging.swift
[87/411] Compiling HashTreeCollections _HashNode+Initializers.swift
[88/411] Compiling HashTreeCollections _HashNode+Invariants.swift
[89/411] Compiling HashTreeCollections _HashNode+Lookups.swift
[90/411] Compiling HashTreeCollections _HashNode+Structural merge.swift
[91/411] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[92/411] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[93/411] Compiling HashTreeCollections TreeDictionary+Filter.swift
[94/411] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[95/411] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[96/411] Compiling HashTreeCollections TreeDictionary+Keys.swift
[97/411] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[102/418] Compiling HashTreeCollections _HashNode+Structural union.swift
[103/418] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[104/418] Compiling HashTreeCollections _UnsafePath.swift
[105/418] Compiling HashTreeCollections TreeDictionary+Codable.swift
[106/418] Compiling HashTreeCollections TreeDictionary+Collection.swift
[107/418] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[108/418] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[109/418] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[110/418] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
BUILD FAILURE 6.1 wasm