The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenFoundationModels, reference 1.18.0 (be5548), with Swift 6.4 for Linux on 25 Sep 2026 04:57:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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:         linux
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-53886770-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/1amageek/swift-generation.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/207] Fetching jsonschema
[204/6939] Fetching jsonschema, swift-async-algorithms
Fetched https://github.com/mattt/JSONSchema.git (0.52s)
[539/6732] Fetching swift-async-algorithms
[5387/6968] Fetching swift-async-algorithms, swift-generation
Fetched https://github.com/1amageek/swift-generation.git (0.61s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.61s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (0.77s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.34s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.62s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (0.16s)
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.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.31s)
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 915]
[Planning deferred tasks]
[184 / 379] SwiftSyntax602
[218 / 392] SwiftSyntax509
[219 / 392] SwiftSyntax600
[231 / 394] SpanPreview
[237 / 396] SwiftSyntax601
[247 / 412] SwiftSyntax
[256 / 421] SwiftSyntax602
[262 / 423] SwiftSyntax602
[263 / 423] SwiftSyntax602
[268 / 423] OrderedCollections
[274 / 424] SpanPreview
[275 / 424] OrderedCollections
[278 / 424] OrderedCollections-product
[281 / 424] OrderedCollections
[285 / 426] DequeModule
[286 / 426] InternalCollectionsUtilities
[289 / 438] DequeModule
[290 / 439] OrderedCollections
[297 / 439] JSONSchema
[298 / 439] JSONSchema-product
[300 / 439] DequeModule
[308 / 440] JSONSchema
[309 / 440] DequeModule
[310 / 440] DequeModule-product
[311 / 440] DequeModule-product
[315 / 450] AsyncAlgorithms
[316 / 450] AsyncAlgorithms
[317 / 450] SwiftSyntax
[318 / 451] AsyncAlgorithms
[324 / 451] SwiftParser
[326 / 451] SwiftParser
[329 / 451] AsyncAlgorithms
[334 / 451] AsyncAlgorithms
[337 / 453] AsyncAlgorithms
[341 / 472] SwiftDiagnostics
[345 / 479] SwiftParser
[355 / 479] SwiftDiagnostics
[355 / 479] SwiftParser
[357 / 479] SwiftBasicFormat
[359 / 480] SwiftBasicFormat
[364 / 480] SwiftParser
[365 / 480] SwiftParser
[366 / 480] SwiftDiagnostics
[367 / 480] SwiftDiagnostics
[370 / 480] SwiftDiagnostics
[372 / 480] SwiftOperators
[374 / 480] SwiftBasicFormat
[376 / 480] SwiftBasicFormat
[377 / 481] SwiftParserDiagnostics
[379 / 481] SwiftBasicFormat
[384 / 482]
[387 / 491] SwiftParserDiagnostics
[389 / 491] SwiftParserDiagnostics
[391 / 491] SwiftParserDiagnostics
[393 / 492] SwiftBasicFormat
[394 / 492] SwiftParserDiagnostics
[402 / 502] SwiftSyntaxBuilder
[406 / 503] SwiftParser
[412 / 503] SwiftOperators
[421 / 505] SwiftSyntaxBuilder
[425 / 513] SwiftSyntaxBuilder
[426 / 513] SwiftSyntaxBuilder
[428 / 515] SwiftParserDiagnostics
[429 / 515] SwiftSyntaxBuilder
[430 / 515] SwiftSyntaxBuilder
[440 / 516]
[443 / 525] SwiftSyntaxMacros
[445 / 525] SwiftSyntaxMacros
[452 / 525] SwiftSyntaxMacros
[458 / 535] SwiftSyntaxMacroExpansion
[462 / 536] SwiftSyntaxMacroExpansion
[463 / 537] SwiftSyntaxMacros
[467 / 537] SwiftSyntaxBuilder
[477 / 547] SwiftCompilerPluginMessageHandling
[480 / 547] SwiftCompilerPluginMessageHandling
[481 / 547] SwiftCompilerPluginMessageHandling
[482 / 547] SwiftCompilerPluginMessageHandling
[491 / 550] SwiftCompilerPlugin
[497 / 551] SwiftSyntaxMacroExpansion
[500 / 552] SwiftCompilerPluginMessageHandling
[502 / 553] SwiftSyntax
[505 / 554] SwiftSyntax
[512 / 554] SwiftSyntaxMacros
[520 / 555] GenerationMacrosImpl
[522 / 557] GenerationMacrosImpl
[523 / 557] GenerationMacrosImpl
[527 / 558] GenerationMacrosImpl
[537 / 568] SwiftGeneration
[542 / 568] SwiftGeneration
[559 / 582] OpenFoundationModelsCore
[562 / 582] OpenFoundationModels
error: SwiftCompile normal x86_64 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:
/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 x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 /usr/lib/swift/host/plugins/testing\#/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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/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-linux-x86_64/OpenFoundationModels-t.build/Objects-normal/x86_64/OpenFoundationModels_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/Objects-normal/x86_64/Modules/OpenFoundationModels.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/Objects-normal/x86_64/Modules/OpenFoundationModels.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/Objects-normal/x86_64/OpenFoundationModels-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/Objects-normal/x86_64/OpenFoundationModels-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/Objects-normal/x86_64/OpenFoundationModels-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-linux-x86_64/OpenFoundationModels-t.build/Objects-normal/x86_64/Modules/OpenFoundationModels.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux