The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftletModel, reference main (c75efc), with Swift 6.2 for Wasm on 16 Jul 2026 14:34:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
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 c75efc3 All-entities-count (#140)
Cloned https://github.com/KazaiMazai/SwiftletModel.git
Revision (git rev-parse @):
c75efc3b07fadd42d5bdf816ef8836fe3e6537c4
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-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax
[1/3349] Fetching btree
Fetched https://github.com/attaswift/BTree from cache (0.48s)
[1/26103] Fetching swift-collections
[18013/102155] Fetching swift-collections, swift-syntax
[37512/118358] Fetching swift-collections, swift-syntax, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.60s)
Fetched https://github.com/apple/swift-collections.git from cache (3.65s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.67s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (4.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.24s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.3 (0.14s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5631] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.80s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.6.1 (0.95s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2578] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.11.0 (1.47s)
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.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-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.6.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.11.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.6.0
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.30s)
Building for debugging...
[0/19] Write sources
[12/19] Write swift-version-24593BA9C3E375BF.txt
[14/64] Emitting module InternalCollectionsUtilities
[15/66] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/66] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/66] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/66] Compiling InternalCollectionsUtilities String+Padding.swift
[20/66] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/68] Compiling BTree Weak.swift
[24/68] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[25/68] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[26/68] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/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)
[28/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/68] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/68] Compiling BTree SortedSet.swift
[33/68] Compiling InternalCollectionsUtilities Integer rank.swift
[34/68] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[35/68] Compiling InternalCollectionsUtilities UInt+reversed.swift
[40/68] Compiling InternalCollectionsUtilities Debugging.swift
[41/68] Compiling InternalCollectionsUtilities Descriptions.swift
[42/68] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[44/343] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[45/355] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[46/355] Compiling HashTreeCollections _HashNode+Structural merge.swift
[47/355] Compiling HashTreeCollections _HashTreeIterator.swift
[48/355] Compiling HashTreeCollections _HashTreeStatistics.swift
[49/355] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[50/355] Compiling HashTreeCollections _AncestorHashSlots.swift
[51/355] Compiling HashTreeCollections _Bitmap.swift
[52/355] Compiling HashTreeCollections _Bucket.swift
[53/355] Compiling HashTreeCollections _Hash.swift
[54/355] Compiling HashTreeCollections _HashLevel.swift
[55/366] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[56/366] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[57/366] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[58/366] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[59/366] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[60/373] Compiling HashTreeCollections _HashNode+Structural filter.swift
[61/373] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[62/373] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[63/373] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[64/373] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[65/373] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[66/373] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[67/373] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[68/373] Compiling HashTreeCollections _HashNode+Storage.swift
[69/373] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[70/373] Compiling HashTreeCollections _RawHashNode.swift
[71/373] Compiling HashTreeCollections _UnmanagedHashNode.swift
[72/373] Compiling HashTreeCollections _UnsafePath.swift
[73/373] Compiling HashTreeCollections TreeDictionary+Codable.swift
[74/373] Compiling HashTreeCollections TreeDictionary+Collection.swift
[75/373] Emitting module ContainersPreview
[76/373] Compiling ContainersPreview Ref.swift
[77/373] Compiling ContainersPreview Shared.swift
[78/373] Compiling ContainersPreview SpanIterator.swift
[79/373] Compiling ContainersPreview UniqueBox.swift
[80/373] Compiling HeapModule _HeapNode.swift
[81/373] Compiling HashTreeCollections _HashNode+Builder.swift
[82/373] Compiling HashTreeCollections _HashNode+Debugging.swift
[83/373] Compiling HashTreeCollections _HashNode+Initializers.swift
[84/373] Compiling HashTreeCollections _HashNode+Invariants.swift
[85/373] Compiling HashTreeCollections _HashNode+Lookups.swift
[89/374] Compiling HeapModule Heap.swift
[90/374] Compiling HeapModule Heap+Descriptions.swift
[91/374] Compiling HeapModule Heap+Invariants.swift
[92/374] Compiling HeapModule Heap+UnsafeHandle.swift
[93/415] Emitting module HeapModule
[94/416] Compiling DequeModule RigidDeque+Removals.swift
[95/416] Compiling DequeModule RigidDeque+Replacements.swift
[96/416] Compiling DequeModule RigidDeque+Testing.swift
[97/416] Compiling DequeModule RigidDeque.swift
[98/416] Compiling DequeModule UniqueDeque+Append.swift
[99/416] Compiling DequeModule UniqueDeque+Consumption.swift
[100/416] Compiling DequeModule UniqueDeque+Container.swift
[101/416] Compiling DequeModule UniqueDeque+Deprecated.swift
[102/416] Compiling DequeModule Deque+Testing.swift
[103/416] Compiling DequeModule Deque._Storage.swift
[104/416] Compiling DequeModule Deque._UnsafeHandle.swift
[105/416] Compiling DequeModule Deque.swift
[106/416] Compiling DequeModule RigidDeque+Equatable.swift
[107/416] Compiling DequeModule RigidDeque+Experimental.swift
[108/416] Compiling DequeModule RigidDeque+Hashable.swift
[109/416] Compiling DequeModule RigidDeque+Initializers.swift
[111/423] Compiling HashTreeCollections TreeSet+Hashable.swift
[112/423] Compiling HashTreeCollections TreeSet+Sendable.swift
[113/423] Compiling HashTreeCollections TreeSet+Sequence.swift
[114/423] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[115/423] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[116/423] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[117/423] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[118/423] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[119/423] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[120/423] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[121/433] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[122/433] Compiling HashTreeCollections TreeDictionary+Keys.swift
[123/433] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[124/433] Compiling HashTreeCollections TreeDictionary+Merge.swift
[125/433] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[126/433] Compiling BitCollections BitSet.Index.swift
[127/433] Compiling BitCollections BitSet._UnsafeHandle.swift
[128/433] Compiling BitCollections BitSet.swift
[129/433] Compiling HashTreeCollections _HashNode.swift
[130/433] Compiling HashTreeCollections _HashNodeHeader.swift
[131/433] Compiling HashTreeCollections _HashSlot.swift
[132/433] Compiling HashTreeCollections _HashStack.swift
[133/433] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[134/433] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[135/433] Compiling HashTreeCollections TreeDictionary+Filter.swift
[136/433] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[137/440] Emitting module BitCollections
[138/440] Compiling DequeModule Deque+Equatable.swift
[139/440] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[140/440] Compiling DequeModule Deque+Extras.swift
[141/440] Compiling DequeModule Deque+Hashable.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 |             }
[144/440] Compiling DequeModule UniqueDeque+Descriptions.swift
[145/440] Compiling DequeModule UniqueDeque+Equatable.swift
[146/440] Compiling DequeModule UniqueDeque+Experimental.swift
[147/440] Compiling DequeModule UniqueDeque+Hashable.swift
[148/440] Compiling DequeModule UniqueDeque+Initializers.swift
[149/440] Compiling DequeModule UniqueDeque+Insertions.swift
[150/440] Compiling DequeModule UniqueDeque+Prepend.swift
BUILD FAILURE 6.2 wasm