Build Information
Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.2 for Wasm on 24 Apr 2026 12:12:05 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/1amageek/OpenFoundationModels.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/1amageek/OpenFoundationModels
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-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/apple/swift-async-algorithms.git
Fetching https://github.com/1amageek/swift-generation.git
[1/236] Fetching swift-generation
Fetched https://github.com/1amageek/swift-generation.git from cache (0.40s)
[1/6247] Fetching swift-async-algorithms
Fetching https://github.com/mattt/JSONSchema.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.04s)
[1/202] Fetching jsonschema
Fetched https://github.com/mattt/JSONSchema.git from cache (0.33s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (2.09s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.86s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (13.16s)
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.06s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.33s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (3.12s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.88s)
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/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
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/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
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.42s)
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 String+Padding.swift
[17/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[18/37] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[19/37] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[20/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[21/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[23/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[24/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/37] Compiling InternalCollectionsUtilities Integer rank.swift
[28/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/37] Compiling InternalCollectionsUtilities Debugging.swift
[31/37] Compiling InternalCollectionsUtilities Descriptions.swift
[32/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[34/126] Compiling ContainersPreview Drain+Reduce.swift
[35/126] Compiling ContainersPreview Drain.swift
[36/126] Compiling ContainersPreview Producer+Collect.swift
[37/126] Compiling ContainersPreview Producer+Filter.swift
[38/126] Compiling ContainersPreview Producer+Map.swift
[39/126] Compiling ContainersPreview Producer+Reduce.swift
[40/126] Compiling ContainersPreview Producer.swift
[41/126] Compiling ContainersPreview Borrow.swift
[42/126] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[43/126] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[44/126] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[45/126] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[46/126] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[47/126] Compiling ContainersPreview Container.swift
[48/126] Compiling ContainersPreview ContainerIterator.swift
[49/126] Compiling ContainersPreview DynamicContainer.swift
[50/126] Compiling ContainersPreview MutableContainer.swift
[51/126] Compiling ContainersPreview PermutableContainer.swift
[52/126] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[53/126] Compiling ContainersPreview BorrowingSequence.swift
[54/126] Compiling ContainersPreview BidirectionalContainer.swift
[55/126] Compiling ContainersPreview Container+Filter.swift
[56/126] Compiling ContainersPreview Container+SpanwiseZip.swift
[57/130] Compiling ContainersPreview RandomAccessContainer.swift
[58/130] Compiling ContainersPreview RangeExpression2.swift
[59/130] Compiling ContainersPreview RangeReplaceableContainer.swift
[60/130] Compiling ContainersPreview Drain+Map.swift
[61/130] Emitting module ContainersPreview
[62/130] Compiling ContainersPreview Box.swift
[63/130] Compiling ContainersPreview Inout.swift
[64/130] Compiling ContainersPreview InputSpan.swift
[65/130] Compiling ContainersPreview Shared.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
[72/131] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[73/131] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[74/131] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[75/131] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[76/131] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[77/131] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[78/131] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[87/138] Compiling OrderedCollections OrderedSet+Initializers.swift
[88/138] Compiling OrderedCollections OrderedSet+Insertions.swift
[89/138] Compiling OrderedCollections OrderedSet+Invariants.swift
[90/138] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[91/138] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[92/138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[93/138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[94/138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[100/138] Compiling OrderedCollections OrderedSet+Equatable.swift
[101/138] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[102/138] Compiling OrderedCollections OrderedSet+Hashable.swift
[103/178] Compiling DequeModule Deque._Storage.swift
[104/178] Compiling DequeModule Deque._UnsafeHandle.swift
[105/178] Compiling DequeModule Deque.swift
[106/178] Compiling DequeModule RigidDeque+Equatable.swift
[107/178] Compiling DequeModule RigidDeque+Experimental.swift
[108/178] Compiling DequeModule RigidDeque+Hashable.swift
[109/178] Compiling DequeModule RigidDeque+Initializers.swift
[110/178] Compiling DequeModule RigidDeque+Insertions.swift
[111/178] Compiling DequeModule Deque+Codable.swift
[112/178] Compiling DequeModule Deque+Collection.swift
[113/178] Compiling DequeModule Deque+CustomReflectable.swift
[114/178] Compiling DequeModule Deque+Descriptions.swift
[115/178] Compiling DequeModule Deque+Equatable.swift
[116/178] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[117/178] Compiling DequeModule _DequeBuffer.swift
[118/178] Compiling DequeModule _DequeBufferHeader.swift
[119/178] Compiling DequeModule RigidDeque+Append.swift
[120/178] Compiling DequeModule RigidDeque+Consumption.swift
[121/178] Compiling DequeModule RigidDeque+Container.swift
[122/178] Compiling DequeModule RigidDeque+Descriptions.swift
[123/178] Compiling DequeModule Deque+Extras.swift
[124/178] Compiling DequeModule Deque+Hashable.swift
[125/178] Compiling DequeModule Deque+Testing.swift
[132/178] Emitting module OrderedCollections
[133/183] Compiling DequeModule UniqueDeque+Consumption.swift
[134/183] Compiling DequeModule UniqueDeque+Container.swift
[135/183] Compiling DequeModule UniqueDeque+Descriptions.swift
[136/183] Compiling DequeModule UniqueDeque+Equatable.swift
[137/183] Compiling DequeModule UniqueDeque+Experimental.swift
[138/183] Compiling DequeModule UniqueDeque+Hashable.swift
[139/183] Compiling DequeModule UniqueDeque+Initializers.swift
[140/183] Compiling DequeModule UniqueDeque+Insertions.swift
[141/183] Compiling DequeModule UniqueDeque+Prepend.swift
[142/183] Compiling DequeModule UniqueDeque+Removals.swift
[148/183] Compiling DequeModule RigidDeque+Prepend.swift
[149/183] Compiling DequeModule RigidDeque+Removals.swift
[150/183] Compiling DequeModule RigidDeque+Replacements.swift
[151/183] Compiling DequeModule RigidDeque+Testing.swift
[152/183] Compiling DequeModule RigidDeque.swift
[153/183] Compiling DequeModule UniqueDeque+Append.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
[174/187] Emitting module DequeModule
[175/187] Compiling DequeModule UniqueDeque+Replacements.swift
[176/187] Compiling DequeModule UniqueDeque.swift
[177/187] Compiling DequeModule _DequeSlot.swift
[178/187] Compiling DequeModule _UnsafeDequeHandle.swift
[179/187] Compiling DequeModule _UnsafeDequeSegments.swift
[181/216] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[182/216] Emitting module GenerationMacrosImpl
[183/242] Wrapping AST for GenerationMacrosImpl for debugging
[184/242] Write Objects.LinkFileList
[186/242] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[187/242] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[188/242] Compiling AsyncAlgorithms AsyncChannel.swift
[189/242] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[190/242] Compiling AsyncAlgorithms ChannelStateMachine.swift
[191/242] Compiling AsyncAlgorithms ChannelStorage.swift
[192/242] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[192/249] Linking GenerationMacrosImpl-tool
[194/278] Emitting module AsyncAlgorithms
[195/278] Compiling JSONSchema JSONValue.swift
[196/278] Compiling SwiftGeneration String+Generable.swift
[197/278] Compiling SwiftGeneration String+Representable.swift
[198/278] Compiling SwiftGeneration URL+Generable.swift
[199/278] Compiling SwiftGeneration UUID+Generable.swift
[200/282] Compiling SwiftGeneration Macros.swift
[201/282] Compiling SwiftGeneration ConvertibleFromGeneratedContent.swift
[202/282] Compiling SwiftGeneration ConvertibleToGeneratedContent.swift
[203/282] Compiling SwiftGeneration Generable.swift
[204/282] Compiling SwiftGeneration InstructionsRepresentable.swift
[205/282] Compiling SwiftGeneration PromptRepresentable.swift
[206/282] Compiling SwiftGeneration Tool.swift
[207/282] Compiling SwiftGeneration DynamicGenerationSchema.swift
[208/282] Compiling SwiftGeneration Int+Generable.swift
[209/282] Compiling SwiftGeneration Never+Generable.swift
[210/282] Compiling SwiftGeneration Optional+Generable.swift
[211/282] Compiling SwiftGeneration StandardTypes+Representable.swift
[212/282] Compiling SwiftGeneration Dictionary+Generable.swift
[213/282] Compiling SwiftGeneration Double+Generable.swift
[214/282] Compiling SwiftGeneration Float+Generable.swift
[215/282] Compiling SwiftGeneration GeneratedContent+Representable.swift
[216/282] Emitting module SwiftGeneration
[217/282] Compiling SwiftGeneration Array+Generable.swift
[218/282] Compiling SwiftGeneration Bool+Generable.swift
[219/282] Compiling SwiftGeneration Date+Generable.swift
[220/282] Compiling SwiftGeneration Decimal+Generable.swift
[221/282] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[222/282] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[223/282] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[224/282] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[225/282] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[226/282] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[227/282] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[228/282] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[229/282] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[230/282] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[231/282] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[232/282] Compiling AsyncAlgorithms Disconnected.swift
[233/282] Compiling AsyncAlgorithms _TinyArray.swift
[234/282] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[235/282] Compiling AsyncAlgorithms Locking.swift
[236/282] Compiling SwiftGeneration InstructionsBuilder.swift
[237/282] Compiling SwiftGeneration Prompt.swift
[238/282] Compiling SwiftGeneration PromptBuilder.swift
[239/282] Compiling SwiftGeneration SchemaCompatibility.swift
[240/282] Compiling AsyncAlgorithms Rethrow.swift
[241/282] Compiling AsyncAlgorithms SetAlgebra.swift
[242/282] Compiling AsyncAlgorithms UnsafeTransfer.swift
[243/282] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[244/282] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[245/282] Compiling AsyncAlgorithms ZipStateMachine.swift
[246/282] Compiling AsyncAlgorithms ZipStorage.swift
[272/282] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[273/282] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[274/282] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[275/282] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[276/282] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[278/283] Emitting module JSONSchema
[279/283] Compiling JSONSchema JSONSchema.swift
[281/284] Compiling SwiftGeneration GeneratedContent.swift
[282/284] Compiling SwiftGeneration GenerationID.swift
[283/284] Compiling SwiftGeneration GenerationSchema.swift
[284/284] Compiling SwiftGeneration Instructions.swift
[286/287] Compiling OpenFoundationModelsCore Exports.swift
[287/287] Emitting module OpenFoundationModelsCore
[289/300] Compiling OpenFoundationModels LanguageModelFeedback.swift
[290/300] Compiling OpenFoundationModels LanguageModel.swift
[291/301] Compiling OpenFoundationModels TypeAliases.swift
[292/301] Compiling OpenFoundationModels AttachedImage.swift
[293/301] Compiling OpenFoundationModels AvailabilityStatus.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[294/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
[295/301] Compiling OpenFoundationModels UnavailabilityReason.swift
[296/301] Compiling OpenFoundationModels Transcript+Codable.swift
[297/301] Compiling OpenFoundationModels Transcript.swift
[298/301] Compiling OpenFoundationModels Prompt+Transcript.swift
[299/301] Compiling OpenFoundationModels GenerationOptions.swift
[300/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
[301/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
BUILD FAILURE 6.2 wasm