Build Information
Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.3 for Wasm on 24 Apr 2026 12:17:09 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-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.3
Building package at path: $PWD
https://github.com/1amageek/OpenFoundationModels.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/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/236] Fetching swift-generation
[237/6483] Fetching swift-generation, swift-async-algorithms
[6484/6685] Fetching swift-generation, swift-async-algorithms, jsonschema
Fetched https://github.com/1amageek/swift-generation.git from cache (0.77s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.81s)
Fetched https://github.com/mattt/JSONSchema.git from cache (0.82s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (1.36s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (9.49s)
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.51s)
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.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.05s)
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/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
Creating working copy for https://github.com/mattt/JSONSchema.git
Working copy of https://github.com/mattt/JSONSchema.git resolved at 1.3.1
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.41s)
Building for debugging...
[0/15] Write sources
[11/15] Write swift-version-24593BA9C3E375BF.txt
[13/35] Compiling InternalCollectionsUtilities Integer rank.swift
[14/35] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[15/35] Compiling InternalCollectionsUtilities UInt+reversed.swift
[16/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/37] Compiling InternalCollectionsUtilities _UniqueCollection.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 _UnsafeBitSet+_Word.swift
[22/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/37] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[24/37] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[25/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+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 String+Padding.swift
[32/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[34/126] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[35/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[36/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[37/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[38/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[39/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[40/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[41/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[42/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[43/130] Emitting module ContainersPreview
[44/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[45/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[46/130] Compiling OrderedCollections OrderedDictionary+Codable.swift
[47/130] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[48/130] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[49/130] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[50/130] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[51/130] Compiling OrderedCollections OrderedDictionary+Elements.swift
[52/130] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[53/130] Compiling OrderedCollections OrderedSet+Insertions.swift
[54/130] Compiling OrderedCollections OrderedSet+Invariants.swift
[55/130] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[56/130] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[57/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[58/130] Compiling OrderedCollections _HashTable+Bucket.swift
[59/130] Compiling OrderedCollections _HashTable+BucketIterator.swift
[60/130] Compiling OrderedCollections _HashTable+Constants.swift
[61/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[62/130] Compiling ContainersPreview OutputSpan+Extras.swift
[63/130] Compiling ContainersPreview TemporaryAllocation.swift
[64/130] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[65/130] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[66/130] Compiling OrderedCollections OrderedSet+Initializers.swift
[67/130] Compiling ContainersPreview Box.swift
[68/130] Compiling ContainersPreview Inout.swift
[69/130] Compiling ContainersPreview InputSpan.swift
[70/130] Compiling ContainersPreview Shared.swift
[72/171] Compiling DequeModule Deque+Testing.swift
[73/171] Compiling DequeModule Deque._Storage.swift
[74/171] Compiling DequeModule Deque._UnsafeHandle.swift
[75/171] Compiling DequeModule Deque.swift
[76/171] Compiling DequeModule RigidDeque+Equatable.swift
[77/171] Compiling DequeModule RigidDeque+Experimental.swift
[78/171] Compiling DequeModule RigidDeque+Hashable.swift
[79/171] Compiling DequeModule RigidDeque+Initializers.swift
[80/178] Compiling OrderedCollections OrderedDictionary.swift
[81/178] Compiling OrderedCollections OrderedSet+Codable.swift
[82/178] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[83/178] Compiling OrderedCollections OrderedSet+Descriptions.swift
[84/178] Compiling OrderedCollections OrderedSet+Diffing.swift
[85/178] Compiling OrderedCollections OrderedSet+Equatable.swift
[86/178] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[87/178] Compiling OrderedCollections OrderedSet+Hashable.swift
[88/178] Compiling DequeModule _DequeBuffer.swift
[89/178] Compiling DequeModule _DequeBufferHeader.swift
[90/178] Compiling DequeModule RigidDeque+Append.swift
[91/178] Compiling DequeModule RigidDeque+Consumption.swift
[92/178] Compiling DequeModule RigidDeque+Container.swift
[93/178] Compiling DequeModule RigidDeque+Descriptions.swift
[94/183] Compiling DequeModule UniqueDeque+Hashable.swift
[95/183] Compiling DequeModule UniqueDeque+Initializers.swift
[96/183] Compiling DequeModule UniqueDeque+Insertions.swift
[97/183] Compiling DequeModule UniqueDeque+Prepend.swift
[98/183] Compiling DequeModule UniqueDeque+Removals.swift
[99/183] Compiling DequeModule UniqueDeque+Consumption.swift
[100/183] Compiling DequeModule UniqueDeque+Container.swift
[101/183] Compiling DequeModule UniqueDeque+Descriptions.swift
[102/183] Compiling DequeModule UniqueDeque+Equatable.swift
[103/183] Compiling DequeModule UniqueDeque+Experimental.swift
[111/183] Compiling DequeModule RigidDeque+Removals.swift
[112/183] Compiling DequeModule RigidDeque+Replacements.swift
[113/183] Compiling DequeModule RigidDeque+Testing.swift
[114/183] Compiling DequeModule RigidDeque.swift
[115/183] Compiling DequeModule UniqueDeque+Append.swift
[118/183] Compiling DequeModule RigidDeque+Insertions.swift
[119/183] Compiling DequeModule RigidDeque+Prepend.swift
[127/183] Compiling DequeModule UniqueDeque+Replacements.swift
[128/183] Compiling DequeModule UniqueDeque.swift
[129/183] Compiling DequeModule _DequeSlot.swift
[130/183] Compiling DequeModule _UnsafeDequeHandle.swift
[131/183] Compiling DequeModule _UnsafeDequeSegments.swift
[132/183] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[133/183] Compiling OrderedCollections OrderedDictionary+Values.swift
[134/183] Compiling DequeModule Deque+Codable.swift
[135/183] Compiling DequeModule Deque+Collection.swift
[136/183] Compiling DequeModule Deque+CustomReflectable.swift
[137/183] Compiling DequeModule Deque+Descriptions.swift
[138/183] Compiling DequeModule Deque+Equatable.swift
[139/183] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[151/183] Compiling OrderedCollections OrderedSet+Sendable.swift
[152/183] Compiling OrderedCollections OrderedSet+SubSequence.swift
[153/183] Compiling OrderedCollections OrderedSet+Testing.swift
[154/183] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[155/183] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[156/183] Compiling OrderedCollections OrderedSet.swift
[157/183] Compiling OrderedCollections _UnsafeBitset.swift
[158/183] Compiling DequeModule Deque+Extras.swift
[159/183] Compiling DequeModule Deque+Hashable.swift
[172/183] Emitting module OrderedCollections
[174/187] Emitting module DequeModule
[175/187] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[176/187] Emitting module GenerationMacrosImpl
[183/189] Wrapping AST for GenerationMacrosImpl for debugging
[184/190] Write Objects.LinkFileList
[185/190] Linking GenerationMacrosImpl-tool
[187/199] Emitting module SwiftGeneration
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[188/199] Compiling JSONSchema JSONValue.swift
[189/236] Emitting module AsyncAlgorithms
[190/266] Compiling SwiftGeneration Dictionary+Generable.swift
[191/266] Compiling SwiftGeneration Double+Generable.swift
[192/266] Compiling SwiftGeneration Float+Generable.swift
[193/266] Compiling SwiftGeneration GeneratedContent+Representable.swift
[194/282] Compiling SwiftGeneration String+Generable.swift
[195/282] Compiling SwiftGeneration String+Representable.swift
[196/282] Compiling SwiftGeneration URL+Generable.swift
[197/282] Compiling SwiftGeneration UUID+Generable.swift
[198/282] Compiling SwiftGeneration Macros.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[199/282] Compiling SwiftGeneration ConvertibleFromGeneratedContent.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[200/282] Compiling SwiftGeneration ConvertibleToGeneratedContent.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[201/282] Compiling SwiftGeneration Generable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[202/282] Compiling SwiftGeneration Int+Generable.swift
[203/282] Compiling SwiftGeneration Never+Generable.swift
[204/282] Compiling SwiftGeneration Optional+Generable.swift
[205/282] Compiling SwiftGeneration StandardTypes+Representable.swift
[206/282] Compiling SwiftGeneration InstructionsRepresentable.swift
[207/282] Compiling SwiftGeneration PromptRepresentable.swift
[208/282] Compiling SwiftGeneration Tool.swift
[209/282] Compiling SwiftGeneration DynamicGenerationSchema.swift
[210/282] Compiling SwiftGeneration Array+Generable.swift
[211/282] Compiling SwiftGeneration Bool+Generable.swift
[212/282] Compiling SwiftGeneration Date+Generable.swift
[213/282] Compiling SwiftGeneration Decimal+Generable.swift
[214/282] Compiling SwiftGeneration InstructionsBuilder.swift
[215/282] Compiling SwiftGeneration Prompt.swift
[216/282] Compiling SwiftGeneration PromptBuilder.swift
[217/282] Compiling SwiftGeneration SchemaCompatibility.swift
[227/282] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[228/282] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[229/282] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[230/282] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[231/282] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[232/282] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[238/282] Compiling SwiftGeneration GeneratedContent.swift
[239/282] Compiling SwiftGeneration GenerationID.swift
[240/282] Compiling SwiftGeneration GenerationSchema.swift
[241/282] Compiling SwiftGeneration Instructions.swift
[248/282] Compiling AsyncAlgorithms Rethrow.swift
[249/282] Compiling AsyncAlgorithms SetAlgebra.swift
[250/282] Compiling AsyncAlgorithms UnsafeTransfer.swift
[251/282] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[252/282] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[253/282] Compiling AsyncAlgorithms ZipStateMachine.swift
[254/282] Compiling AsyncAlgorithms ZipStorage.swift
[263/282] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[264/282] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[265/282] Compiling AsyncAlgorithms MergeStateMachine.swift
[266/282] Compiling AsyncAlgorithms MergeStorage.swift
[267/282] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[268/282] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[269/282] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[270/282] Compiling JSONSchema JSONSchema.swift
[271/282] Emitting module JSONSchema
[273/283] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[274/283] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[275/283] Compiling AsyncAlgorithms CombineLatestStorage.swift
[276/283] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[277/283] Compiling AsyncAlgorithms DebounceStateMachine.swift
[278/283] Compiling AsyncAlgorithms DebounceStorage.swift
[279/283] Compiling AsyncAlgorithms Dictionary.swift
[286/287] Compiling OpenFoundationModelsCore Exports.swift
[287/287] Emitting module OpenFoundationModelsCore
[289/300] Compiling OpenFoundationModels TypeAliases.swift
[290/301] Compiling OpenFoundationModels UnavailabilityReason.swift
[291/301] Compiling OpenFoundationModels Prompt+Transcript.swift
[292/301] Compiling OpenFoundationModels GenerationOptions.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 LanguageModelFeedback.swift
[298/301] Compiling OpenFoundationModels LanguageModel.swift
[299/301] Compiling OpenFoundationModels AttachedImage.swift
[300/301] Compiling OpenFoundationModels AvailabilityStatus.swift
[301/301] Compiling OpenFoundationModels Transcript.swift
BUILD FAILURE 6.3 wasm