Build Information
Failed to build swift-openai, reference v0.1.0 (714419), with Swift 6.4 for Android on 22 Sep 2026 10:38:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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: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/ajevans99/swift-openai.git
Reference: v0.1.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/ajevans99/swift-openai
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 714419b Update readme with in progress message:
Cloned https://github.com/ajevans99/swift-openai.git
Revision (git rev-parse @):
714419b0f5eb3da03014c4eb3e1cc15cba4b7479
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-openai.git at v0.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/ajevans99/swift-openai.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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: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/ajevans99/swift-json-schema.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-openapi-runtime.git
Fetching https://github.com/apple/swift-openapi-generator.git
[1/6938] Fetching swift-openapi-runtime
[140/15078] Fetching swift-openapi-runtime, swift-log
[280/25750] Fetching swift-openapi-runtime, swift-log, swift-json-schema
[15186/44157] Fetching swift-openapi-runtime, swift-log, swift-json-schema, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git (0.86s)
[11561/37219] Fetching swift-log, swift-json-schema, swift-openapi-generator
Fetched https://github.com/apple/swift-log.git (0.89s)
[5814/29079] Fetching swift-json-schema, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator.git (1.38s)
[206/10672] Fetching swift-json-schema
Fetched https://github.com/ajevans99/swift-json-schema.git (5.65s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.1 (6.11s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.57s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.00s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.13.1 (1.84s)
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-algorithms
[1/6145] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms (0.63s)
[1/175167] Fetching openapikit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetched https://github.com/mattpolzin/OpenAPIKit (7.66s)
[1/11861] Fetching yams
[5695/30779] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.28s)
Fetched https://github.com/jpsim/Yams (1.42s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (10.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.76s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (1.17s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.41s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.14.1 (0.31s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/27654] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.63s)
[1/80002] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (6.52s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (7.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.49s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.30s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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.6.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.13.1
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/ajevans99/swift-json-schema.git
Working copy of https://github.com/ajevans99/swift-json-schema.git resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1096]
[Planning 453 / 1096]
[Planning 1092 / 1096]
[Planning deferred tasks]
[Constructing 475 / 2399]
[Starting]
[34 / 437] swift-json-schema_JSONSchema
[164 / 437] OpenAICore-product
[218 / 447] SwiftSyntax509
[229 / 468] SwiftSyntax601
[235 / 468] SwiftSyntax604
[264 / 468] SwiftSyntax510
[272 / 468] InternalCollectionsUtilities
[278 / 468] SwiftSyntax510
[282 / 471] SwiftSyntax600
[285 / 473] SwiftSyntax603
[293 / 473] SwiftSyntax604
[295 / 474] SwiftSyntax604
[296 / 475] SwiftSyntax509
[297 / 475] SwiftSyntax604
[299 / 475] SwiftSyntax509
[301 / 475] SwiftSyntax603
[302 / 475]
[307 / 476] InternalCollectionsUtilities
[316 / 495] InternalCollectionsUtilities
[317 / 496] SwiftSyntax604
[321 / 496] HTTPTypes
[322 / 496] InternalCollectionsUtilities
[324 / 496] InternalCollectionsUtilities
[325 / 496] HTTPTypes
[325 / 496] InternalCollectionsUtilities
[327 / 496] Logging
[329 / 496] Logging
[333 / 496] Logging
[334 / 496] Logging-product
[335 / 496] Logging-product
[338 / 499]
[346 / 500] Logging
[346 / 500] OrderedCollections
[351 / 519] OpenAPIRuntime
[352 / 527] OpenAPIRuntime
[353 / 527] SwiftSyntax
[353 / 527] HTTPTypes
[355 / 528] SwiftSyntax
[356 / 528] SwiftSyntax
[357 / 528] SwiftSyntax
[358 / 528] SwiftSyntax
[359 / 528] OpenAPIRuntime
[361 / 528] OrderedCollections
[367 / 528] OrderedCollections
[371 / 528] OrderedCollections
[372 / 528] OrderedCollections-product
[373 / 528] OrderedCollections-product
[374 / 528] OrderedJSON
[375 / 528] OrderedJSON
[377 / 528] OpenAPIRuntime
[378 / 528] OpenAPIRuntime
[379 / 529] OrderedCollections
[381 / 529] OrderedCollections
[382 / 529] OpenAPIRuntime-product
[383 / 529] OpenAPIRuntime-product
[385 / 529] OpenAIFoundation
[389 / 529] HTTPTypes
[389 / 529] OpenAPIRuntime
[395 / 530]
[397 / 540] OpenAIFoundation
[399 / 543] OrderedJSON
[405 / 544] OrderedJSON
[407 / 544] OrderedJSON
[408 / 544] OrderedJSON
[409 / 544] OrderedJSON
[411 / 544] OrderedCollections
[414 / 544] OrderedJSON
[418 / 547] SwiftBasicFormat
[420 / 563] SwiftBasicFormat
[421 / 563] SwiftParser
[421 / 563] OpenAIFoundation
[424 / 563] SwiftBasicFormat
[433 / 563] SwiftParser
[434 / 563] SwiftParser-product
[441 / 563] SwiftParser
[443 / 563] SwiftParser
[445 / 563] SwiftBasicFormat
[447 / 563] SwiftBasicFormat
[450 / 563] OrderedJSON
[451 / 564] SwiftBasicFormat-product
[454 / 573] SwiftDiagnostics
[456 / 573] SwiftDiagnostics
[463 / 574] SwiftDiagnostics
[464 / 574] SwiftParserDiagnostics
[469 / 576]
[473 / 594] SwiftOperators
[475 / 595] SwiftParserDiagnostics
[476 / 596] SwiftParserDiagnostics
[488 / 596] SwiftSyntaxBuilder
[489 / 596] SwiftSyntaxBuilder
[492 / 596] SwiftParser
[493 / 596] SwiftParserDiagnostics
[495 / 596] SwiftOperators
[496 / 596] SwiftOperators
[499 / 596] SwiftOperators
[500 / 596] SwiftDiagnostics
[503 / 599] SwiftSyntaxBuilder
[504 / 599] SwiftOperators
[506 / 608] SwiftSyntaxBuilder
[506 / 609] SwiftParserDiagnostics
[509 / 619] JSONSchema
[511 / 628] SwiftSyntaxBuilder
[512 / 628] SwiftSyntaxBuilder
[518 / 628] SwiftSyntaxBuilder
[520 / 628] OpenAICore
[528 / 628] SwiftParserDiagnostics
[532 / 628] OrderedJSON
[540 / 628] OpenAICore
[541 / 628] OpenAICore-product
[544 / 629] SwiftSyntaxBuilder
[547 / 629] JSONSchema
[549 / 629] JSONSchema
[551 / 630] OpenAICore
[554 / 630] OpenAICore
[555 / 630]
[556 / 631] OrderedJSON
[557 / 640] JSONSchema
[559 / 640] SwiftIfConfig
[560 / 640] SwiftIfConfig
[561 / 640] SwiftIfConfig
[563 / 640] SwiftIfConfig
[567 / 640] SwiftIfConfig
[568 / 640] SwiftIfConfig
[571 / 641] SwiftSyntaxMacros
[574 / 644] SwiftSyntaxMacros
[579 / 651] SwiftSyntaxMacros
[581 / 651] SwiftSyntaxMacros
[589 / 652] SwiftIfConfig
[596 / 662] SwiftSyntaxMacroExpansion
[597 / 663] SwiftSyntaxMacros
[598 / 663] SwiftSyntaxMacroExpansion
[600 / 663] SwiftSyntaxMacros
[602 / 663] SwiftSyntaxMacroExpansion
[604 / 663] SwiftSyntaxMacroExpansion
[611 / 673] SwiftCompilerPluginMessageHandling
[612 / 673] SwiftCompilerPluginMessageHandling
[615 / 673] SwiftCompilerPluginMessageHandling
[618 / 673] SwiftCompilerPluginMessageHandling
[620 / 674] SwiftCompilerPluginMessageHandling
[626 / 675] SwiftCompilerPluginMessageHandling
[628 / 677] SwiftCompilerPlugin
[633 / 677] SwiftCompilerPlugin
[635 / 678] SwiftCompilerPluginMessageHandling
[637 / 679] OpenAIFoundation
/host/spi-builder-workspace/Sources/OpenAIFoundation/Generated/Types.swift:5503:22: [1;33mwarning: [1;39m'generateSummary' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m5501 |[0;0m self.effort = effort
[0;36m5502 |[0;0m self.summary = summary
[0;36m5503 |[0;0m self.generateSummary = generateSummary
[0;36m|[0;0m `- [1;33mwarning: [1;39m'generateSummary' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m5504 |[0;0m }
[0;36m5505 |[0;0m public enum CodingKeys: String, CodingKey {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[640 / 680] OpenAIFoundation
[643 / 680] OpenAIFoundation-product
[643 / 680] SwiftSyntax
[644 / 681] SwiftSyntax
[646 / 681] SwiftSyntax
[652 / 681] SwiftSyntaxBuilder
[661 / 682]
[662 / 682] JSONSchemaMacro
[671 / 691] JSONSchemaMacro
[672 / 691] JSONSchemaMacro
[676 / 692] JSONSchemaMacro
[686 / 702] JSONSchemaBuilder
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/OpenAIKit/Tools/Extensions/OpenAPIValueContainer+JSONValue.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile OpenAPIValueContainer+JSONValue.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Tools/Extensions/OpenAPIValueContainer+JSONValue.swift:14:21: [1;31merror: [1;39m'let' binding pattern cannot appear in an expression[0;0m
[0;36m12 |[0;0m case .string(let string):
[0;36m13 |[0;0m return string
[0;36m14 |[0;0m case .integer(let int):
[0;36m|[0;0m `- [1;31merror: [1;39m'let' binding pattern cannot appear in an expression[0;0m
[0;36m15 |[0;0m return int
[0;36m16 |[0;0m case .number(let double):
/host/spi-builder-workspace/Sources/OpenAIKit/Tools/Extensions/OpenAPIValueContainer+JSONValue.swift:16:20: [1;31merror: [1;39m'let' binding pattern cannot appear in an expression[0;0m
[0;36m14 |[0;0m case .integer(let int):
[0;36m15 |[0;0m return int
[0;36m16 |[0;0m case .number(let double):
[0;36m|[0;0m `- [1;31merror: [1;39m'let' binding pattern cannot appear in an expression[0;0m
[0;36m17 |[0;0m return double
[0;36m18 |[0;0m case .boolean(let bool):
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/OpenAIKit/Responses/ResponseSession.swift /host/spi-builder-workspace/Sources/OpenAIKit/Responses/ResponseSessionError.swift /host/spi-builder-workspace/Sources/OpenAIKit/Responses/ToolErrorPolicy.swift -primary-file /host/spi-builder-workspace/Sources/OpenAIKit/Tools/Extensions/OpenAPIValueContainer+JSONValue.swift /host/spi-builder-workspace/Sources/OpenAIKit/Tools/Tool.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/Objects-normal/aarch64/OpenAPIValueContainer+JSONValue.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/Objects-normal/aarch64/OpenAPIValueContainer+JSONValue.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/Objects-normal/aarch64/OpenAPIValueContainer+JSONValue.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/Objects-normal/aarch64/OpenAPIValueContainer+JSONValue.dia -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 5 -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/JSONSchemaMacro\#JSONSchemaMacro -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/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenAIKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/Objects-normal/aarch64/OpenAIKit_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/swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/Objects-normal/aarch64/OpenAPIValueContainer+JSONValue.o -index-unit-output-path /swift-openai.build/Debug-android-aarch64/OpenAIKit-t.build/Objects-normal/aarch64/OpenAPIValueContainer+JSONValue.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android