The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftletModel, reference 0.21.2 (1d4286), with Swift 6.2 for Wasm on 10 Apr 2026 16:58:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/SwiftletModel.git
Reference: 0.21.2
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
 * tag               0.21.2     -> FETCH_HEAD
HEAD is now at 1d42865 Access-level-fix-for-RegexPredicate (#129)
Cloned https://github.com/KazaiMazai/SwiftletModel.git
Revision (git rev-parse @):
1d42865fe69161280e3292df7db300c00d6c6650
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/SwiftletModel.git at 0.21.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/KazaiMazai/SwiftletModel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/swiftlang/swift-syntax
[1/3349] Fetching btree
[470/26874] Fetching btree, swift-collections
[4997/101811] Fetching btree, swift-collections, swift-syntax
Fetched https://github.com/attaswift/BTree from cache (0.93s)
[3896/98462] Fetching swift-collections, swift-syntax
[6894/114508] Fetching swift-collections, swift-syntax, swift-snapshot-testing
Fetched https://github.com/apple/swift-collections.git from cache (3.82s)
[64497/90983] Fetching swift-syntax, swift-snapshot-testing
Fetched https://github.com/swiftlang/swift-syntax from cache (12.75s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (12.76s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (14.97s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.67s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.39s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.42s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.82s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.97s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.39s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
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/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
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.4.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.39s)
Building for debugging...
[0/19] Write sources
[12/19] Write swift-version-24593BA9C3E375BF.txt
[14/64] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/66] 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)
[16/68] Compiling BTree Weak.swift
[17/68] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[18/68] Compiling SwiftletModelMacros UniqueAttributes.swift
[19/68] Compiling SwiftletModelMacros IndexDiagnostic.swift
[20/68] Compiling SwiftletModelMacros AccessAttributes.swift
[21/68] Compiling SwiftletModelMacros IndexAttributes.swift
[22/68] Compiling SwiftletModelMacros PropertyAttributes.swift
[23/68] Compiling SwiftletModelMacros PropertyWrapperAttributes.swift
[26/68] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[28/68] Compiling BTree SortedSet.swift
[32/68] Compiling BTree BridgedList.swift
[33/68] Compiling BTree Compatibility.swift
[34/68] Compiling SwiftletModelMacros RelationshipAttributes.swift
[35/68] Compiling SwiftletModelMacros SearchIndexAttributes.swift
[36/68] Compiling BTree BTreePath.swift
[39/68] Compiling BTree Map.swift
[40/68] Compiling BTree SortedBag.swift
[43/68] Compiling BTree List.swift
[48/264] Compiling HeapModule Heap+Invariants.swift
[49/264] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[50/297] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[51/297] Compiling BitCollections BitArray+Extras.swift
[52/297] Compiling BitCollections BitArray+Fill.swift
[53/297] Compiling BitCollections BitArray+Hashable.swift
[54/297] Compiling BitCollections BitArray+Initializers.swift
[55/297] Compiling HashTreeCollections _HashNode+Builder.swift
[56/297] Compiling HashTreeCollections _HashNode+Debugging.swift
[57/297] Compiling HashTreeCollections _HashNode+Initializers.swift
[58/297] Compiling BitCollections BitArray+Equatable.swift
[59/297] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[60/310] Compiling BitCollections BitArray+Testing.swift
[61/310] Compiling BitCollections BitArray._UnsafeHandle.swift
[62/310] Compiling BitCollections BitArray.swift
[63/310] Compiling BitCollections BitSet+BidirectionalCollection.swift
[64/313] Compiling BitCollections BitSet+Equatable.swift
[65/313] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[66/313] Compiling BitCollections BitSet+Extras.swift
[67/313] Compiling BitCollections BitSet+Hashable.swift
[68/331] Compiling HashTreeCollections _HashNode+Structural union.swift
[69/331] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[70/331] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[71/331] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[72/368] Compiling HeapModule Heap+Descriptions.swift
[73/368] Compiling HashTreeCollections _UnmanagedHashNode.swift
[74/368] Compiling HashTreeCollections _UnsafePath.swift
[75/368] Compiling HashTreeCollections TreeDictionary+Codable.swift
[76/368] Compiling HashTreeCollections TreeDictionary+Collection.swift
[77/368] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[78/368] Emitting module ContainersPreview
[79/368] Compiling HashTreeCollections _HashStack.swift
[80/368] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[81/368] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[82/368] Compiling HashTreeCollections _HashNode+Storage.swift
[83/368] Compiling HashTreeCollections _AncestorHashSlots.swift
[84/368] Compiling HashTreeCollections _Bitmap.swift
[85/368] Compiling HashTreeCollections _Bucket.swift
[86/368] Compiling HashTreeCollections _Hash.swift
[87/368] Compiling HashTreeCollections _HashLevel.swift
[88/369] Compiling HeapModule _HeapNode.swift
[90/369] Compiling HeapModule Heap.swift
[91/369] Compiling HeapModule Heap+UnsafeHandle.swift
[92/393] Emitting module HeapModule
[94/410] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[95/410] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[96/410] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[97/410] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[98/410] Compiling HashTreeCollections _HashNode+Structural merge.swift
[99/410] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[100/410] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[101/410] Compiling DequeModule UniqueDeque+Equatable.swift
[102/410] Compiling DequeModule UniqueDeque+Experimental.swift
[103/410] Compiling DequeModule UniqueDeque+Hashable.swift
[104/410] Compiling DequeModule UniqueDeque+Initializers.swift
[105/410] Compiling DequeModule UniqueDeque+Insertions.swift
[106/410] Compiling DequeModule UniqueDeque+Prepend.swift
[107/410] Compiling DequeModule UniqueDeque+Removals.swift
[108/417] Compiling HashTreeCollections TreeSet+Hashable.swift
[109/417] Compiling HashTreeCollections TreeSet+Sendable.swift
[110/417] Compiling HashTreeCollections TreeSet+Sequence.swift
[111/417] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[112/417] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[113/417] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[114/417] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[115/417] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[116/417] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[117/417] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[118/427] Compiling DequeModule RigidDeque+Experimental.swift
[119/427] Compiling DequeModule RigidDeque+Hashable.swift
[120/427] Compiling DequeModule RigidDeque+Initializers.swift
[121/427] Compiling DequeModule RigidDeque+Insertions.swift
[122/427] Compiling DequeModule RigidDeque+Prepend.swift
[123/427] Compiling DequeModule UniqueDeque+Consumption.swift
[124/427] Compiling DequeModule UniqueDeque+Container.swift
[125/427] Compiling DequeModule UniqueDeque+Descriptions.swift
[143/439] Compiling HashTreeCollections TreeDictionary+Filter.swift
[144/439] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[145/439] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[146/439] Compiling HashTreeCollections TreeDictionary+Keys.swift
[147/439] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[148/439] Compiling HashTreeCollections TreeDictionary+Merge.swift
[149/439] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[150/439] Compiling BitCollections BitSet.Index.swift
[151/439] Compiling DequeModule RigidDeque+Container.swift
[152/439] Compiling DequeModule RigidDeque+Descriptions.swift
[153/439] Compiling DequeModule RigidDeque+Removals.swift
[154/439] Compiling DequeModule RigidDeque+Replacements.swift
[155/439] Compiling DequeModule RigidDeque+Testing.swift
[156/439] Compiling DequeModule RigidDeque.swift
[157/439] Compiling DequeModule UniqueDeque+Append.swift
[158/439] Compiling DequeModule RigidDeque+Equatable.swift
[159/439] Compiling DequeModule Deque+Testing.swift
[160/439] Compiling DequeModule Deque._Storage.swift
[161/439] Compiling DequeModule Deque._UnsafeHandle.swift
[162/439] Compiling DequeModule Deque.swift
[163/439] Compiling DequeModule _DequeBuffer.swift
[164/439] Compiling DequeModule _DequeBufferHeader.swift
[165/439] Compiling DequeModule RigidDeque+Append.swift
[166/439] Compiling DequeModule RigidDeque+Consumption.swift
[167/439] Compiling BitCollections BitSet.swift
[168/439] Compiling BitCollections Range+Utilities.swift
[169/439] Compiling BitCollections Slice+Utilities.swift
[170/439] Compiling BitCollections UInt+Tricks.swift
[171/439] Compiling BitCollections _Word.swift
[172/439] Compiling OrderedCollections _UnsafeBitset.swift
[173/439] Compiling HashTreeCollections TreeSet+Equatable.swift
[174/439] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[175/439] Compiling HashTreeCollections TreeSet+Extras.swift
[176/439] Compiling HashTreeCollections TreeSet+Filter.swift
[185/439] Compiling DequeModule UniqueDeque+Replacements.swift
[186/439] Compiling DequeModule UniqueDeque.swift
[187/439] Compiling DequeModule _DequeSlot.swift
[188/439] Compiling DequeModule _UnsafeDequeHandle.swift
[189/439] Compiling DequeModule _UnsafeDequeSegments.swift
[226/439] Compiling BitCollections BitSet._UnsafeHandle.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 |             }
/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 |             }
[229/439] Compiling DequeModule Deque+Extras.swift
[230/439] Compiling DequeModule Deque+Hashable.swift
BUILD FAILURE 6.2 wasm