Build Information
Failed to build OpenAI, reference main (15ecf9), with Swift 6.4 for Android on 23 Sep 2026 04:46:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/210645] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git (5.90s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.1 (7.06s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/18918] Fetching swift-argument-parser
[1326/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.18s)
[28519/98925] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (2.91s)
Fetched https://github.com/swiftlang/swift-syntax.git (2.93s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.11s)
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.29s)
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
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 802]
[Planning deferred tasks]
[176 / 359] InternalCollectionsUtilities
[214 / 368] SwiftSyntax
[215 / 368] SwiftSyntax602
[220 / 369] InternalCollectionsUtilities
[231 / 372] InternalCollectionsUtilities
[238 / 373] SwiftSyntax602
[243 / 375] OrderedCollections
[251 / 394] SwiftSyntax600
[254 / 395] SwiftSyntax600
[256 / 395] SwiftSyntax
[259 / 395] OrderedCollections
[263 / 395] OrderedCollections
[264 / 395] OrderedCollections-product
[266 / 395] OrderedCollections
[267 / 395] OrderedCollections
[268 / 395] OrderedCollections
[270 / 395] InternalCollectionsUtilities
[272 / 395] OrderedCollections
[275 / 396] OrderedCollections
[275 / 396] SwiftSyntax
[288 / 424] SwiftParser
[289 / 424] SwiftBasicFormat
[301 / 424] SwiftParser
[302 / 424] SwiftParser
[305 / 424] SwiftParser
[309 / 424] SwiftParser
[312 / 424] SwiftDiagnostics
[314 / 424] SwiftDiagnostics
[315 / 424] SwiftDiagnostics
[317 / 424] SwiftDiagnostics
[318 / 424] SwiftOperators
[320 / 424] SwiftDiagnostics-product
[324 / 425] SwiftBasicFormat
[328 / 435] SwiftParserDiagnostics
[328 / 436] SwiftBasicFormat
[330 / 436] SwiftParserDiagnostics
[331 / 436] SwiftParserDiagnostics
[332 / 436] SwiftParserDiagnostics
[334 / 436] SwiftParserDiagnostics
[336 / 437] SwiftParserDiagnostics
[343 / 437] SwiftParser
[347 / 447] SwiftOperators
[350 / 447] SwiftOperators
[351 / 447] SwiftParserDiagnostics
[356 / 447] SwiftOperators
[359 / 447] SwiftOperators-product
[361 / 457] SwiftOperators
[365 / 458] SwiftSyntaxBuilder
[366 / 458] SwiftSyntaxBuilder
[367 / 458] SwiftSyntaxBuilder
[368 / 458] SwiftSyntaxBuilder
[370 / 459] SwiftSyntaxBuilder
[383 / 469] SwiftIfConfig
[384 / 469] SwiftIfConfig
[385 / 469] SwiftIfConfig
[388 / 469] SwiftIfConfig
[397 / 479] SwiftSyntaxMacros
[398 / 480] SwiftSyntaxMacros
[403 / 480] SwiftSyntaxMacros
[409 / 480] SwiftSyntaxMacros
[415 / 491] SwiftSyntaxMacroExpansion
[418 / 501] PluginCore
[418 / 502] SwiftSyntaxMacroExpansion
[430 / 502] SwiftIfConfig
[434 / 502] PluginCore
[435 / 502] PluginCore
[437 / 503] SwiftSyntaxMacroExpansion
[438 / 503] SwiftSyntaxMacroExpansion
[438 / 503] PluginCore
[440 / 503] PluginCore
[443 / 503] PluginCore
[449 / 513] SwiftCompilerPluginMessageHandling
[450 / 513] SwiftCompilerPluginMessageHandling
[452 / 513] SwiftCompilerPluginMessageHandling
[454 / 513] SwiftCompilerPluginMessageHandling
[458 / 513] SwiftCompilerPluginMessageHandling
[460 / 513] SwiftCompilerPluginMessageHandling
[461 / 513] SwiftCompilerPlugin
[469 / 516] SwiftCompilerPlugin
[469 / 516] SwiftCompilerPluginMessageHandling
[470 / 517] PluginCore
[473 / 518] SwiftCompilerPluginMessageHandling
[475 / 519] SwiftSyntax
[478 / 520] SwiftSyntax
[485 / 520] SwiftIfConfig
[495 / 521] MacroPlugin
[498 / 524] MacroPlugin
[503 / 525] MacroPlugin
[513 / 535] MetaCodable
[522 / 545] HelperCoders
[525 / 545] HelperCoders
[528 / 546] MetaCodable
[537 / 547] OpenAI
error: SwiftCompile normal aarch64 /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 aarch64 /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 aarch64 /host/spi-builder-workspace/src/Extensions/JSONEncoder+string.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONEncoder+string.swift
[542 / 556] OpenAI
/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:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/supplementaryOutputs-51 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-android-aarch64/OpenAI-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-android-aarch64/OpenAI-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-android-aarch64/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-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/OpenAI_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/AsyncBytes+collect.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/Collection+safeAccess.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OpenAI.build/Debug-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/JSONEncoder+string.o -index-unit-output-path /OpenAI.build/Debug-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/AsyncBytes+collect.o -index-unit-output-path /OpenAI.build/Debug-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/Collection+safeAccess.o -index-unit-output-path /OpenAI.build/Debug-android-aarch64/OpenAI-t.build/Objects-normal/aarch64/JSONEncoder+string.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android