The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenFoundationModels, reference 1.18.0 (be5548), with Swift 6.3 for Wasm on 24 Apr 2026 12:13:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/OpenFoundationModels.git
Reference: 1.18.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/1amageek/OpenFoundationModels
 * tag               1.18.0     -> FETCH_HEAD
HEAD is now at be5548f Ignore firebase-debug.log
Cloned https://github.com/1amageek/OpenFoundationModels.git
Revision (git rev-parse @):
be5548fa184c61b0c06b8601a4e63e6393af65b9
SUCCESS checkout https://github.com/1amageek/OpenFoundationModels.git at 1.18.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/1amageek/OpenFoundationModels.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/1amageek/swift-generation.git
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/202] Fetching jsonschema
[181/438] Fetching jsonschema, swift-generation
[439/6685] Fetching jsonschema, swift-generation, swift-async-algorithms
Fetched https://github.com/mattt/JSONSchema.git from cache (1.22s)
Fetched https://github.com/1amageek/swift-generation.git from cache (1.22s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.22s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (1.97s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.48s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (11.98s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.04s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.11s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (2.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.60s)
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/mattt/JSONSchema.git
Working copy of https://github.com/mattt/JSONSchema.git resolved at 1.3.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/1amageek/swift-generation.git
Working copy of https://github.com/1amageek/swift-generation.git resolved at 0.5.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.38s)
Building for debugging...
[0/15] Write sources
[11/15] Write swift-version-24593BA9C3E375BF.txt
[13/35] Emitting module InternalCollectionsUtilities
[14/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/37] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[17/37] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[18/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[19/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[20/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[21/37] Compiling InternalCollectionsUtilities Integer rank.swift
[22/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[23/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[24/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[25/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/37] Compiling InternalCollectionsUtilities Debugging.swift
[29/37] Compiling InternalCollectionsUtilities Descriptions.swift
[30/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[31/37] Compiling InternalCollectionsUtilities String+Padding.swift
[32/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[34/64] Emitting module ContainersPreview
[35/89] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[36/89] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[37/89] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[38/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[39/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[40/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[41/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[42/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[43/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[44/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[45/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[46/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[47/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[48/130] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[49/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[50/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[51/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[52/130] Compiling OrderedCollections _HashTable+Bucket.swift
[53/130] Compiling OrderedCollections _HashTable+BucketIterator.swift
[54/130] Compiling OrderedCollections _HashTable+Constants.swift
[55/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[56/130] Compiling OrderedCollections _HashTable+Testing.swift
[57/130] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[58/130] Compiling OrderedCollections _HashTable.swift
[59/130] Compiling OrderedCollections _Hashtable+Header.swift
[60/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[61/130] Compiling ContainersPreview Container.swift
[62/130] Compiling ContainersPreview ContainerIterator.swift
[63/130] Compiling ContainersPreview DynamicContainer.swift
[64/130] Compiling OrderedCollections OrderedSet+Invariants.swift
[65/130] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[66/130] Compiling ContainersPreview OutputSpan+Extras.swift
[67/130] Compiling ContainersPreview TemporaryAllocation.swift
[68/130] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[69/130] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[70/130] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[79/178] Compiling DequeModule Deque+Codable.swift
[80/178] Compiling DequeModule Deque+Collection.swift
[81/178] Compiling DequeModule Deque+CustomReflectable.swift
[82/178] Compiling DequeModule Deque+Descriptions.swift
[83/178] Compiling DequeModule Deque+Equatable.swift
[84/178] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/178] Compiling DequeModule RigidDeque+Equatable.swift
[86/178] Compiling DequeModule RigidDeque+Experimental.swift
[87/178] Compiling DequeModule RigidDeque+Descriptions.swift
[88/178] Compiling OrderedCollections OrderedSet+Codable.swift
[89/178] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[90/178] Compiling OrderedCollections OrderedSet+Descriptions.swift
[91/178] Compiling OrderedCollections OrderedSet+Diffing.swift
[92/178] Compiling OrderedCollections OrderedSet+Equatable.swift
[93/178] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[94/178] Compiling OrderedCollections OrderedSet+Hashable.swift
[95/178] Compiling DequeModule UniqueDeque+Prepend.swift
[96/178] Compiling DequeModule UniqueDeque+Removals.swift
[97/178] Compiling DequeModule _DequeBuffer.swift
[98/178] Compiling DequeModule _DequeBufferHeader.swift
[99/178] Compiling DequeModule RigidDeque+Append.swift
[100/178] Compiling DequeModule RigidDeque+Consumption.swift
[101/178] Compiling DequeModule RigidDeque+Container.swift
[102/178] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[103/178] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[104/178] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[105/178] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[106/178] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[107/178] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[108/178] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[109/178] Compiling OrderedCollections OrderedDictionary+Values.swift
[112/178] Compiling DequeModule RigidDeque+Hashable.swift
[113/178] Compiling DequeModule RigidDeque+Initializers.swift
[114/178] Compiling DequeModule RigidDeque+Insertions.swift
[115/178] Compiling DequeModule RigidDeque+Prepend.swift
[116/178] Compiling DequeModule RigidDeque+Removals.swift
[117/178] Compiling DequeModule RigidDeque+Replacements.swift
[118/178] Compiling DequeModule RigidDeque+Testing.swift
[119/178] Compiling DequeModule RigidDeque.swift
[120/178] Compiling DequeModule UniqueDeque+Append.swift
[127/178] Compiling DequeModule UniqueDeque+Hashable.swift
[128/178] Compiling DequeModule UniqueDeque+Initializers.swift
[129/178] Compiling DequeModule UniqueDeque+Insertions.swift
[138/183] Compiling DequeModule UniqueDeque+Equatable.swift
[139/183] Compiling DequeModule UniqueDeque+Experimental.swift
[140/183] Compiling DequeModule Deque+Extras.swift
[141/183] Compiling DequeModule Deque+Hashable.swift
[142/183] Compiling DequeModule Deque+Testing.swift
[143/183] Compiling DequeModule Deque._Storage.swift
[144/183] Compiling DequeModule Deque._UnsafeHandle.swift
[145/183] Compiling DequeModule Deque.swift
[154/183] Compiling OrderedCollections OrderedSet+Sendable.swift
[155/183] Compiling OrderedCollections OrderedSet+SubSequence.swift
[156/183] Compiling OrderedCollections OrderedSet+Testing.swift
[157/183] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[158/183] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[159/183] Compiling OrderedCollections OrderedSet.swift
[160/183] Compiling OrderedCollections _UnsafeBitset.swift
[161/183] Compiling DequeModule UniqueDeque+Consumption.swift
[162/183] Compiling DequeModule UniqueDeque+Container.swift
[163/183] Compiling DequeModule UniqueDeque+Descriptions.swift
[166/183] Emitting module OrderedCollections
[174/187] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[175/187] Emitting module GenerationMacrosImpl
[177/188] Emitting module DequeModule
[177/188] Wrapping AST for GenerationMacrosImpl for debugging
[178/188] Write Objects.LinkFileList
[179/188] Linking GenerationMacrosImpl-tool
[181/188] Compiling DequeModule UniqueDeque+Replacements.swift
[182/188] Compiling DequeModule UniqueDeque.swift
[183/188] Compiling DequeModule _DequeSlot.swift
[184/188] Compiling DequeModule _UnsafeDequeHandle.swift
[185/188] Compiling DequeModule _UnsafeDequeSegments.swift
[187/271] Emitting module SwiftGeneration
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[188/275] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[189/275] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[190/275] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[191/275] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[192/275] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[193/275] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[194/275] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[195/275] Compiling AsyncAlgorithms BoundedBufferStorage.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[204/282] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[205/282] Compiling AsyncAlgorithms AsyncMapErrorSequence.swift
[206/282] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[207/282] Compiling AsyncAlgorithms AsyncShareSequence.swift
[208/282] Compiling SwiftGeneration InstructionsBuilder.swift
[209/282] Compiling SwiftGeneration Prompt.swift
[210/282] Compiling SwiftGeneration PromptBuilder.swift
[211/282] Compiling SwiftGeneration SchemaCompatibility.swift
[212/282] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[213/282] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[214/282] Compiling AsyncAlgorithms AsyncChannel.swift
[215/282] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[216/282] Compiling JSONSchema JSONValue.swift
[217/282] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[218/282] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[219/282] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[220/282] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[221/282] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[222/282] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[223/282] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[224/282] Compiling AsyncAlgorithms Disconnected.swift
[225/282] Compiling AsyncAlgorithms _TinyArray.swift
[226/282] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[227/282] Compiling AsyncAlgorithms Locking.swift
[229/282] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[230/282] Compiling AsyncAlgorithms CombineLatestStorage.swift
[231/282] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[232/282] Compiling AsyncAlgorithms DebounceStateMachine.swift
[233/282] Compiling AsyncAlgorithms DebounceStorage.swift
[234/282] Compiling AsyncAlgorithms Dictionary.swift
[242/282] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[243/282] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[244/282] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[245/282] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[246/282] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[247/282] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[248/282] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[249/282] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[250/282] Compiling AsyncAlgorithms Rethrow.swift
[251/282] Compiling AsyncAlgorithms SetAlgebra.swift
[252/282] Compiling AsyncAlgorithms UnsafeTransfer.swift
[253/282] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[254/282] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[255/282] Compiling AsyncAlgorithms ZipStateMachine.swift
[256/282] Compiling AsyncAlgorithms ZipStorage.swift
[258/285] Emitting module OpenFoundationModelsCore
[259/285] Compiling OpenFoundationModelsCore Exports.swift
[261/286] Emitting module JSONSchema
[262/286] Compiling JSONSchema JSONSchema.swift
[272/287] Emitting module AsyncAlgorithms
[281/287] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[282/287] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[283/287] Compiling AsyncAlgorithms MergeStateMachine.swift
[284/287] Compiling AsyncAlgorithms MergeStorage.swift
[285/287] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[286/287] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[287/287] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[289/300] Compiling OpenFoundationModels TypeAliases.swift
[290/301] Compiling OpenFoundationModels AttachedImage.swift
[291/301] Compiling OpenFoundationModels AvailabilityStatus.swift
[292/301] Compiling OpenFoundationModels UnavailabilityReason.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[293/301] Emitting module OpenFoundationModels
/host/spi-builder-workspace/Sources/OpenFoundationModels/Core/LanguageModelSession.swift:5:42: error: cannot find type 'Observable' in scope
   3 | @_spi(Internal) import OpenFoundationModelsCore
   4 |
   5 | public final class LanguageModelSession: Observable, @unchecked Sendable {
     |                                          `- error: cannot find type 'Observable' in scope
   6 |
   7 |     private var model: any LanguageModel
[294/301] Compiling OpenFoundationModels Instructions+Transcript.swift
/host/spi-builder-workspace/Sources/OpenFoundationModels/Core/LanguageModelSession.swift:5:42: error: cannot find type 'Observable' in scope
   3 | @_spi(Internal) import OpenFoundationModelsCore
   4 |
   5 | public final class LanguageModelSession: Observable, @unchecked Sendable {
     |                                          `- error: cannot find type 'Observable' in scope
   6 |
   7 |     private var model: any LanguageModel
[295/301] Compiling OpenFoundationModels LanguageModelSession.swift
/host/spi-builder-workspace/Sources/OpenFoundationModels/Core/LanguageModelSession.swift:5:42: error: cannot find type 'Observable' in scope
   3 | @_spi(Internal) import OpenFoundationModelsCore
   4 |
   5 | public final class LanguageModelSession: Observable, @unchecked Sendable {
     |                                          `- error: cannot find type 'Observable' in scope
   6 |
   7 |     private var model: any LanguageModel
[296/301] Compiling OpenFoundationModels Transcript+Codable.swift
[297/301] Compiling OpenFoundationModels Prompt+Transcript.swift
[298/301] Compiling OpenFoundationModels GenerationOptions.swift
[299/301] Compiling OpenFoundationModels LanguageModelFeedback.swift
[300/301] Compiling OpenFoundationModels LanguageModel.swift
[301/301] Compiling OpenFoundationModels Transcript.swift
BUILD FAILURE 6.3 wasm