Build Information
Failed to build OpenFoundationModels, reference main (be5548), with Swift 6.4 for Wasm on 25 Sep 2026 00:56:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 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: 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-54344845-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: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/mattt/JSONSchema.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/1amageek/swift-generation.git
[1/6732] Fetching swift-async-algorithms
[2/6939] Fetching swift-async-algorithms, jsonschema
[1991/7175] Fetching swift-async-algorithms, jsonschema, swift-generation
Fetched https://github.com/1amageek/swift-generation.git (0.49s)
[6266/6939] Fetching swift-async-algorithms, jsonschema
Fetched https://github.com/mattt/JSONSchema.git (0.49s)
[6261/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.53s)
Computing version for https://github.com/1amageek/swift-generation.git
Computed https://github.com/1amageek/swift-generation.git at 0.5.0 (0.71s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.44s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.72s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (0.20s)
Fetching https://github.com/apple/swift-collections.git
[1/27702] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.46s)
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.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
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/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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 915]
[Planning deferred tasks]
[179 / 376] SwiftSyntax600
[211 / 385] SwiftSyntax
[212 / 385] SwiftSyntax602
[224 / 387] SpanPreview
[230 / 389] SwiftSyntax602
[233 / 389] SwiftSyntax510
[233 / 389] InternalCollectionsUtilities
[238 / 393] SpanPreview
[239 / 393] SwiftSyntax509
[255 / 400] SpanPreview
[256 / 400]
[256 / 400] SwiftSyntax
[265 / 427] DequeModule
[266 / 427] SwiftSyntax
[268 / 427] OrderedCollections
[270 / 427] OrderedCollections
[275 / 427] OrderedCollections
[276 / 427] OrderedCollections
[277 / 427] DequeModule
[280 / 427] DequeModule
[284 / 427] OrderedCollections-product
[285 / 427] OrderedCollections-product
[286 / 427] JSONSchema
[287 / 427] DequeModule
[290 / 428] OrderedCollections
[292 / 428] OrderedCollections
[294 / 428] OrderedCollections
[296 / 428] DequeModule
[296 / 428] AsyncAlgorithms
[300 / 433] JSONSchema
[301 / 442] AsyncAlgorithms
[302 / 443] JSONSchema
[302 / 443] SwiftSyntax
[313 / 443] SwiftParser
[316 / 443] DequeModule
[323 / 443] AsyncAlgorithms-product
[324 / 443] AsyncAlgorithms-product
[325 / 443] AsyncAlgorithms-product
[327 / 444] JSONSchema
[329 / 444] JSONSchema
[330 / 444]
[332 / 447] SwiftDiagnostics
[334 / 465] SwiftDiagnostics
[335 / 465] SwiftBasicFormat
[337 / 472] SwiftBasicFormat
[344 / 472] SwiftBasicFormat
[349 / 473] SwiftSyntax
[351 / 473] SwiftParser
[352 / 473] SwiftParser
[354 / 473] SwiftParser
[358 / 473] SwiftParser
[360 / 473] SwiftDiagnostics
[361 / 473] SwiftOperators
[362 / 473] SwiftOperators
[364 / 473] SwiftDiagnostics
[367 / 473] SwiftDiagnostics
[370 / 473] SwiftBasicFormat
[371 / 473] SwiftParserDiagnostics
[374 / 474] SwiftDiagnostics
[379 / 475] SwiftParserDiagnostics
[383 / 494] SwiftOperators
[385 / 494] SwiftParserDiagnostics
[386 / 495] SwiftParserDiagnostics
[389 / 496] SwiftOperators
[392 / 496] SwiftParserDiagnostics
[400 / 496] SwiftParserDiagnostics
[403 / 496] SwiftParser
[405 / 496] SwiftParserDiagnostics
[407 / 496] SwiftOperators
[409 / 496] SwiftOperators
[411 / 496] SwiftBasicFormat
[414 / 497]
[418 / 506] SwiftOperators
[419 / 507] SwiftSyntaxBuilder
[421 / 507] SwiftSyntaxBuilder
[422 / 507] SwiftSyntaxBuilder
[423 / 507] SwiftSyntaxBuilder
[425 / 507] SwiftSyntaxBuilder
[435 / 518] SwiftSyntaxBuilder
[438 / 518] SwiftSyntaxMacros
[445 / 518] SwiftSyntaxMacros
[452 / 528] SwiftSyntaxMacroExpansion
[454 / 528] SwiftSyntaxMacroExpansion
[456 / 529] SwiftSyntaxMacroExpansion
[458 / 530] SwiftSyntaxMacroExpansion
[459 / 530] SwiftSyntaxMacros
[470 / 540] SwiftCompilerPluginMessageHandling
[471 / 540] SwiftCompilerPluginMessageHandling
[473 / 540] SwiftCompilerPluginMessageHandling
[479 / 540] SwiftCompilerPluginMessageHandling
[480 / 540] SwiftCompilerPluginMessageHandling
[484 / 543] SwiftCompilerPlugin
[489 / 543] SwiftCompilerPlugin
[493 / 545] SwiftCompilerPluginMessageHandling
[495 / 546] SwiftSyntax
[498 / 547] SwiftSyntax
[502 / 547] SwiftParserDiagnostics
[505 / 547] SwiftSyntaxMacros-product
[513 / 548] GenerationMacrosImpl
[515 / 550] GenerationMacrosImpl
[516 / 550] GenerationMacrosImpl
[520 / 551] GenerationMacrosImpl
[530 / 561] SwiftGeneration
[538 / 564] SwiftGeneration
[552 / 575] OpenFoundationModelsCore
[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: [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 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