Build Information
Failed to build OpenAI, reference main (15ecf9), with Swift 6.4 for Wasm on 23 Sep 2026 04:46:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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: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/SwiftedMind/swift-openai-responses.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/SwiftedMind/swift-openai-responses
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 15ecf94 update minimum version
Cloned https://github.com/SwiftedMind/swift-openai-responses.git
Revision (git rev-parse @):
15ecf94ce31aa0f4b739ed3cadca305b0c4b30a1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/swift-openai-responses.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/SwiftedMind/swift-openai-responses.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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: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/SwiftyLab/MetaCodable.git
[1/210645] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git (7.30s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.1 (8.47s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
[18919/46604] Fetching swift-argument-parser, swift-collections
[46605/126611] Fetching swift-argument-parser, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git (1.34s)
[31720/98925] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (3.38s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.40s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.28s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
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/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 802]
[Planning 611 / 802]
[Planning deferred tasks]
[Starting]
[158 / 337]
[180 / 365] SwiftSyntax601
[211 / 365] InternalCollectionsUtilities
[213 / 365] InternalCollectionsUtilities
[219 / 366] SwiftSyntax
[225 / 368] SwiftSyntax600
[228 / 368] SwiftSyntax510
[232 / 371] SwiftSyntax602
[240 / 371] SwiftSyntax602
[243 / 373] InternalCollectionsUtilities
[246 / 374] SwiftSyntax
[255 / 392] SwiftSyntax
[256 / 392] SwiftSyntax
[258 / 392] SwiftSyntax
[261 / 392] OrderedCollections
[265 / 392] OrderedCollections
[266 / 392] OrderedCollections-product
[267 / 392] OrderedCollections
[268 / 392] OrderedCollections-product
[269 / 392]
[269 / 392] OrderedCollections
[272 / 393] OrderedCollections
[272 / 393] SwiftSyntax
[284 / 412] SwiftBasicFormat
[285 / 421] SwiftParser
[287 / 421] SwiftParser
[288 / 421] SwiftDiagnostics
[298 / 421] SwiftParser
[300 / 421] SwiftParser
[301 / 421] SwiftParser
[303 / 421] SwiftParser
[307 / 421] SwiftParser
[309 / 421] SwiftDiagnostics
[310 / 421] SwiftDiagnostics
[311 / 421] SwiftOperators
[312 / 421] SwiftOperators
[313 / 421] SwiftDiagnostics
[315 / 421] SwiftBasicFormat
[316 / 422] SwiftDiagnostics
[318 / 422] SwiftDiagnostics
[319 / 422] SwiftParserDiagnostics
[322 / 422]
[324 / 424] SwiftParserDiagnostics
[329 / 443] SwiftParserDiagnostics
[329 / 443] SwiftBasicFormat
[331 / 443] SwiftParserDiagnostics
[332 / 443] SwiftOperators
[334 / 443] SwiftOperators
[339 / 444] SwiftParserDiagnostics
[340 / 444] SwiftParserDiagnostics
[342 / 444] SwiftParserDiagnostics
[346 / 444] SwiftParserDiagnostics
[347 / 444] SwiftParserDiagnostics
[350 / 444] SwiftOperators
[351 / 444] SwiftOperators
[354 / 444] SwiftOperators-product
[355 / 444]
[359 / 454] SwiftSyntaxBuilder
[360 / 454] SwiftSyntaxBuilder
[361 / 454] SwiftSyntaxBuilder
[362 / 455] SwiftSyntaxBuilder
[363 / 455] SwiftSyntaxBuilder
[365 / 456] SwiftSyntaxBuilder
[366 / 456] SwiftSyntaxBuilder
[367 / 456] SwiftParserDiagnostics
[379 / 466] SwiftIfConfig
[380 / 466] SwiftIfConfig
[381 / 466] SwiftIfConfig
[384 / 466] SwiftIfConfig
[388 / 466] SwiftIfConfig
[389 / 466] SwiftSyntaxMacros
[390 / 466] SwiftSyntaxMacros
[393 / 477] SwiftIfConfig
[397 / 477] SwiftSyntaxMacros
[399 / 477] SwiftSyntaxMacros
[401 / 477] SwiftSyntaxBuilder
[411 / 487] SwiftSyntaxMacroExpansion
[412 / 487] SwiftSyntaxMacroExpansion
[414 / 488] SwiftSyntaxMacros
[415 / 488] SwiftSyntaxMacros
[416 / 488] SwiftSyntaxMacros
[419 / 489] SwiftSyntaxMacroExpansion
[426 / 489]
[430 / 500] SwiftCompilerPluginMessageHandling
[431 / 509] PluginCore
[433 / 509] SwiftCompilerPluginMessageHandling
[434 / 509] SwiftCompilerPluginMessageHandling
[435 / 509] SwiftCompilerPluginMessageHandling
[438 / 509] SwiftCompilerPluginMessageHandling
[439 / 509] SwiftCompilerPluginMessageHandling
[443 / 509] SwiftCompilerPluginMessageHandling
[445 / 510] SwiftSyntaxMacroExpansion
[446 / 510] SwiftCompilerPluginMessageHandling
[449 / 510] PluginCore
[450 / 510] PluginCore
[451 / 511] SwiftCompilerPluginMessageHandling
[454 / 511] PluginCore
[459 / 511] SwiftCompilerPluginMessageHandling
[459 / 511] PluginCore
[461 / 512] SwiftCompilerPlugin
[463 / 514] SwiftCompilerPlugin
[464 / 514] SwiftCompilerPlugin
[469 / 515] SwiftCompilerPlugin
[470 / 515] PluginCore
[472 / 516] SwiftSyntax
[473 / 517] SwiftSyntax
[475 / 517] SwiftSyntax
[478 / 517] SwiftParser
[486 / 517] SwiftCompilerPluginMessageHandling
[492 / 518] MacroPlugin
[495 / 521] MacroPlugin
[500 / 522] MacroPlugin
[501 / 523] MetaCodable
[510 / 532] MetaCodable
[521 / 542] HelperCoders
[523 / 542] HelperCoders
[525 / 543] MetaCodable
[528 / 543] HelperCoders
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/src/Protocol/Schemable.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Schemable.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/src/Support/MultiPartData.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile MultiPartData.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: [1;31merror: [1;39mno such module 'FoundationModels'[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m import Foundation
[0;36m4 |[0;0m import FoundationModels
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'FoundationModels'[0;0m
[0;36m5 |[0;0m import MetaCodable
[0;36m6 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift /host/spi-builder-workspace/src/Extensions/Collection+safeAccess.swift /host/spi-builder-workspace/src/Extensions/JSONEncoder+string.swift /host/spi-builder-workspace/src/Extensions/URL+appendOptionalQueryItems.swift /host/spi-builder-workspace/src/Models/Config.swift /host/spi-builder-workspace/src/Models/Event.swift /host/spi-builder-workspace/src/Models/File.swift /host/spi-builder-workspace/src/Models/Input.swift /host/spi-builder-workspace/src/Models/Item.swift /host/spi-builder-workspace/src/Models/JSONSchema.swift /host/spi-builder-workspace/src/Models/Message.swift /host/spi-builder-workspace/src/Models/Model.swift /host/spi-builder-workspace/src/Models/Request.swift /host/spi-builder-workspace/src/Models/Response.swift /host/spi-builder-workspace/src/Models/Tool.swift /host/spi-builder-workspace/src/Models/WebhookEvent.swift -primary-file /host/spi-builder-workspace/src/Protocol/Schemable.swift -primary-file /host/spi-builder-workspace/src/Support/MultiPartData.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/Schemable.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/Schemable.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/Schemable.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/Schemable.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/MultiPartData.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/MultiPartData.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/MultiPartData.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/MultiPartData.dia -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/MacroPlugin\#MacroPlugin -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/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenAI -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/OpenAI_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/Schemable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/MultiPartData.o -index-unit-output-path /OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/Schemable.o -index-unit-output-path /OpenAI.build/Debug-webassembly-wasm32/OpenAI-t.build/Objects-normal/wasm32/MultiPartData.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm