Build Information
Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.4 for Linux on 25 Sep 2026 00:56:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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>&1Build 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: 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-54344843-2":/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/apple/swift-async-algorithms.git
Fetching https://github.com/mattt/JSONSchema.git
[1/207] Fetching jsonschema
[173/6939] Fetching jsonschema, swift-async-algorithms
Fetching https://github.com/1amageek/swift-generation.git
[6940/7175] Fetching jsonschema, swift-async-algorithms, swift-generation
Fetched https://github.com/mattt/JSONSchema.git (1.00s)
Fetched https://github.com/apple/swift-async-algorithms.git (1.00s)
Fetched https://github.com/1amageek/swift-generation.git (0.43s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (1.18s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.36s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.70s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (0.15s)
Fetching https://github.com/apple/swift-collections.git
[1/27702] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.14s)
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.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.36s)
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
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/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.6
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 915]
[Planning deferred tasks]
[Starting]
[170 / 367]
[204 / 392] SwiftSyntax509
[218 / 392] SwiftSyntax
[219 / 392] SwiftSyntax601
[227 / 393] SwiftSyntax509
[237 / 395] SwiftSyntax601
[237 / 395] SwiftSyntax602
[243 / 400] SpanPreview
[249 / 404] SpanPreview
[251 / 404] InternalCollectionsUtilities
[259 / 406] InternalCollectionsUtilities
[263 / 407] OrderedCollections
[271 / 425] SwiftSyntax
[272 / 434] DequeModule
[273 / 434] SwiftSyntax
[276 / 434] OrderedCollections
[280 / 434] SwiftSyntax
[282 / 434] OrderedCollections
[283 / 434] DequeModule
[288 / 434] DequeModule
[290 / 434] OrderedCollections-product
[292 / 434] OrderedCollections
[292 / 434] JSONSchema
[293 / 434] OrderedCollections
[296 / 434] DequeModule
[296 / 434] OrderedCollections
[298 / 435] OrderedCollections
[300 / 435] OrderedCollections
[301 / 435] DequeModule-product
[302 / 435] DequeModule-product
[304 / 436]
[306 / 439] JSONSchema
[307 / 439] JSONSchema
[308 / 440] DequeModule
[315 / 440] JSONSchema
[316 / 441]
[318 / 450] AsyncAlgorithms
[319 / 450] SwiftSyntax
[321 / 450] SwiftSyntax
[330 / 450] AsyncAlgorithms
[331 / 450] AsyncAlgorithms
[332 / 450] AsyncAlgorithms-product
[334 / 450] AsyncAlgorithms-product
[336 / 451] JSONSchema
[338 / 451]
[341 / 461] SwiftParser
[342 / 461] SwiftParser
[342 / 461] SwiftSyntax
[344 / 461] SwiftParser
[345 / 461] SwiftParser
[347 / 461] SwiftParser
[351 / 462] SwiftParser
[353 / 462] SwiftParser
[356 / 462]
[359 / 472] SwiftDiagnostics
[360 / 472] SwiftDiagnostics
[361 / 472] SwiftDiagnostics
[366 / 472] SwiftDiagnostics
[368 / 472] SwiftDiagnostics
[368 / 472] SwiftOperators
[370 / 472] SwiftDiagnostics
[370 / 472] SwiftParser
[371 / 472] JSONSchema
[374 / 480] SwiftBasicFormat
[376 / 481] SwiftBasicFormat
[378 / 481] SwiftBasicFormat
[380 / 481] SwiftBasicFormat
[382 / 481] SwiftBasicFormat
[386 / 481] SwiftBasicFormat
[390 / 491] SwiftOperators
[390 / 491] SwiftBasicFormat
[394 / 491] SwiftOperators
[397 / 493] SwiftOperators
[406 / 494] SwiftOperators
[410 / 503] SwiftParserDiagnostics
[411 / 503] SwiftParserDiagnostics
[413 / 503] SwiftParserDiagnostics
[414 / 504] SwiftParserDiagnostics
[415 / 504] SwiftParserDiagnostics
[421 / 504] SwiftParserDiagnostics
[423 / 505]
[424 / 514] SwiftParserDiagnostics
[426 / 514] SwiftSyntaxBuilder
[427 / 514] SwiftSyntaxBuilder
[428 / 514] SwiftSyntaxBuilder
[429 / 514] SwiftSyntaxBuilder
[431 / 514] SwiftSyntaxBuilder
[433 / 514] SwiftSyntaxBuilder
[437 / 514] SwiftSyntaxBuilder
[438 / 515] SwiftSyntaxBuilder
[439 / 516] SwiftSyntaxBuilder
[446 / 526] SwiftParserDiagnostics
[449 / 526] SwiftSyntaxMacros
[462 / 536] SwiftSyntaxMacroExpansion
[464 / 536] SwiftSyntaxMacroExpansion
[466 / 537] SwiftSyntaxMacroExpansion
[468 / 537] SwiftSyntaxMacroExpansion
[478 / 547] SwiftCompilerPluginMessageHandling
[479 / 547] SwiftCompilerPluginMessageHandling
[481 / 547] SwiftCompilerPluginMessageHandling
[488 / 547] SwiftCompilerPluginMessageHandling
[491 / 550] SwiftCompilerPlugin
[496 / 550] SwiftCompilerPlugin
[497 / 551] SwiftCompilerPlugin
[498 / 551] SwiftSyntaxMacroExpansion
[500 / 552] SwiftCompilerPluginMessageHandling
[502 / 553] SwiftSyntax
[503 / 554] SwiftSyntax
[505 / 554] SwiftSyntax
[508 / 554] SwiftParser
[511 / 554] SwiftSyntaxBuilder
[514 / 554] SwiftCompilerPluginMessageHandling
[520 / 555] GenerationMacrosImpl
[522 / 557] GenerationMacrosImpl
[523 / 557] GenerationMacrosImpl
[526 / 558] GenerationMacrosImpl
[527 / 558] GenerationMacrosImpl
[528 / 559] SwiftGeneration
[537 / 568] SwiftGeneration
[545 / 571] OpenFoundationModelsCore
[558 / 582] OpenFoundationModels
[558 / 582] SwiftGeneration
[561 / 582] OpenFoundationModels
[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: [1;31merror: [1;39mcannot find type 'Observable' in scope[0;0m
[0;36m3 |[0;0m @_spi(Internal) import OpenFoundationModelsCore
[0;36m4 |[0;0m
[0;36m5 |[0;0m public final class LanguageModelSession: [4;39mObservable[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Observable' in scope[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m 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