Build Information
Failed to build SwiftletModel, reference main (1d4286), with Swift 6.2 for Wasm on 10 Apr 2026 17:25:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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 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 main
========================================
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-4609320-2":/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/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BTree
[1/3349] Fetching btree
[1207/26874] Fetching btree, swift-collections
[10375/101811] Fetching btree, swift-collections, swift-syntax
[25867/117857] Fetching btree, swift-collections, swift-syntax, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.76s)
Fetched https://github.com/attaswift/BTree from cache (8.75s)
Fetched https://github.com/apple/swift-collections.git from cache (8.78s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.81s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (11.21s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.62s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.34s)
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.34s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.68s)
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.70s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.05s)
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
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-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
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/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
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.42s)
Building for debugging...
[0/19] Write sources
[12/19] Write swift-version-24593BA9C3E375BF.txt
[14/64] Compiling BTree Compatibility.swift
[15/64] Compiling BTree List.swift
[16/66] Compiling BTree Weak.swift
[17/66] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[18/68] Compiling BTree SortedBag.swift
[19/68] Compiling BTree SortedSet.swift
[20/68] Compiling InternalCollectionsUtilities _SortedCollection.swift
[21/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/68] Compiling BTree BTreeCursor.swift
[23/68] Compiling BTree BTreeIndex.swift
[24/68] Compiling BTree BTreeIterator.swift
[25/68] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[26/68] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/68] Compiling BTree BTreePath.swift
[29/68] Compiling BTree Map.swift
[30/68] Compiling BTree BridgedList.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/68] 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)
[33/68] Emitting module InternalCollectionsUtilities
[34/68] Compiling BTree BTree.swift
[35/68] Compiling BTree BTreeBuilder.swift
[36/68] Compiling BTree BTreeComparisons.swift
[48/268] Compiling BitCollections BitArray+Initializers.swift
[49/268] Compiling BitCollections BitArray+Invariants.swift
[50/356] Compiling HashTreeCollections _HashNode+Builder.swift
[51/356] Compiling HashTreeCollections _HashNode+Debugging.swift
[52/356] Compiling HashTreeCollections _HashNode+Initializers.swift
[53/356] Compiling HashTreeCollections _HashNode+Invariants.swift
[54/356] Compiling HashTreeCollections _HashNode+Lookups.swift
[55/356] Compiling HashTreeCollections TreeDictionary+Codable.swift
[56/356] Compiling HashTreeCollections TreeDictionary+Collection.swift
[57/356] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[58/356] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[59/368] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[60/368] Compiling HashTreeCollections _RawHashNode.swift
[61/368] Compiling HashTreeCollections _UnmanagedHashNode.swift
[62/368] Compiling HashTreeCollections _UnsafePath.swift
[63/368] Compiling HashTreeCollections _HashSlot.swift
[64/368] Compiling HashTreeCollections _HashStack.swift
[65/368] Compiling HashTreeCollections _HashTreeIterator.swift
[66/368] Compiling HashTreeCollections _HashTreeStatistics.swift
[67/368] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[68/368] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[69/368] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[70/368] Compiling HashTreeCollections _HashNode+Structural union.swift
[71/368] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[72/368] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[73/368] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[74/368] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[75/368] Compiling HashTreeCollections _HashNode.swift
[76/368] Compiling HashTreeCollections _HashNodeHeader.swift
[77/368] Compiling HeapModule Heap.swift
[78/368] Emitting module ContainersPreview
[79/368] Compiling ContainersPreview Box.swift
[80/368] Compiling ContainersPreview Inout.swift
[81/368] Compiling ContainersPreview InputSpan.swift
[82/368] Compiling ContainersPreview Shared.swift
[83/368] Compiling HeapModule _HeapNode.swift
[84/368] Compiling HashTreeCollections _AncestorHashSlots.swift
[85/368] Compiling HashTreeCollections _Bitmap.swift
[86/368] Compiling HashTreeCollections _Bucket.swift
[87/368] Compiling HashTreeCollections _Hash.swift
[88/368] Compiling HashTreeCollections _HashLevel.swift
[90/369] Compiling HeapModule Heap+Invariants.swift
[91/369] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[92/369] Compiling HeapModule Heap+Descriptions.swift
[93/369] Compiling HeapModule Heap+UnsafeHandle.swift
[94/384] Emitting module HeapModule
[96/410] Compiling DequeModule RigidDeque+Container.swift
[97/410] Compiling DequeModule RigidDeque+Descriptions.swift
[98/410] Compiling DequeModule RigidDeque+Equatable.swift
[99/410] Compiling DequeModule RigidDeque+Experimental.swift
[100/410] Compiling DequeModule RigidDeque+Hashable.swift
[101/410] Compiling DequeModule RigidDeque+Initializers.swift
[102/410] Compiling DequeModule RigidDeque+Insertions.swift
[103/410] Compiling DequeModule RigidDeque+Prepend.swift
[104/417] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[105/417] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[106/417] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[107/417] Compiling HashTreeCollections _HashNode+Structural merge.swift
[108/417] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[109/417] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[110/417] Compiling HashTreeCollections TreeDictionary+Filter.swift
[111/424] Compiling DequeModule Deque+Testing.swift
[112/424] Compiling DequeModule Deque._Storage.swift
[113/424] Compiling DequeModule Deque._UnsafeHandle.swift
[114/424] Compiling DequeModule Deque.swift
[115/424] Compiling DequeModule _DequeBuffer.swift
[116/424] Compiling DequeModule _DequeBufferHeader.swift
[117/424] Compiling DequeModule RigidDeque+Append.swift
[118/424] Compiling DequeModule RigidDeque+Consumption.swift
[119/424] Compiling OrderedCollections OrderedSet+SubSequence.swift
[120/424] Compiling OrderedCollections OrderedSet+Testing.swift
[121/424] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[122/424] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[123/424] Compiling OrderedCollections OrderedSet.swift
[124/424] Compiling OrderedCollections _UnsafeBitset.swift
[125/424] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[126/424] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[127/424] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[128/424] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[129/434] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[130/434] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[131/434] Compiling HashTreeCollections TreeDictionary+Keys.swift
[132/434] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[133/434] Compiling HashTreeCollections TreeDictionary+Merge.swift
[134/434] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[135/434] Compiling BitCollections BitSet.Index.swift
[136/434] Compiling DequeModule UniqueDeque+Consumption.swift
[137/434] Compiling DequeModule UniqueDeque+Container.swift
[138/434] Compiling DequeModule UniqueDeque+Descriptions.swift
[139/434] Compiling DequeModule UniqueDeque+Equatable.swift
[140/434] Compiling DequeModule UniqueDeque+Experimental.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 | }
BUILD FAILURE 6.2 wasm