The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftletModel, reference 0.15.0 (34f732), with Swift 6.2 for Wasm on 21 Nov 2025 00:37:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/SwiftletModel.git
Reference: 0.15.0
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.15.0     -> FETCH_HEAD
HEAD is now at 34f7325 Resolve in context (#102)
Cloned https://github.com/KazaiMazai/SwiftletModel.git
Revision (git rev-parse @):
34f7325f4127fbbd9621de05310d022c32e4ef0d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/SwiftletModel.git at 0.15.0
========================================
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
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
[3350/21663] Fetching btree, swift-collections
Fetched https://github.com/attaswift/BTree from cache (0.35s)
[2015/18314] Fetching swift-collections
[7510/91258] Fetching swift-collections, swift-syntax
[21392/106890] Fetching swift-collections, swift-syntax, swift-snapshot-testing
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
[28293/88576] Fetching swift-syntax, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.08s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.65s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (6.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.52s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.27s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.34s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.63s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (0.95s)
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.3.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.7.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.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/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
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.41s)
Building for debugging...
[0/18] Write sources
[11/18] Write swift-version-24593BA9C3E375BF.txt
[13/60] Compiling InternalCollectionsUtilities _SortedCollection.swift
[14/60] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/60] Compiling InternalCollectionsUtilities Debugging.swift
[16/60] Compiling InternalCollectionsUtilities Descriptions.swift
[17/62] Compiling BTree BTreeComparisons.swift
[18/62] Compiling BTree BTreeCursor.swift
[19/62] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/62] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[21/62] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/64] 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)
[28/64] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[29/64] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/64] Compiling BTree BTreeMerger.swift
[32/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[33/64] Emitting module InternalCollectionsUtilities
[34/64] Compiling BTree Weak.swift
[35/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[39/64] Compiling BTree SortedSet.swift
[41/339] Compiling HeapModule Heap+Invariants.swift
[42/339] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[43/339] Compiling HeapModule Heap+Descriptions.swift
[44/339] Compiling _RopeModule BigString+Builder.swift
[45/339] Compiling _RopeModule BigString+Contents.swift
[46/341] Compiling DequeModule _DequeSlot.swift
[47/341] Compiling DequeModule _UnsafeWrappedBuffer.swift
[48/341] Compiling _RopeModule BigString+Chunk+Counts.swift
[49/341] Compiling _RopeModule BigString+Chunk+Description.swift
[50/341] Compiling HeapModule Heap.swift
[51/341] Compiling HeapModule _HeapNode.swift
[52/341] Compiling _RopeModule BigString+Summary.swift
[53/341] Compiling _RopeModule BigString.swift
[54/341] Compiling _RopeModule BigString+Ingester.swift
[55/341] Compiling _RopeModule BigString+Invariants.swift
[56/341] Compiling _RopeModule BigString+Iterators.swift
[57/341] Compiling _RopeModule BigString+Metrics.swift
[58/341] Compiling HeapModule Heap+UnsafeHandle.swift
[59/341] Emitting module HeapModule
[61/342] Compiling _RopeModule Rope+ForEachWhile.swift
[62/342] Compiling _RopeModule Rope+Insert.swift
[63/342] Compiling HashTreeCollections TreeSet+Sequence.swift
[64/342] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[65/342] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[66/342] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[67/342] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[68/342] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[69/342] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[70/342] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[73/352] Compiling _RopeModule Rope+Invariants.swift
[74/352] Compiling _RopeModule Rope+_Node.swift
[75/352] Compiling _RopeModule Rope+_Storage.swift
[76/352] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[77/352] Compiling _RopeModule Rope+_UnsafeHandle.swift
[78/352] Compiling _RopeModule Rope.swift
[79/352] Compiling _RopeModule RopeElement.swift
[80/359] Compiling _RopeModule BigString+UnicodeScalarView.swift
[81/359] Compiling _RopeModule BigSubstring+UTF16View.swift
[82/359] Compiling _RopeModule BigSubstring+UTF8View.swift
[83/359] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[84/359] Compiling _RopeModule BigSubstring.swift
[85/359] Compiling _RopeModule Rope+Builder.swift
[86/359] Compiling _RopeModule Rope+Debugging.swift
[87/359] Compiling _RopeModule BigString+UTF16View.swift
[88/359] Compiling _RopeModule BigString+UTF8View.swift
[94/359] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[95/359] Compiling _RopeModule BigString+Hashing.swift
[96/359] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[97/359] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[98/359] Compiling _RopeModule BigString+Sequence.swift
[99/359] Compiling _RopeModule BigString+TextOutputStream.swift
[100/359] Compiling _RopeModule BigString+Append.swift
[101/359] Compiling _RopeModule BigString+Initializers.swift
[102/359] Compiling _RopeModule BigString+Insert.swift
[103/359] Compiling _RopeModule BigString+Managing Breaks.swift
[104/359] Compiling _RopeModule BigString+RemoveSubrange.swift
[105/359] Compiling _RopeModule BigString+ReplaceSubrange.swift
[106/359] Compiling _RopeModule BigString+Split.swift
[107/359] Compiling _RopeModule Range+BigString.swift
[108/366] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[109/366] Compiling _RopeModule BigString+Chunk+Breaks.swift
[126/366] Compiling BitCollections Range+Utilities.swift
[127/366] Compiling BitCollections Slice+Utilities.swift
[128/366] Compiling BitCollections UInt+Tricks.swift
[129/366] Compiling BitCollections _Word.swift
[130/366] Compiling OrderedCollections OrderedSet.swift
[131/366] Compiling OrderedCollections _UnsafeBitset.swift
[132/366] Compiling _RopeModule Rope+Sequence.swift
[133/366] Compiling _RopeModule Rope+Append.swift
[134/366] Compiling _RopeModule Rope+Extract.swift
[135/366] Compiling _RopeModule Rope+Find.swift
[136/366] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[137/366] Compiling _RopeModule BigString+Chunk+Splitting.swift
[138/366] Compiling _RopeModule BigString+Chunk.swift
[139/366] Compiling _RopeModule BigString+BidirectionalCollection.swift
[140/366] Compiling _RopeModule BigString+Comparable.swift
[141/366] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[142/366] Compiling _RopeModule BigString+CustomStringConvertible.swift
[143/366] Compiling _RopeModule BigString+Equatable.swift
[167/366] Compiling BitCollections BitSet.Index.swift
[168/366] Compiling BitCollections BitSet._UnsafeHandle.swift
[169/366] Compiling BitCollections BitSet.swift
[170/366] Compiling _RopeModule BigString+Debugging.swift
[171/366] Compiling _RopeModule BigString+Index.swift
[172/366] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[173/366] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[174/366] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[175/366] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[176/366] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[177/366] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[178/366] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[179/366] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[180/366] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[181/366] Compiling HashTreeCollections TreeSet.swift
[182/366] Emitting module BitCollections
[183/366] Emitting module DequeModule
/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