The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.3 for Android on 24 Apr 2026 12:12:30 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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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.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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/1amageek/swift-generation.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/mattt/JSONSchema.git
[1/202] Fetching jsonschema
[30/438] Fetching jsonschema, swift-generation
[439/6685] Fetching jsonschema, swift-generation, swift-async-algorithms
Fetched https://github.com/1amageek/swift-generation.git from cache (0.36s)
[2576/6449] Fetching jsonschema, swift-async-algorithms
Fetched https://github.com/mattt/JSONSchema.git from cache (0.36s)
[2437/6247] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.55s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (1.00s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.13s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (12.29s)
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.94s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.34s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (2.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.03s)
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/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
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.63s)
Building for debugging...
[0/15] Write sources
[11/15] Write swift-version--4F562202D5529B1.txt
[13/35] Emitting module InternalCollectionsUtilities
[14/37] Emitting module GenerationMacrosImpl
[15/37] Compiling InternalCollectionsUtilities Debugging.swift
[16/37] Compiling InternalCollectionsUtilities Descriptions.swift
[17/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[19/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[20/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[21/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/37] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[23/37] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[24/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[25/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/37] Compiling InternalCollectionsUtilities Span+Extras.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 Integer rank.swift
[32/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[33/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[35/126] Compiling OrderedCollections _HashTable+Bucket.swift
[36/126] Compiling OrderedCollections _HashTable+BucketIterator.swift
[37/126] Compiling OrderedCollections _HashTable+Constants.swift
[38/126] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[39/126] Compiling OrderedCollections _HashTable+Testing.swift
[40/130] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[41/130] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[42/130] Compiling OrderedCollections OrderedDictionary.swift
[43/130] Compiling OrderedCollections OrderedSet+Codable.swift
[44/130] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[45/130] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[46/130] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[47/130] Compiling OrderedCollections OrderedDictionary+Elements.swift
[48/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[49/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[50/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[51/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[52/130] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[53/130] Compiling OrderedCollections OrderedSet+Hashable.swift
[54/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[55/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[56/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[57/130] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[58/130] Compiling OrderedCollections OrderedSet+Descriptions.swift
[59/130] Compiling OrderedCollections OrderedSet+Diffing.swift
[60/130] Compiling OrderedCollections OrderedSet+Equatable.swift
[61/130] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[62/130] Emitting module ContainersPreview
[63/130] Compiling ContainersPreview Box.swift
[64/130] Compiling ContainersPreview Inout.swift
[65/130] Compiling ContainersPreview InputSpan.swift
[66/130] Compiling ContainersPreview Shared.swift
[67/130] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[68/130] Compiling OrderedCollections _HashTable.swift
[69/130] Compiling OrderedCollections _Hashtable+Header.swift
[70/130] Compiling OrderedCollections OrderedDictionary+Codable.swift
[71/130] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[73/171] Compiling DequeModule UniqueDeque+Container.swift
[74/171] Compiling DequeModule UniqueDeque+Descriptions.swift
[75/171] Compiling DequeModule UniqueDeque+Equatable.swift
[76/171] Compiling DequeModule UniqueDeque+Experimental.swift
[77/171] Compiling DequeModule _DequeBuffer.swift
[78/171] Compiling DequeModule _DequeBufferHeader.swift
[79/171] Compiling DequeModule RigidDeque+Append.swift
[80/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[81/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[82/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[83/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[84/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[85/178] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[86/178] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[87/178] Compiling DequeModule Deque._UnsafeHandle.swift
[88/178] Compiling DequeModule Deque.swift
[89/178] Compiling DequeModule UniqueDeque+Hashable.swift
[90/178] Compiling DequeModule UniqueDeque+Initializers.swift
[91/178] Compiling DequeModule UniqueDeque+Insertions.swift
[92/178] Compiling DequeModule UniqueDeque+Prepend.swift
[93/178] Compiling DequeModule UniqueDeque+Removals.swift
[94/178] Compiling DequeModule UniqueDeque+Consumption.swift
[100/183] Compiling DequeModule UniqueDeque+Replacements.swift
[101/183] Compiling DequeModule UniqueDeque.swift
[102/183] Compiling DequeModule _DequeSlot.swift
[103/183] Compiling DequeModule _UnsafeDequeHandle.swift
[104/183] Compiling DequeModule _UnsafeDequeSegments.swift
[105/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[106/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[107/183] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[108/183] Compiling DequeModule RigidDeque+Consumption.swift
[109/183] Compiling DequeModule RigidDeque+Container.swift
[110/183] Compiling DequeModule RigidDeque+Descriptions.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
[121/183] Compiling DequeModule Deque+CustomReflectable.swift
[122/183] Compiling DequeModule Deque+Descriptions.swift
[123/183] Compiling DequeModule Deque+Equatable.swift
[124/183] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[125/183] Compiling DequeModule Deque+Extras.swift
[126/183] Compiling DequeModule Deque+Hashable.swift
[127/183] Compiling DequeModule Deque+Testing.swift
[128/183] Compiling DequeModule Deque._Storage.swift
[140/183] Compiling DequeModule Deque+Codable.swift
[141/183] Compiling DequeModule Deque+Collection.swift
[146/183] Compiling DequeModule RigidDeque+Equatable.swift
[147/183] Compiling DequeModule RigidDeque+Experimental.swift
[148/183] Compiling DequeModule RigidDeque+Hashable.swift
[149/183] Compiling DequeModule RigidDeque+Initializers.swift
[150/183] Compiling DequeModule RigidDeque+Insertions.swift
[151/183] Compiling DequeModule RigidDeque+Prepend.swift
[166/183] Compiling OrderedCollections OrderedSet+Sendable.swift
[167/183] Compiling OrderedCollections OrderedSet+SubSequence.swift
[168/183] Compiling OrderedCollections OrderedSet+Testing.swift
[169/183] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[170/183] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[171/183] Compiling OrderedCollections OrderedSet.swift
[172/183] Compiling OrderedCollections _UnsafeBitset.swift
[173/183] Emitting module OrderedCollections
[175/187] Emitting module DequeModule
[182/241] Compiling GenerationMacrosImpl GenerationMacrosImpl.swift
[183/242] Wrapping AST for GenerationMacrosImpl for debugging
[184/242] Write Objects.LinkFileList
[186/242] Emitting module JSONSchema
[187/242] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[188/242] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[189/242] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[190/242] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[191/242] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[192/242] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[193/242] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[194/242] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[195/249] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[196/249] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[197/249] Compiling AsyncAlgorithms AsyncChannel.swift
[198/249] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[199/249] Compiling AsyncAlgorithms ChannelStateMachine.swift
[200/249] Compiling AsyncAlgorithms ChannelStorage.swift
[201/249] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[201/249] Linking GenerationMacrosImpl-tool
[203/278] Emitting module AsyncAlgorithms
[204/278] Emitting module SwiftGeneration
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[205/282] Compiling SwiftGeneration Macros.swift
[206/282] Compiling SwiftGeneration ConvertibleFromGeneratedContent.swift
[207/282] Compiling SwiftGeneration ConvertibleToGeneratedContent.swift
[208/282] Compiling SwiftGeneration Generable.swift
[209/282] Compiling SwiftGeneration String+Generable.swift
[210/282] Compiling SwiftGeneration String+Representable.swift
[211/282] Compiling SwiftGeneration URL+Generable.swift
[212/282] Compiling SwiftGeneration GenerationSchema.swift
[213/282] Compiling SwiftGeneration Instructions.swift
[214/282] Compiling SwiftGeneration InstructionsRepresentable.swift
[215/282] Compiling SwiftGeneration PromptRepresentable.swift
[216/282] Compiling SwiftGeneration Tool.swift
[217/282] Compiling SwiftGeneration DynamicGenerationSchema.swift
[218/282] Compiling SwiftGeneration InstructionsBuilder.swift
[219/282] Compiling AsyncAlgorithms Rethrow.swift
[220/282] Compiling AsyncAlgorithms SetAlgebra.swift
[221/282] Compiling AsyncAlgorithms UnsafeTransfer.swift
[222/282] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[223/282] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[224/282] Compiling AsyncAlgorithms ZipStateMachine.swift
[225/282] Compiling AsyncAlgorithms ZipStorage.swift
[229/282] Compiling SwiftGeneration UUID+Generable.swift
[230/282] Compiling SwiftGeneration Int+Generable.swift
[231/282] Compiling SwiftGeneration Never+Generable.swift
[232/282] Compiling SwiftGeneration Optional+Generable.swift
[233/282] Compiling SwiftGeneration StandardTypes+Representable.swift
[234/282] Compiling SwiftGeneration Dictionary+Generable.swift
[235/282] Compiling SwiftGeneration Double+Generable.swift
[236/282] Compiling SwiftGeneration Float+Generable.swift
[237/282] Compiling SwiftGeneration GeneratedContent+Representable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[243/282] Compiling SwiftGeneration Prompt.swift
[244/282] Compiling SwiftGeneration PromptBuilder.swift
[245/282] Compiling SwiftGeneration SchemaCompatibility.swift
[246/282] Compiling JSONSchema JSONValue.swift
[247/282] Compiling SwiftGeneration Array+Generable.swift
[248/282] Compiling SwiftGeneration Bool+Generable.swift
[249/282] Compiling SwiftGeneration Date+Generable.swift
[250/282] Compiling SwiftGeneration Decimal+Generable.swift
[255/282] Compiling SwiftGeneration GeneratedContent.swift
[256/282] Compiling SwiftGeneration GenerationID.swift
[260/283] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[261/283] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[262/283] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[263/283] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[264/283] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[265/283] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[266/283] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[267/283] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[271/283] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[272/283] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[273/283] Compiling AsyncAlgorithms AsyncMapErrorSequence.swift
[274/283] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[275/283] Compiling AsyncAlgorithms AsyncShareSequence.swift
[276/283] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[277/283] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[278/283] Compiling AsyncAlgorithms MergeStateMachine.swift
[279/283] Compiling AsyncAlgorithms MergeStorage.swift
[280/283] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[281/283] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[282/283] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[284/284] Compiling JSONSchema JSONSchema.swift
[286/287] Emitting module OpenFoundationModelsCore
[287/287] Compiling OpenFoundationModelsCore Exports.swift
[289/300] Compiling OpenFoundationModels TypeAliases.swift
[290/301] Compiling OpenFoundationModels Prompt+Transcript.swift
[291/301] Compiling OpenFoundationModels GenerationOptions.swift
[292/301] Compiling OpenFoundationModels UnavailabilityReason.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[293/301] Compiling OpenFoundationModels AttachedImage.swift
[294/301] Compiling OpenFoundationModels AvailabilityStatus.swift
[295/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
[296/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
[297/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
[298/301] Compiling OpenFoundationModels Transcript.swift
[299/301] Compiling OpenFoundationModels LanguageModelFeedback.swift
[300/301] Compiling OpenFoundationModels LanguageModel.swift
[301/301] Compiling OpenFoundationModels Transcript+Codable.swift
BUILD FAILURE 6.3 android