Build Information
Failed to build OpenFoundationModels, reference 1.18.0 (be5548), with Swift 6.2 for Android on 24 Apr 2026 12:12:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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: 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: 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-4606859-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: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/1amageek/swift-generation.git
Fetching https://github.com/mattt/JSONSchema.git
[1/202] Fetching jsonschema
[149/438] Fetching jsonschema, swift-generation
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/1amageek/swift-generation.git from cache (0.28s)
Fetched https://github.com/mattt/JSONSchema.git from cache (0.27s)
[1/6247] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.54s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (1.31s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.87s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (14.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 (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.79s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (3.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.31s)
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-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
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/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.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.70s)
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 UnsafeBufferPointer+Extras.swift
[18/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[20/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[22/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[24/37] Compiling InternalCollectionsUtilities String+Padding.swift
[25/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[26/37] Emitting module InternalCollectionsUtilities
[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 OrderedCollections OrderedDictionary.swift
[35/126] Compiling OrderedCollections OrderedSet+Codable.swift
[36/126] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[37/126] Compiling OrderedCollections OrderedSet+Descriptions.swift
[38/130] Compiling OrderedCollections _HashTable+Testing.swift
[39/130] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[40/130] Compiling OrderedCollections _HashTable.swift
[41/130] Compiling OrderedCollections _Hashtable+Header.swift
[42/130] Compiling OrderedCollections OrderedSet+Diffing.swift
[43/130] Compiling OrderedCollections OrderedSet+Equatable.swift
[44/130] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[45/130] Compiling OrderedCollections OrderedSet+Hashable.swift
[46/130] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[47/130] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[48/130] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[49/130] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[50/130] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[51/130] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[52/130] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[53/130] Compiling OrderedCollections OrderedDictionary+Values.swift
[54/130] Compiling OrderedCollections OrderedDictionary+Codable.swift
[55/130] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[56/130] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[57/130] Compiling OrderedCollections _HashTable+Bucket.swift
[58/130] Compiling OrderedCollections _HashTable+BucketIterator.swift
[59/130] Compiling OrderedCollections _HashTable+Constants.swift
[60/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[61/130] Compiling ContainersPreview Box.swift
[62/130] Compiling ContainersPreview Inout.swift
[63/130] Compiling ContainersPreview InputSpan.swift
[64/130] Compiling ContainersPreview Shared.swift
[65/130] Emitting module ContainersPreview
[66/130] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[67/130] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[68/130] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[69/130] Compiling OrderedCollections OrderedDictionary+Elements.swift
[70/130] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[72/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[73/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[74/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[75/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[76/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[77/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[78/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[79/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[80/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[81/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[82/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[83/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[84/171] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[85/171] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[86/178] Compiling DequeModule UniqueDeque+Consumption.swift
[87/178] Compiling DequeModule UniqueDeque+Container.swift
[88/178] Compiling DequeModule UniqueDeque+Descriptions.swift
[89/178] Compiling DequeModule UniqueDeque+Equatable.swift
[90/178] Compiling DequeModule UniqueDeque+Experimental.swift
[92/183] Compiling DequeModule Deque+Extras.swift
[93/183] Compiling DequeModule Deque+Hashable.swift
[94/183] Compiling DequeModule Deque+Testing.swift
[95/183] Compiling DequeModule Deque._Storage.swift
[96/183] Compiling DequeModule Deque._UnsafeHandle.swift
[97/183] Compiling DequeModule Deque.swift
[98/183] Compiling DequeModule UniqueDeque+Replacements.swift
[99/183] Compiling DequeModule UniqueDeque+Initializers.swift
[100/183] Compiling DequeModule UniqueDeque+Insertions.swift
[101/183] Compiling DequeModule UniqueDeque+Prepend.swift
[102/183] Compiling DequeModule UniqueDeque+Removals.swift
[107/183] Compiling DequeModule UniqueDeque+Hashable.swift
[112/183] Compiling DequeModule Deque+Codable.swift
[113/183] Compiling DequeModule Deque+Collection.swift
[114/183] Compiling DequeModule Deque+CustomReflectable.swift
[115/183] Compiling DequeModule Deque+Descriptions.swift
[116/183] Compiling DequeModule Deque+Equatable.swift
[117/183] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[118/183] Compiling DequeModule _DequeBuffer.swift
[119/183] Compiling DequeModule _DequeBufferHeader.swift
[120/183] Compiling DequeModule RigidDeque+Equatable.swift
[121/183] Compiling DequeModule RigidDeque+Experimental.swift
[122/183] Compiling DequeModule RigidDeque+Hashable.swift
[123/183] Compiling DequeModule RigidDeque+Initializers.swift
[124/183] Compiling DequeModule RigidDeque+Insertions.swift
[125/183] Compiling DequeModule RigidDeque+Prepend.swift
[126/183] Compiling DequeModule RigidDeque+Removals.swift
[127/183] Compiling DequeModule RigidDeque+Replacements.swift
[128/183] Compiling DequeModule RigidDeque+Testing.swift
[129/183] Compiling DequeModule RigidDeque.swift
[130/183] Compiling DequeModule UniqueDeque+Append.swift
[133/183] Compiling DequeModule RigidDeque+Append.swift
[134/183] Compiling DequeModule RigidDeque+Consumption.swift
[135/183] Compiling DequeModule RigidDeque+Container.swift
[136/183] Compiling DequeModule RigidDeque+Descriptions.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
[174/187] Emitting module DequeModule
[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/241] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[182/241] Emitting module GenerationMacrosImpl
[183/242] Wrapping AST for GenerationMacrosImpl for debugging
[184/242] Write Objects.LinkFileList
[186/242] Emitting module AsyncAlgorithms
[186/249] Linking GenerationMacrosImpl-tool
[188/278] Emitting module SwiftGeneration
[189/282] Compiling SwiftGeneration Macros.swift
[190/282] Compiling SwiftGeneration ConvertibleFromGeneratedContent.swift
[191/282] Compiling SwiftGeneration ConvertibleToGeneratedContent.swift
[192/282] Compiling SwiftGeneration Generable.swift
[193/282] Compiling SwiftGeneration InstructionsRepresentable.swift
[194/282] Compiling SwiftGeneration PromptRepresentable.swift
[195/282] Compiling SwiftGeneration Tool.swift
[196/282] Compiling SwiftGeneration DynamicGenerationSchema.swift
[197/282] Compiling SwiftGeneration GeneratedContent.swift
[198/282] Compiling SwiftGeneration GenerationID.swift
[199/282] Compiling SwiftGeneration GenerationSchema.swift
[200/282] Compiling SwiftGeneration Instructions.swift
[201/282] Compiling SwiftGeneration InstructionsBuilder.swift
[202/282] Compiling SwiftGeneration Prompt.swift
[203/282] Compiling SwiftGeneration PromptBuilder.swift
[204/282] Compiling AsyncAlgorithms Rethrow.swift
[205/282] Compiling AsyncAlgorithms SetAlgebra.swift
[206/282] Compiling AsyncAlgorithms UnsafeTransfer.swift
[207/282] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[208/282] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[209/282] Compiling AsyncAlgorithms ZipStateMachine.swift
[210/282] Compiling AsyncAlgorithms ZipStorage.swift
[211/282] Compiling SwiftGeneration Array+Generable.swift
[212/282] Compiling SwiftGeneration Bool+Generable.swift
[213/282] Compiling SwiftGeneration Date+Generable.swift
[214/282] Compiling SwiftGeneration Decimal+Generable.swift
[223/282] Compiling SwiftGeneration Dictionary+Generable.swift
[224/282] Compiling SwiftGeneration Double+Generable.swift
[225/282] Compiling SwiftGeneration Float+Generable.swift
[226/282] Compiling SwiftGeneration GeneratedContent+Representable.swift
[230/282] Compiling SwiftGeneration SchemaCompatibility.swift
[231/282] Compiling JSONSchema JSONValue.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] Compiling SwiftGeneration String+Generable.swift
[237/282] Compiling SwiftGeneration String+Representable.swift
[238/282] Compiling SwiftGeneration URL+Generable.swift
[239/282] Compiling SwiftGeneration UUID+Generable.swift
[245/285] Emitting module OpenFoundationModelsCore
[246/285] Compiling OpenFoundationModelsCore Exports.swift
[264/286] Compiling AsyncAlgorithms AsyncFlatMapLatestSequence.swift
[265/286] Compiling AsyncAlgorithms FlatMapLatestStateMachine.swift
[266/286] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[267/286] Compiling AsyncAlgorithms Disconnected.swift
[268/286] Compiling AsyncAlgorithms _TinyArray.swift
[269/286] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[270/286] Compiling AsyncAlgorithms Locking.swift
[272/286] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[273/286] Compiling AsyncAlgorithms AsyncChannel.swift
[274/286] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[275/286] Compiling AsyncAlgorithms ChannelStateMachine.swift
[276/286] Compiling AsyncAlgorithms ChannelStorage.swift
[277/286] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[278/286] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[279/286] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[280/286] Compiling AsyncAlgorithms MergeStateMachine.swift
[281/286] Compiling AsyncAlgorithms MergeStorage.swift
[282/286] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[283/286] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[284/286] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[286/299] Compiling OpenFoundationModels TypeAliases.swift
[287/300] Compiling OpenFoundationModels UnavailabilityReason.swift
[288/300] Emitting module JSONSchema
[289/300] Compiling JSONSchema JSONSchema.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[291/301] Compiling OpenFoundationModels Prompt+Transcript.swift
[292/301] Compiling OpenFoundationModels GenerationOptions.swift
[293/301] Compiling OpenFoundationModels LanguageModelFeedback.swift
[294/301] Compiling OpenFoundationModels LanguageModel.swift
[295/301] Compiling OpenFoundationModels AttachedImage.swift
[296/301] Compiling OpenFoundationModels AvailabilityStatus.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 Transcript.swift
BUILD FAILURE 6.2 android