The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/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.2
Building package at path:  $PWD
https://github.com/1amageek/OpenFoundationModels.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/1amageek/swift-generation.git
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/236] Fetching swift-generation
[169/438] Fetching swift-generation, jsonschema
[371/6685] Fetching swift-generation, jsonschema, swift-async-algorithms
Fetched https://github.com/1amageek/swift-generation.git from cache (0.80s)
Fetched https://github.com/mattt/JSONSchema.git from cache (0.80s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.80s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (1.26s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.75s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (8.33s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.74s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (1.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.71s)
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/mattt/JSONSchema.git
Working copy of https://github.com/mattt/JSONSchema.git resolved at 1.3.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
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.62s)
Building for debugging...
[0/15] Write sources
[11/15] Write swift-version-24593BA9C3E375BF.txt
[13/35] Emitting module GenerationMacrosImpl
[14/35] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/35] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/37] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[19/37] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[20/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/37] Compiling InternalCollectionsUtilities String+Padding.swift
[23/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[25/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[27/37] Compiling InternalCollectionsUtilities Debugging.swift
[28/37] Compiling InternalCollectionsUtilities Descriptions.swift
[29/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[30/37] Emitting module InternalCollectionsUtilities
[31/37] Compiling InternalCollectionsUtilities Integer rank.swift
[32/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[33/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[35/99] Compiling OrderedCollections OrderedDictionary+Elements.swift
[36/99] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[37/99] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[38/99] Compiling OrderedCollections _HashTable+Bucket.swift
[39/99] Compiling OrderedCollections _HashTable+BucketIterator.swift
[40/117] Compiling OrderedCollections OrderedDictionary.swift
[41/117] Compiling OrderedCollections OrderedSet+Codable.swift
[42/117] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[43/117] Compiling OrderedCollections OrderedSet+Descriptions.swift
[44/125] Compiling OrderedCollections OrderedSet+Diffing.swift
[45/125] Compiling OrderedCollections OrderedSet+Equatable.swift
[46/125] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[47/125] Compiling OrderedCollections OrderedSet+Hashable.swift
[48/128] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[49/128] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[50/128] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[51/128] Compiling OrderedCollections OrderedDictionary+Values.swift
[52/130] Compiling OrderedCollections _HashTable+Constants.swift
[53/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[54/130] Compiling OrderedCollections _HashTable+Testing.swift
[55/130] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[56/130] Compiling OrderedCollections _HashTable.swift
[57/130] Compiling OrderedCollections _Hashtable+Header.swift
[58/130] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[59/130] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[60/130] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[61/130] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[62/130] Compiling OrderedCollections OrderedSet+Initializers.swift
[63/130] Compiling OrderedCollections OrderedSet+Insertions.swift
[64/130] Compiling OrderedCollections OrderedSet+Invariants.swift
[65/130] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[66/130] Emitting module ContainersPreview
[67/130] Compiling OrderedCollections OrderedDictionary+Codable.swift
[68/130] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[69/130] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[70/130] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[71/130] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[73/171] Compiling DequeModule Deque+Codable.swift
[74/171] Compiling DequeModule Deque+Collection.swift
[75/171] Compiling DequeModule Deque+CustomReflectable.swift
[76/171] Compiling DequeModule Deque+Descriptions.swift
[77/171] Compiling DequeModule Deque+Equatable.swift
[78/171] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[79/171] Compiling DequeModule Deque+Extras.swift
[80/171] Compiling DequeModule Deque+Hashable.swift
[81/171] Compiling DequeModule UniqueDeque+Consumption.swift
[82/171] Compiling DequeModule UniqueDeque+Container.swift
[83/171] Compiling DequeModule UniqueDeque+Descriptions.swift
[84/171] Compiling DequeModule UniqueDeque+Equatable.swift
[85/171] Compiling DequeModule UniqueDeque+Experimental.swift
[86/183] Compiling DequeModule UniqueDeque.swift
[87/183] Compiling DequeModule _DequeSlot.swift
[88/183] Compiling DequeModule _UnsafeDequeHandle.swift
[89/183] Compiling DequeModule _UnsafeDequeSegments.swift
[90/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[91/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[92/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[93/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[94/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[95/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[96/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[97/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[98/183] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[99/183] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[100/183] Compiling DequeModule RigidDeque.swift
[101/183] Compiling DequeModule UniqueDeque+Append.swift
[102/183] Compiling DequeModule UniqueDeque+Hashable.swift
[103/183] Compiling DequeModule UniqueDeque+Initializers.swift
[104/183] Compiling DequeModule UniqueDeque+Insertions.swift
[105/183] Compiling DequeModule UniqueDeque+Prepend.swift
[106/183] Compiling DequeModule UniqueDeque+Removals.swift
[107/183] Compiling DequeModule UniqueDeque+Replacements.swift
[113/183] Compiling DequeModule RigidDeque+Removals.swift
[114/183] Compiling DequeModule RigidDeque+Replacements.swift
[115/183] Compiling DequeModule RigidDeque+Testing.swift
[126/183] Compiling DequeModule _DequeBuffer.swift
[127/183] Compiling DequeModule _DequeBufferHeader.swift
[128/183] Compiling DequeModule RigidDeque+Append.swift
[129/183] Compiling DequeModule RigidDeque+Consumption.swift
[130/183] Compiling DequeModule RigidDeque+Container.swift
[131/183] Compiling DequeModule RigidDeque+Descriptions.swift
[132/183] Compiling DequeModule RigidDeque+Equatable.swift
[133/183] Compiling DequeModule RigidDeque+Experimental.swift
[134/183] Compiling DequeModule RigidDeque+Hashable.swift
[135/183] Compiling DequeModule RigidDeque+Initializers.swift
[136/183] Compiling DequeModule RigidDeque+Insertions.swift
[137/183] Compiling DequeModule RigidDeque+Prepend.swift
[146/183] Emitting module OrderedCollections
[147/183] Compiling DequeModule Deque+Testing.swift
[148/183] Compiling DequeModule Deque._Storage.swift
[149/183] Compiling DequeModule Deque._UnsafeHandle.swift
[150/183] Compiling DequeModule Deque.swift
[167/183] Compiling OrderedCollections OrderedSet+Sendable.swift
[168/183] Compiling OrderedCollections OrderedSet+SubSequence.swift
[169/183] Compiling OrderedCollections OrderedSet+Testing.swift
[170/183] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[171/183] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[172/183] Compiling OrderedCollections OrderedSet.swift
[173/183] Compiling OrderedCollections _UnsafeBitset.swift
[175/187] Emitting module DequeModule
[182/241] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[183/242] Wrapping AST for GenerationMacrosImpl for debugging
[184/242] Write Objects.LinkFileList
[186/242] Compiling JSONSchema JSONValue.swift
[186/242] Linking GenerationMacrosImpl-tool
[188/271] Compiling SwiftGeneration Macros.swift
[189/271] Compiling SwiftGeneration ConvertibleFromGeneratedContent.swift
[190/271] Compiling SwiftGeneration ConvertibleToGeneratedContent.swift
[191/271] Compiling SwiftGeneration Generable.swift
[192/271] Compiling SwiftGeneration InstructionsRepresentable.swift
[193/271] Compiling SwiftGeneration PromptRepresentable.swift
[194/271] Compiling SwiftGeneration Tool.swift
[195/271] Compiling SwiftGeneration DynamicGenerationSchema.swift
[196/278] Emitting module SwiftGeneration
[197/278] Compiling SwiftGeneration Array+Generable.swift
[198/278] Compiling SwiftGeneration Bool+Generable.swift
[199/278] Compiling SwiftGeneration Date+Generable.swift
[200/278] Compiling SwiftGeneration Decimal+Generable.swift
[201/278] Emitting module AsyncAlgorithms
[202/282] Compiling SwiftGeneration Dictionary+Generable.swift
[203/282] Compiling SwiftGeneration Double+Generable.swift
[204/282] Compiling SwiftGeneration Float+Generable.swift
[205/282] Compiling SwiftGeneration GeneratedContent+Representable.swift
[206/282] Compiling SwiftGeneration InstructionsBuilder.swift
[207/282] Compiling SwiftGeneration Prompt.swift
[208/282] Compiling SwiftGeneration PromptBuilder.swift
[209/282] Compiling SwiftGeneration SchemaCompatibility.swift
[210/282] Compiling AsyncAlgorithms Rethrow.swift
[211/282] Compiling AsyncAlgorithms SetAlgebra.swift
[212/282] Compiling AsyncAlgorithms UnsafeTransfer.swift
[213/282] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[214/282] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[215/282] Compiling AsyncAlgorithms ZipStateMachine.swift
[216/282] Compiling AsyncAlgorithms ZipStorage.swift
[217/282] Emitting module JSONSchema
[218/282] Compiling JSONSchema JSONSchema.swift
[228/283] Compiling SwiftGeneration String+Generable.swift
[229/283] Compiling SwiftGeneration String+Representable.swift
[230/283] Compiling SwiftGeneration URL+Generable.swift
[231/283] Compiling SwiftGeneration UUID+Generable.swift
[232/283] Compiling SwiftGeneration Int+Generable.swift
[233/283] Compiling SwiftGeneration Never+Generable.swift
[234/283] Compiling SwiftGeneration Optional+Generable.swift
[235/283] Compiling SwiftGeneration StandardTypes+Representable.swift
[236/283] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[237/283] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[238/283] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[239/283] Compiling AsyncAlgorithms Disconnected.swift
[240/283] Compiling AsyncAlgorithms _TinyArray.swift
[241/283] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[242/283] Compiling AsyncAlgorithms Locking.swift
[243/283] Compiling SwiftGeneration GeneratedContent.swift
[244/283] Compiling SwiftGeneration GenerationID.swift
[245/283] Compiling SwiftGeneration GenerationSchema.swift
[246/283] Compiling SwiftGeneration Instructions.swift
[251/283] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[252/283] Compiling AsyncAlgorithms AsyncChannel.swift
[253/283] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[254/283] Compiling AsyncAlgorithms ChannelStateMachine.swift
[255/283] Compiling AsyncAlgorithms ChannelStorage.swift
[256/283] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[257/283] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[258/283] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[259/283] Compiling AsyncAlgorithms CombineLatestStorage.swift
[260/283] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[261/283] Compiling AsyncAlgorithms DebounceStateMachine.swift
[262/283] Compiling AsyncAlgorithms DebounceStorage.swift
[263/283] Compiling AsyncAlgorithms Dictionary.swift
[286/287] Emitting module OpenFoundationModelsCore
[287/287] Compiling OpenFoundationModelsCore Exports.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 LanguageModelFeedback.swift
[297/301] Compiling OpenFoundationModels LanguageModel.swift
[298/301] Compiling OpenFoundationModels Prompt+Transcript.swift
[299/301] Compiling OpenFoundationModels GenerationOptions.swift
[300/301] Compiling OpenFoundationModels Transcript+Codable.swift
[301/301] Compiling OpenFoundationModels Transcript.swift
BUILD FAILURE 6.2 wasm