The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenFoundationModels, reference 1.18.0 (be5548), with Swift 6.4 for Wasm on 25 Sep 2026 00:56:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 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:         wasm
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-3":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/1amageek/swift-generation.git
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/207] Fetching jsonschema
[208/443] Fetching jsonschema, swift-generation
[312/7175] Fetching jsonschema, swift-generation, swift-async-algorithms
Fetched https://github.com/mattt/JSONSchema.git (0.62s)
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.80s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.80s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (5.26s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (0.21s)
Fetching https://github.com/apple/swift-collections.git
[1/27702] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.49s)
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.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.40s)
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/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/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]
[Constructing description]
[Pre-planning 1 / 915]
[Planning deferred tasks]
[Starting]
[22 / 360] OrderedCollections
[181 / 376] SwiftSyntax600
[212 / 386] InternalCollectionsUtilities
[213 / 395] SwiftSyntax
[213 / 395] SwiftSyntax601
[227 / 397] SwiftSyntax
[228 / 398] SwiftSyntax600
[233 / 400] SwiftSyntax600
[237 / 400] SwiftSyntax509
[239 / 400] SwiftSyntax509
[240 / 400] SwiftSyntax
[242 / 400] InternalCollectionsUtilities
[243 / 400] SpanPreview
[244 / 400] SpanPreview
[247 / 400]
[249 / 403] SpanPreview
[257 / 416] SpanPreview
[263 / 417] SpanPreview
[265 / 417] SpanPreview
[267 / 417] OrderedCollections
[268 / 417] OrderedCollections
[271 / 417] OrderedCollections
[275 / 417] OrderedCollections
[280 / 421] JSONSchema
[281 / 421] JSONSchema
[282 / 422] OrderedCollections
[289 / 423]
[291 / 432] DequeModule
[292 / 432] SwiftSyntax
[294 / 432] SwiftSyntax
[298 / 432] DequeModule
[299 / 432] SwiftParser
[300 / 432] SwiftParser
[302 / 432] DequeModule
[303 / 432] DequeModule
[305 / 432] DequeModule
[311 / 434]
[314 / 443] SwiftParser
[315 / 443] SwiftParser
[316 / 444] SwiftParser
[317 / 444] SwiftParser
[318 / 444] SwiftParser
[319 / 444] SwiftParser
[324 / 444] SwiftParser
[326 / 444] DequeModule
[329 / 446] SwiftBasicFormat
[331 / 462] SwiftBasicFormat
[332 / 462] SwiftDiagnostics
[333 / 462] SwiftDiagnostics
[337 / 462] SwiftDiagnostics
[347 / 462] SwiftOperators
[348 / 462] SwiftOperators
[349 / 462] SwiftBasicFormat
[353 / 463] SwiftParser
[355 / 463] SwiftParser
[357 / 463] SwiftDiagnostics
[361 / 465] SpanPreview
[362 / 465] SwiftBasicFormat
[365 / 476] SwiftOperators
[369 / 494] AsyncAlgorithms
[372 / 495] SwiftParserDiagnostics
[373 / 495] SwiftParserDiagnostics
[374 / 495] SwiftParserDiagnostics
[375 / 495] SwiftParserDiagnostics
[383 / 495] SwiftOperators
[387 / 495] SwiftParserDiagnostics
[389 / 495] SwiftOperators
[391 / 495] SwiftOperators
[395 / 495] AsyncAlgorithms
[402 / 495] SwiftBasicFormat
[404 / 495] AsyncAlgorithms-product
[406 / 496] SwiftOperators
[407 / 497] SwiftParserDiagnostics
[412 / 497] AsyncAlgorithms
[412 / 497]
[413 / 498]
[415 / 507] SwiftSyntaxBuilder
[416 / 507] SwiftSyntaxBuilder
[417 / 507] SwiftSyntaxBuilder
[420 / 507] SwiftSyntaxBuilder
[424 / 507] SwiftSyntaxBuilder
[425 / 507] SwiftSyntaxMacros
[426 / 507] SwiftSyntaxMacros
[427 / 507] AsyncAlgorithms
[430 / 517] SwiftSyntaxMacros
[433 / 517] SwiftSyntaxMacros
[437 / 517] SwiftSyntaxMacros
[440 / 517] SwiftSyntaxMacros-product
[442 / 517] SwiftSyntaxMacros-product
[448 / 527] SwiftSyntaxMacroExpansion
[448 / 528] SwiftSyntaxBuilder
[453 / 529] SwiftSyntaxMacroExpansion
[454 / 529] SwiftSyntaxMacroExpansion
[459 / 530] SwiftSyntaxMacroExpansion
[465 / 530]
[468 / 540] SwiftCompilerPluginMessageHandling
[470 / 540] SwiftCompilerPluginMessageHandling
[471 / 540] SwiftCompilerPluginMessageHandling
[472 / 540] SwiftCompilerPluginMessageHandling
[473 / 540] SwiftCompilerPluginMessageHandling
[474 / 540] SwiftCompilerPluginMessageHandling
[475 / 540] SwiftCompilerPluginMessageHandling
[482 / 541]
[484 / 543] SwiftCompilerPlugin
[489 / 543] SwiftCompilerPlugin
[490 / 544] SwiftCompilerPluginMessageHandling
[491 / 545] SwiftSyntaxMacroExpansion
[493 / 545] SwiftCompilerPluginMessageHandling
[495 / 546] SwiftSyntax
[495 / 547] SwiftSyntax
[498 / 547] SwiftSyntax
[503 / 547] SwiftOperators
[504 / 547] SwiftSyntaxBuilder
[506 / 547] SwiftSyntaxMacroExpansion
[513 / 548] GenerationMacrosImpl
[515 / 550] GenerationMacrosImpl
[516 / 550] GenerationMacrosImpl
[520 / 551] GenerationMacrosImpl
[530 / 561] SwiftGeneration
[538 / 564] OpenFoundationModelsCore
[545 / 567] OpenFoundationModels
[553 / 575] OpenFoundationModels
[554 / 575] OpenFoundationModels
[555 / 575] OpenFoundationModels
error: SwiftCompile normal wasm32 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 wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/OpenFoundationModels-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/OpenFoundationModels-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/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-webassembly-wasm32/OpenFoundationModels-t.build/Objects-normal/wasm32/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-webassembly-wasm32/OpenFoundationModels-t.build/Objects-normal/wasm32/Modules/OpenFoundationModels.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/OpenFoundationModels-t.build/Objects-normal/wasm32/Modules/OpenFoundationModels.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/OpenFoundationModels-t.build/Objects-normal/wasm32/OpenFoundationModels-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/OpenFoundationModels-t.build/Objects-normal/wasm32/OpenFoundationModels-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/OpenFoundationModels-t.build/Objects-normal/wasm32/OpenFoundationModels-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenFoundationModels.build/Debug-webassembly-wasm32/OpenFoundationModels-t.build/Objects-normal/wasm32/Modules/OpenFoundationModels.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm