Build Information
Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.3 for Linux on 24 Apr 2026 12:11:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/1amageek/swift-generation.git
[1/202] Fetching jsonschema
[205/438] Fetching jsonschema, swift-generation
[437/6685] Fetching jsonschema, swift-generation, swift-async-algorithms
Fetched https://github.com/mattt/JSONSchema.git from cache (0.52s)
Fetched https://github.com/1amageek/swift-generation.git from cache (0.52s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.53s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (0.95s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.12s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (8.61s)
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.87s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (1.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.57s)
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/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-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/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.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.46s)
Building for debugging...
[0/15] Write sources
[11/15] Write swift-version-24593BA9C3E375BF.txt
[13/35] Emitting module InternalCollectionsUtilities
[14/37] Compiling InternalCollectionsUtilities Debugging.swift
[15/37] Compiling InternalCollectionsUtilities Descriptions.swift
[16/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[17/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/37] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[20/37] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+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 UnsafeBufferPointer+Extras.swift
[25/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[27/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[28/37] Compiling InternalCollectionsUtilities String+Padding.swift
[29/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[30/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[31/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[32/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[34/126] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[35/126] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[36/126] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[37/126] Compiling OrderedCollections OrderedDictionary+Elements.swift
[38/126] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[39/126] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[40/126] Compiling OrderedCollections _HashTable.swift
[41/126] Compiling OrderedCollections _Hashtable+Header.swift
[42/126] Compiling OrderedCollections OrderedDictionary+Codable.swift
[43/126] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[44/130] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[45/130] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[46/130] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[47/130] Compiling OrderedCollections OrderedDictionary+Values.swift
[48/130] Compiling OrderedCollections OrderedSet+Diffing.swift
[49/130] Compiling OrderedCollections OrderedSet+Equatable.swift
[50/130] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[51/130] Compiling OrderedCollections OrderedSet+Hashable.swift
[52/130] Compiling OrderedCollections OrderedDictionary.swift
[53/130] Compiling OrderedCollections OrderedSet+Codable.swift
[54/130] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[55/130] Compiling OrderedCollections OrderedSet+Descriptions.swift
[56/130] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[57/130] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[58/130] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[59/130] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[60/130] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.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 OrderedCollections _HashTable+Bucket.swift
[67/130] Compiling OrderedCollections _HashTable+BucketIterator.swift
[68/130] Compiling OrderedCollections _HashTable+Constants.swift
[69/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[70/130] Compiling OrderedCollections _HashTable+Testing.swift
[72/171] Compiling DequeModule UniqueDeque+Equatable.swift
[73/171] Compiling DequeModule UniqueDeque+Experimental.swift
[74/171] Compiling DequeModule RigidDeque+Removals.swift
[75/171] Compiling DequeModule RigidDeque+Replacements.swift
[76/171] Compiling DequeModule RigidDeque+Testing.swift
[77/171] Compiling DequeModule RigidDeque.swift
[78/171] Compiling DequeModule UniqueDeque+Append.swift
[79/178] Compiling DequeModule UniqueDeque+Hashable.swift
[80/178] Compiling DequeModule UniqueDeque+Initializers.swift
[81/178] Compiling DequeModule UniqueDeque+Insertions.swift
[82/178] Compiling DequeModule UniqueDeque+Prepend.swift
[83/178] Compiling DequeModule UniqueDeque+Removals.swift
[84/178] Compiling DequeModule UniqueDeque+Consumption.swift
[85/178] Compiling DequeModule UniqueDeque+Container.swift
[86/178] Compiling DequeModule UniqueDeque+Descriptions.swift
[92/183] Compiling DequeModule UniqueDeque+Replacements.swift
[93/183] Compiling DequeModule UniqueDeque.swift
[94/183] Compiling DequeModule _DequeSlot.swift
[95/183] Compiling DequeModule _UnsafeDequeHandle.swift
[96/183] Compiling DequeModule _UnsafeDequeSegments.swift
[97/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[98/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[99/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[100/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[101/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[102/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[103/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[104/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[105/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[106/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[112/183] Compiling DequeModule _DequeBuffer.swift
[113/183] Compiling DequeModule _DequeBufferHeader.swift
[114/183] Compiling DequeModule RigidDeque+Append.swift
[115/183] Compiling DequeModule RigidDeque+Consumption.swift
[116/183] Compiling DequeModule RigidDeque+Container.swift
[117/183] Compiling DequeModule RigidDeque+Descriptions.swift
[118/183] Compiling DequeModule RigidDeque+Equatable.swift
[119/183] Compiling DequeModule RigidDeque+Experimental.swift
[120/183] Compiling DequeModule RigidDeque+Hashable.swift
[121/183] Compiling DequeModule RigidDeque+Initializers.swift
[122/183] Compiling DequeModule RigidDeque+Insertions.swift
[123/183] Compiling DequeModule RigidDeque+Prepend.swift
[132/183] Compiling DequeModule Deque+Testing.swift
[133/183] Compiling DequeModule Deque._Storage.swift
[134/183] Compiling DequeModule Deque._UnsafeHandle.swift
[135/183] Compiling DequeModule Deque.swift
[145/183] Compiling DequeModule Deque+Codable.swift
[146/183] Compiling DequeModule Deque+Collection.swift
[147/183] Compiling DequeModule Deque+CustomReflectable.swift
[148/183] Compiling DequeModule Deque+Descriptions.swift
[149/183] Compiling DequeModule Deque+Equatable.swift
[150/183] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[151/183] Compiling DequeModule Deque+Extras.swift
[152/183] Compiling DequeModule Deque+Hashable.swift
[153/183] Compiling OrderedCollections OrderedSet+Sendable.swift
[154/183] Compiling OrderedCollections OrderedSet+SubSequence.swift
[155/183] Compiling OrderedCollections OrderedSet+Testing.swift
[156/183] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[157/183] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[158/183] Compiling OrderedCollections OrderedSet.swift
[159/183] Compiling OrderedCollections _UnsafeBitset.swift
[172/183] Emitting module OrderedCollections
[174/187] Emitting module GenerationMacrosImpl
[175/187] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[176/188] Wrapping AST for GenerationMacrosImpl for debugging
[177/188] Write Objects.LinkFileList
[179/188] Compiling JSONSchema JSONValue.swift
[179/188] Linking GenerationMacrosImpl-tool
[181/217] Compiling SwiftGeneration String+Generable.swift
[182/217] Compiling SwiftGeneration String+Representable.swift
[183/217] Compiling SwiftGeneration URL+Generable.swift
[184/217] Compiling SwiftGeneration UUID+Generable.swift
[185/217] Emitting module SwiftGeneration
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[186/221] Compiling SwiftGeneration InstructionsRepresentable.swift
[187/221] Compiling SwiftGeneration PromptRepresentable.swift
[188/221] Compiling SwiftGeneration Tool.swift
[189/221] Compiling SwiftGeneration DynamicGenerationSchema.swift
[190/221] Compiling SwiftGeneration Int+Generable.swift
[191/221] Compiling SwiftGeneration Never+Generable.swift
[192/221] Compiling SwiftGeneration Optional+Generable.swift
[193/221] Compiling SwiftGeneration StandardTypes+Representable.swift
[194/221] Emitting module DequeModule
[195/221] Compiling SwiftGeneration Dictionary+Generable.swift
[196/221] Compiling SwiftGeneration Double+Generable.swift
[197/221] Compiling SwiftGeneration Float+Generable.swift
[198/221] Compiling SwiftGeneration GeneratedContent+Representable.swift
[199/221] Compiling SwiftGeneration Array+Generable.swift
[200/221] Compiling SwiftGeneration Bool+Generable.swift
[201/221] Compiling SwiftGeneration Date+Generable.swift
[202/221] Compiling SwiftGeneration Decimal+Generable.swift
[209/222] Compiling SwiftGeneration InstructionsBuilder.swift
[210/222] Compiling SwiftGeneration Prompt.swift
[211/222] Compiling SwiftGeneration PromptBuilder.swift
[212/222] Compiling SwiftGeneration SchemaCompatibility.swift
[213/239] Compiling JSONSchema JSONSchema.swift
[214/239] Emitting module JSONSchema
[216/276] Emitting module AsyncAlgorithms
[217/283] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[218/283] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[219/283] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[220/283] Compiling AsyncAlgorithms Disconnected.swift
[221/283] Compiling AsyncAlgorithms _TinyArray.swift
[222/283] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[223/283] Compiling AsyncAlgorithms Locking.swift
[224/283] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[226/284] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[227/284] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[228/284] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[229/284] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[230/284] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[231/284] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[232/284] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[233/284] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[234/286] Emitting module OpenFoundationModelsCore
[235/286] Compiling OpenFoundationModelsCore Exports.swift
[238/287] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[239/287] Compiling AsyncAlgorithms AsyncChannel.swift
[240/287] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[241/287] Compiling AsyncAlgorithms ChannelStateMachine.swift
[242/287] Compiling AsyncAlgorithms ChannelStorage.swift
[243/287] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[244/287] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[245/287] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[246/287] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[247/287] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[248/287] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[249/287] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[250/287] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[251/287] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[259/287] Compiling AsyncAlgorithms Rethrow.swift
[260/287] Compiling AsyncAlgorithms SetAlgebra.swift
[261/287] Compiling AsyncAlgorithms UnsafeTransfer.swift
[262/287] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[263/287] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[264/287] Compiling AsyncAlgorithms ZipStateMachine.swift
[265/287] Compiling AsyncAlgorithms ZipStorage.swift
[266/287] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[267/287] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[268/287] Compiling AsyncAlgorithms CombineLatestStorage.swift
[269/287] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[270/287] Compiling AsyncAlgorithms DebounceStateMachine.swift
[271/287] Compiling AsyncAlgorithms DebounceStorage.swift
[272/287] Compiling AsyncAlgorithms Dictionary.swift
[273/287] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[274/287] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[275/287] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[276/287] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[277/287] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[278/287] Compiling AsyncAlgorithms AsyncMapErrorSequence.swift
[279/287] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[280/287] Compiling AsyncAlgorithms AsyncShareSequence.swift
[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/300] Compiling OpenFoundationModels Transcript.swift
[291/301] Compiling OpenFoundationModels LanguageModelFeedback.swift
[292/301] Compiling OpenFoundationModels LanguageModel.swift
[293/301] Compiling OpenFoundationModels AttachedImage.swift
[294/301] Compiling OpenFoundationModels AvailabilityStatus.swift
[295/301] Compiling OpenFoundationModels Prompt+Transcript.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[296/301] Compiling OpenFoundationModels GenerationOptions.swift
[297/301] Compiling OpenFoundationModels Transcript+Codable.swift
[298/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
[299/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
[300/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
[301/301] Compiling OpenFoundationModels UnavailabilityReason.swift
BUILD FAILURE 6.3 linux