Build Information
Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.2 for Android on 24 Apr 2026 12:13:21 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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/1amageek/swift-generation.git
[1/202] Fetching jsonschema
[102/438] Fetching jsonschema, swift-generation
[439/6685] Fetching jsonschema, swift-generation, swift-async-algorithms
Fetched https://github.com/mattt/JSONSchema.git from cache (0.49s)
[674/6483] Fetching swift-generation, swift-async-algorithms
Fetched https://github.com/1amageek/swift-generation.git from cache (0.49s)
[688/6247] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.79s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (1.23s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.65s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (8.83s)
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.54s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (1.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.68s)
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
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
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.40s)
Building for debugging...
[0/15] Write sources
[11/15] Write swift-version--11D90AFD9DD3AB2.txt
[13/35] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[14/35] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[15/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[18/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[20/37] Compiling InternalCollectionsUtilities Debugging.swift
[21/37] Compiling InternalCollectionsUtilities Descriptions.swift
[22/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/37] Emitting module InternalCollectionsUtilities
[24/37] Compiling InternalCollectionsUtilities Integer rank.swift
[25/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[26/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[27/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/37] Compiling InternalCollectionsUtilities String+Padding.swift
[30/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[34/126] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[35/126] Compiling OrderedCollections OrderedSet+Descriptions.swift
[36/126] Compiling OrderedCollections OrderedSet+Diffing.swift
[37/126] Compiling OrderedCollections OrderedSet+Equatable.swift
[38/130] Compiling OrderedCollections _HashTable+Bucket.swift
[39/130] Compiling OrderedCollections _HashTable+BucketIterator.swift
[40/130] Compiling OrderedCollections _HashTable+Constants.swift
[41/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[42/130] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[43/130] Compiling OrderedCollections OrderedSet+Hashable.swift
[44/130] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[45/130] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[46/130] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[47/130] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[48/130] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[49/130] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[50/130] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[51/130] Compiling OrderedCollections OrderedDictionary+Values.swift
[52/130] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[53/130] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[54/130] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[55/130] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.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 OrderedDictionary+Codable.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 OrderedDictionary+Elements.swift
[67/130] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[68/130] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[69/130] Compiling OrderedCollections OrderedDictionary.swift
[70/130] Compiling OrderedCollections OrderedSet+Codable.swift
[72/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[73/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[74/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[75/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[76/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[77/171] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[78/171] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[79/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[80/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[81/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[82/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[83/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[84/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[85/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[86/178] Compiling DequeModule RigidDeque+Container.swift
[87/178] Compiling DequeModule RigidDeque+Descriptions.swift
[88/178] Compiling DequeModule RigidDeque+Equatable.swift
[89/178] Compiling DequeModule RigidDeque+Experimental.swift
[90/178] Compiling DequeModule RigidDeque+Hashable.swift
[91/178] Compiling DequeModule RigidDeque+Initializers.swift
[92/178] Compiling DequeModule RigidDeque+Insertions.swift
[93/178] Compiling DequeModule RigidDeque+Prepend.swift
[94/178] Compiling DequeModule UniqueDeque+Consumption.swift
[95/178] Compiling DequeModule UniqueDeque+Container.swift
[96/178] Compiling DequeModule UniqueDeque+Descriptions.swift
[97/178] Compiling DequeModule UniqueDeque+Equatable.swift
[98/178] Compiling DequeModule UniqueDeque+Experimental.swift
[102/178] Compiling DequeModule UniqueDeque+Hashable.swift
[104/178] Compiling DequeModule UniqueDeque+Initializers.swift
[106/178] Compiling DequeModule UniqueDeque+Insertions.swift
[107/178] Compiling DequeModule RigidDeque+Removals.swift
[108/178] Compiling DequeModule UniqueDeque+Prepend.swift
[109/178] Compiling DequeModule RigidDeque+Replacements.swift
[110/178] Compiling DequeModule UniqueDeque+Removals.swift
[111/178] Compiling DequeModule RigidDeque+Testing.swift
[112/183] Compiling DequeModule RigidDeque.swift
[113/183] Compiling DequeModule UniqueDeque+Append.swift
[119/183] Compiling DequeModule UniqueDeque+Replacements.swift
[120/183] Compiling DequeModule Deque+Testing.swift
[121/183] Compiling DequeModule Deque._Storage.swift
[122/183] Compiling DequeModule Deque._UnsafeHandle.swift
[123/183] Compiling DequeModule Deque.swift
[124/183] Compiling DequeModule _DequeBuffer.swift
[125/183] Compiling DequeModule _DequeBufferHeader.swift
[126/183] Compiling DequeModule RigidDeque+Append.swift
[127/183] Compiling DequeModule RigidDeque+Consumption.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
[157/183] Compiling DequeModule Deque+Extras.swift
[158/183] Compiling DequeModule Deque+Hashable.swift
[165/183] Compiling OrderedCollections OrderedSet+Sendable.swift
[166/183] Compiling OrderedCollections OrderedSet+SubSequence.swift
[167/183] Compiling OrderedCollections OrderedSet+Testing.swift
[168/183] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[169/183] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[170/183] Compiling OrderedCollections OrderedSet.swift
[171/183] Compiling OrderedCollections _UnsafeBitset.swift
[172/183] Emitting module OrderedCollections
[175/187] Compiling DequeModule UniqueDeque.swift
[176/187] Compiling DequeModule _DequeSlot.swift
[177/187] Compiling DequeModule _UnsafeDequeHandle.swift
[178/187] Compiling DequeModule _UnsafeDequeSegments.swift
[179/187] Emitting module DequeModule
[181/241] Emitting module JSONSchema
[182/241] Emitting module GenerationMacrosImpl
[183/241] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[184/242] Wrapping AST for GenerationMacrosImpl for debugging
[185/242] Write Objects.LinkFileList
[187/242] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[188/242] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[189/242] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[190/242] Compiling AsyncAlgorithms Disconnected.swift
[191/242] Compiling AsyncAlgorithms _TinyArray.swift
[192/242] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[193/242] Compiling AsyncAlgorithms Locking.swift
[193/249] Linking GenerationMacrosImpl-tool
[195/249] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[196/249] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[197/249] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[198/249] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[199/249] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[200/249] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[201/249] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[202/249] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[203/249] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[204/249] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[205/249] Compiling AsyncAlgorithms CombineLatestStorage.swift
[206/249] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[207/249] Compiling AsyncAlgorithms DebounceStateMachine.swift
[208/249] Compiling AsyncAlgorithms DebounceStorage.swift
[209/249] Compiling AsyncAlgorithms Dictionary.swift
[210/249] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[211/249] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[212/249] Compiling AsyncAlgorithms AsyncChannel.swift
[213/249] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[214/249] Compiling AsyncAlgorithms ChannelStateMachine.swift
[215/249] Compiling AsyncAlgorithms ChannelStorage.swift
[216/249] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[217/278] Compiling AsyncAlgorithms Rethrow.swift
[218/278] Compiling AsyncAlgorithms SetAlgebra.swift
[219/278] Compiling AsyncAlgorithms UnsafeTransfer.swift
[220/278] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[221/278] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[222/278] Compiling AsyncAlgorithms ZipStateMachine.swift
[223/278] Compiling AsyncAlgorithms ZipStorage.swift
[224/278] Compiling SwiftGeneration Dictionary+Generable.swift
[225/278] Compiling SwiftGeneration Double+Generable.swift
[226/278] Compiling SwiftGeneration Float+Generable.swift
[227/278] Compiling SwiftGeneration GeneratedContent+Representable.swift
[228/282] Compiling SwiftGeneration String+Generable.swift
[229/282] Compiling SwiftGeneration String+Representable.swift
[230/282] Compiling SwiftGeneration URL+Generable.swift
[231/282] Compiling SwiftGeneration UUID+Generable.swift
[232/282] Compiling SwiftGeneration Int+Generable.swift
[233/282] Compiling SwiftGeneration Never+Generable.swift
[234/282] Compiling SwiftGeneration Optional+Generable.swift
[235/282] Compiling SwiftGeneration StandardTypes+Representable.swift
[236/282] Emitting module SwiftGeneration
[237/282] Compiling SwiftGeneration Array+Generable.swift
[238/282] Compiling SwiftGeneration Bool+Generable.swift
[239/282] Compiling SwiftGeneration Date+Generable.swift
[240/282] Compiling SwiftGeneration Decimal+Generable.swift
[241/282] Compiling JSONSchema JSONValue.swift
[242/282] Compiling SwiftGeneration InstructionsRepresentable.swift
[243/282] Compiling SwiftGeneration PromptRepresentable.swift
[244/282] Compiling SwiftGeneration Tool.swift
[245/282] Compiling SwiftGeneration DynamicGenerationSchema.swift
[246/282] Compiling SwiftGeneration Macros.swift
[247/282] Compiling SwiftGeneration ConvertibleFromGeneratedContent.swift
[248/282] Compiling SwiftGeneration ConvertibleToGeneratedContent.swift
[249/282] Compiling SwiftGeneration Generable.swift
[250/282] Compiling SwiftGeneration GeneratedContent.swift
[251/282] Compiling SwiftGeneration GenerationID.swift
[252/282] Compiling SwiftGeneration GenerationSchema.swift
[253/282] Compiling SwiftGeneration Instructions.swift
[254/282] Compiling SwiftGeneration InstructionsBuilder.swift
[255/282] Compiling SwiftGeneration Prompt.swift
[256/282] Compiling SwiftGeneration PromptBuilder.swift
[257/282] Compiling SwiftGeneration SchemaCompatibility.swift
[267/285] Emitting module AsyncAlgorithms
[268/285] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[269/285] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[270/285] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[271/285] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[272/285] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[273/285] Compiling AsyncAlgorithms AsyncMapErrorSequence.swift
[274/285] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[275/285] Compiling AsyncAlgorithms AsyncShareSequence.swift
[276/285] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[277/285] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[278/285] Compiling AsyncAlgorithms MergeStateMachine.swift
[279/285] Compiling AsyncAlgorithms MergeStorage.swift
[280/285] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[281/285] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[282/285] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[283/286] Emitting module OpenFoundationModelsCore
[284/286] Compiling OpenFoundationModelsCore Exports.swift
[287/299] Compiling OpenFoundationModels TypeAliases.swift
[288/300] Compiling OpenFoundationModels UnavailabilityReason.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[289/300] Compiling OpenFoundationModels AttachedImage.swift
[290/300] Compiling OpenFoundationModels AvailabilityStatus.swift
[291/300] 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
[292/300] Compiling JSONSchema JSONSchema.swift
[293/301] Compiling OpenFoundationModels LanguageModelFeedback.swift
[294/301] Compiling OpenFoundationModels LanguageModel.swift
[296/301] Compiling OpenFoundationModels Transcript+Codable.swift
[297/301] Compiling OpenFoundationModels Prompt+Transcript.swift
[298/301] Compiling OpenFoundationModels GenerationOptions.swift
[299/301] Compiling OpenFoundationModels Transcript.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 android