The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.4 for Android on 25 Sep 2026 00:56:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/1amageek/OpenFoundationModels.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/1amageek/swift-generation.git
Fetching https://github.com/mattt/JSONSchema.git
[1/236] Fetching swift-generation
[110/443] Fetching swift-generation, jsonschema
[444/7175] Fetching swift-generation, jsonschema, swift-async-algorithms
Fetched https://github.com/mattt/JSONSchema.git (0.61s)
Fetched https://github.com/1amageek/swift-generation.git (0.62s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.62s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (0.82s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.25s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.46s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (0.19s)
Fetching https://github.com/apple/swift-collections.git
[1/27702] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.34s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (1.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.30s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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.6
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/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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 915]
[Planning deferred tasks]
[Starting]
[165 / 370] DequeModule
[183 / 376] _SwiftSyntaxCShims
[191 / 386] SwiftSyntax600
[219 / 387] InternalCollectionsUtilities
[222 / 396] InternalCollectionsUtilities
[223 / 405] SwiftSyntax
[223 / 405] SwiftSyntax509
[231 / 407] SwiftSyntax509
[237 / 407] SwiftSyntax
[240 / 410] SwiftSyntax602
[243 / 410] SwiftSyntax
[244 / 410] SwiftSyntax
[248 / 410] SwiftSyntax
[253 / 410] InternalCollectionsUtilities
[254 / 410] SpanPreview
[257 / 410] InternalCollectionsUtilities
[258 / 411] SpanPreview
[262 / 416] SpanPreview
[273 / 418] SpanPreview
[277 / 428] OrderedCollections
[278 / 437] DequeModule
[279 / 437] OrderedCollections
[280 / 437] OrderedCollections
[281 / 437] OrderedCollections
[288 / 437] OrderedCollections
[289 / 437] OrderedCollections-product
[293 / 437] DequeModule
[297 / 437] JSONSchema
[298 / 437] DequeModule-product
[299 / 438] SwiftSyntax
[307 / 438] DequeModule
[309 / 438] AsyncAlgorithms
[315 / 460] JSONSchema
[316 / 470] SwiftBasicFormat
[319 / 470] SwiftDiagnostics
[325 / 470] SwiftBasicFormat
[331 / 471] SwiftParser
[332 / 471] JSONSchema
[343 / 471] SwiftParser
[345 / 471] SwiftParser
[346 / 471] SwiftDiagnostics
[346 / 471] SwiftParser
[348 / 471] SwiftDiagnostics
[349 / 471] SwiftDiagnostics
[351 / 471] SwiftOperators
[354 / 471] SwiftBasicFormat
[355 / 471] SwiftBasicFormat
[356 / 471] SwiftBasicFormat
[358 / 472] SwiftParserDiagnostics
[362 / 472] JSONSchema
[362 / 472] SwiftBasicFormat
[363 / 472] JSONSchema-product
[368 / 474]
[371 / 484] SwiftParser
[372 / 484] AsyncAlgorithms
[375 / 484] AsyncAlgorithms
[376 / 484] AsyncAlgorithms
[377 / 484] AsyncAlgorithms
[379 / 484] AsyncAlgorithms
[384 / 484] AsyncAlgorithms-product
[388 / 504] SwiftOperators
[390 / 504] SwiftOperators
[397 / 504] SwiftOperators
[401 / 504] SwiftParserDiagnostics
[402 / 505] SwiftSyntaxBuilder
[404 / 505] SwiftSyntaxBuilder
[406 / 505] SwiftParserDiagnostics
[407 / 505] SwiftOperators
[408 / 505] SwiftOperators
[410 / 505] SwiftOperators
[411 / 505] SwiftOperators
[412 / 505] SwiftParserDiagnostics
[414 / 505] SwiftOperators
[415 / 505] SwiftOperators
[426 / 516] SwiftSyntaxBuilder
[427 / 517] SwiftSyntaxBuilder
[428 / 517] SwiftSyntaxBuilder
[429 / 517] SwiftSyntaxBuilder
[431 / 517] SwiftSyntaxBuilder
[441 / 520] SwiftSyntaxMacros
[444 / 528] SwiftSyntaxMacros
[447 / 528] SwiftSyntaxMacros
[451 / 528] SwiftSyntaxMacros
[460 / 538] SwiftSyntaxMacroExpansion
[462 / 538] SwiftSyntaxMacroExpansion
[463 / 539] SwiftSyntaxMacros
[464 / 539] SwiftSyntaxMacroExpansion
[474 / 540] SwiftSyntaxMacroExpansion
[479 / 550] SwiftCompilerPluginMessageHandling
[481 / 550] SwiftCompilerPluginMessageHandling
[484 / 550] SwiftSyntaxMacroExpansion
[485 / 550] SwiftCompilerPluginMessageHandling
[488 / 551] SwiftCompilerPluginMessageHandling
[496 / 554] SwiftCompilerPlugin
[501 / 554] SwiftCompilerPlugin
[503 / 555] SwiftCompilerPluginMessageHandling
[505 / 556] SwiftSyntax
[506 / 557] SwiftSyntax
[508 / 557] SwiftSyntax
[513 / 557] SwiftOperators
[517 / 557] SwiftCompilerPluginMessageHandling
[523 / 558] GenerationMacrosImpl
[525 / 560] GenerationMacrosImpl
[526 / 560] GenerationMacrosImpl
[530 / 561] GenerationMacrosImpl
[531 / 562] SwiftGeneration
[540 / 571] SwiftGeneration
[546 / 572] SwiftGeneration
[546 / 572] OpenFoundationModelsCore
[556 / 576] OpenFoundationModels
[564 / 585] OpenFoundationModels
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/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
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/OpenFoundationModels/AttachedImage.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/AvailabilityStatus.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/Core/Instructions+Transcript.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/Core/LanguageModelSession.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/Core/Prompt+Transcript.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/GenerationOptions.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/LanguageModelFeedback.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/Protocols/LanguageModel.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/Transcript+Codable.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/Transcript.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/TypeAliases.swift /host/spi-builder-workspace/Sources/OpenFoundationModels/UnavailabilityReason.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/GenerationMacrosImpl\#GenerationMacrosImpl -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenFoundationModels -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/Objects-normal/aarch64/OpenFoundationModels_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/Objects-normal/aarch64/Modules/OpenFoundationModels.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/Objects-normal/aarch64/Modules/OpenFoundationModels.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/Objects-normal/aarch64/OpenFoundationModels-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/Objects-normal/aarch64/OpenFoundationModels-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/Objects-normal/aarch64/OpenFoundationModels-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-android-aarch64/OpenFoundationModels-t.build/Objects-normal/aarch64/Modules/OpenFoundationModels.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android