Build Information
Failed to build OpenAI, reference main (15ecf9), with Swift 6.4 for Linux on 23 Sep 2026 04:46:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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/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: linux
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-0":/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/SwiftyLab/MetaCodable.git
[1/210645] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git (6.92s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.1 (8.38s)
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/27686] Fetching swift-collections
[1940/46604] Fetching swift-collections, swift-argument-parser
[46605/126611] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (3.38s)
Fetched https://github.com/apple/swift-collections.git (3.39s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.39s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.59s)
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/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.6.1
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/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 deferred tasks]
[171 / 353] SwiftSyntax509
[211 / 365] SwiftSyntax509
[212 / 365] SwiftSyntax603
[220 / 367] SwiftSyntax602
[228 / 369] SwiftSyntax601
[239 / 371]
[249 / 391] SwiftSyntax
[250 / 391] SwiftSyntax
[251 / 391] SwiftSyntax
[251 / 392] OrderedCollections
[254 / 392] SwiftSyntax
[255 / 392] SwiftSyntax
[256 / 392] OrderedCollections
[257 / 392] SwiftSyntax
[262 / 392] OrderedCollections
[263 / 392] OrderedCollections-product
[264 / 392] OrderedCollections-product
[267 / 392] InternalCollectionsUtilities
[267 / 392]
[269 / 392] OrderedCollections
[269 / 393] OrderedCollections
[272 / 393] OrderedCollections
[272 / 393] SwiftSyntax
[280 / 396] SwiftBasicFormat
[285 / 421] SwiftParser
[286 / 421] SwiftBasicFormat
[298 / 421] SwiftParser
[299 / 421] SwiftParser
[300 / 421] SwiftParser
[301 / 421] SwiftParser
[302 / 421] SwiftParser
[304 / 421] SwiftParser
[308 / 421] SwiftParser
[309 / 421] SwiftDiagnostics
[310 / 421] SwiftOperators
[311 / 421] SwiftOperators
[312 / 421] SwiftDiagnostics-product
[315 / 421] SwiftDiagnostics
[316 / 421] SwiftBasicFormat
[317 / 421] SwiftParserDiagnostics
[318 / 421] SwiftParserDiagnostics
[321 / 422] SwiftDiagnostics
[323 / 423] SwiftParserDiagnostics
[325 / 433] SwiftOperators
[327 / 442] SwiftOperators
[328 / 442] SwiftParserDiagnostics
[328 / 442] SwiftBasicFormat
[330 / 443] SwiftParserDiagnostics
[331 / 443] SwiftOperators
[332 / 443] SwiftParserDiagnostics
[343 / 443] SwiftParserDiagnostics
[344 / 444] SwiftParserDiagnostics
[345 / 444] SwiftParser
[347 / 444] SwiftParserDiagnostics
[350 / 444] SwiftOperators-product
[352 / 444] SwiftOperators
[353 / 444] SwiftOperators
[354 / 444] SwiftOperators
[355 / 444] SwiftBasicFormat
[357 / 446] SwiftSyntaxBuilder
[359 / 454] SwiftSyntaxBuilder
[360 / 454] SwiftSyntaxBuilder
[361 / 454] SwiftSyntaxBuilder
[362 / 455] SwiftSyntaxBuilder
[363 / 456] SwiftSyntaxBuilder
[365 / 456] SwiftSyntaxBuilder
[367 / 456] SwiftSyntaxBuilder
[373 / 456] SwiftOperators
[379 / 466] SwiftIfConfig
[380 / 466] SwiftIfConfig
[381 / 466] SwiftIfConfig
[382 / 466] SwiftIfConfig
[383 / 466] SwiftIfConfig
[384 / 466] SwiftIfConfig
[391 / 467]
[394 / 476] SwiftSyntaxMacros
[396 / 476] SwiftSyntaxMacros
[399 / 476] SwiftSyntaxMacros
[403 / 476] SwiftSyntaxMacros
[405 / 477] SwiftSyntaxMacroExpansion
[409 / 479] SwiftSyntaxMacroExpansion
[413 / 488] SwiftSyntaxMacroExpansion
[416 / 498] SwiftSyntaxMacros
[419 / 499] SwiftSyntaxMacroExpansion
[420 / 499] SwiftSyntaxMacroExpansion
[422 / 499] SwiftIfConfig
[424 / 499] SwiftSyntaxMacroExpansion
[425 / 499] SwiftSyntaxMacroExpansion
[430 / 499] SwiftSyntaxMacroExpansion-product
[431 / 499] SwiftSyntaxMacroExpansion-product
[432 / 499] SwiftSyntaxMacroExpansion-product
[434 / 500] SwiftSyntaxMacroExpansion
[436 / 500] PluginCore
[437 / 500] SwiftSyntaxMacroExpansion
[446 / 510] SwiftCompilerPluginMessageHandling
[447 / 510] SwiftCompilerPluginMessageHandling
[448 / 510] SwiftCompilerPluginMessageHandling
[449 / 510] SwiftCompilerPluginMessageHandling
[455 / 510] SwiftCompilerPluginMessageHandling
[457 / 510] SwiftCompilerPluginMessageHandling
[458 / 510] SwiftCompilerPlugin
[460 / 513] SwiftCompilerPlugin
[463 / 514] SwiftCompilerPlugin
[468 / 514] SwiftCompilerPlugin
[469 / 515] SwiftCompilerPlugin
[470 / 515] SwiftCompilerPluginMessageHandling
[472 / 516] SwiftSyntax
[475 / 517] SwiftSyntax
[482 / 517] SwiftIfConfig
[492 / 518] MacroPlugin
[495 / 521] MacroPlugin
[500 / 522] MacroPlugin
[510 / 532] MetaCodable
[515 / 532]
[524 / 542] HelperCoders
[528 / 543] MetaCodable
[540 / 553] OpenAI
[542 / 553] OpenAI
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AsyncBytes+collect.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/src/Extensions/Collection+safeAccess.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Collection+safeAccess.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/src/Extensions/JSONEncoder+string.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONEncoder+string.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 -primary-file /host/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift -primary-file /host/spi-builder-workspace/src/Extensions/Collection+safeAccess.swift -primary-file /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 /host/spi-builder-workspace/src/Protocol/Schemable.swift /host/spi-builder-workspace/src/Support/MultiPartData.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/supplementaryOutputs-51 -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/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 -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/OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-linux-x86_64/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-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/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-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/AsyncBytes+collect.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/Collection+safeAccess.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/JSONEncoder+string.o -index-unit-output-path /OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/AsyncBytes+collect.o -index-unit-output-path /OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/Collection+safeAccess.o -index-unit-output-path /OpenAI.build/Debug-linux-x86_64/OpenAI-t.build/Objects-normal/x86_64/JSONEncoder+string.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux