Build Information
Failed to build SwiftOpenAI, reference main (5e67a2), with Swift 6.2 for Android on 27 Nov 2026 06:22:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zxss702/SwiftOpenAI.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/zxss702/SwiftOpenAI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5e67a2b Merge branch 'main' of https://github.com/zxss702/SwiftOpenAI
Cloned https://github.com/zxss702/SwiftOpenAI.git
Revision (git rev-parse @):
5e67a2b89561bcb755de00d6734bbd78f40b25f4
SUCCESS checkout https://github.com/zxss702/SwiftOpenAI.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/zxss702/SwiftOpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:137647a7354f821d45324be20c09d635b92207b61b70d1acd112aed5623da806
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
[1/19023] Fetching swift-crypto
[5328/101437] Fetching swift-crypto, swift-syntax
[12556/118248] Fetching swift-crypto, swift-syntax, async-http-client
[51494/205468] Fetching swift-crypto, swift-syntax, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.18s)
[63328/188657] Fetching swift-crypto, swift-syntax, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (3.35s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.36s)
Fetched https://github.com/apple/swift-nio.git from cache (3.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.71s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.67s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.37.1 (0.16s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-configuration.git
[1/1936] Fetching swift-atomics
[21/3511] Fetching swift-atomics, swift-service-context
[1343/7779] Fetching swift-atomics, swift-service-context, swift-configuration
[2047/16363] Fetching swift-atomics, swift-service-context, swift-configuration, swift-log
[2317/22560] Fetching swift-atomics, swift-service-context, swift-configuration, swift-log, swift-algorithms
[4957/29310] Fetching swift-atomics, swift-service-context, swift-configuration, swift-log, swift-algorithms, swift-distributed-tracing
Fetched https://github.com/apple/swift-configuration.git from cache (0.50s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[22612/25042] Fetching swift-atomics, swift-service-context, swift-log, swift-algorithms, swift-distributed-tracing
Fetched https://github.com/apple/swift-algorithms.git from cache (0.54s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-service-context.git from cache (0.57s)
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.59s)
[1/2881] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.45s)
[1/6790] Fetching swift-nio-extras
[2/23796] Fetching swift-nio-extras, swift-nio-ssl
[3/36237] Fetching swift-nio-extras, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.74s)
[17883/29447] Fetching swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.00s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.25s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.99s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.72s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.14s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.15s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.79s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2937] Fetching swift-service-lifecycle
[2938/10538] Fetching swift-service-lifecycle, swift-system
[5979/41103] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (1.30s)
Fetched https://github.com/apple/swift-system from cache (1.30s)
Fetched https://github.com/apple/swift-collections from cache (1.31s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (1.46s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/7047] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.78s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.37s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.15s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.30s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.8 (0.18s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.3 (0.25s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
[1/1284] Fetching swift-http-structured-headers
[1285/3274] Fetching swift-http-structured-headers, swift-http-types
[1624/10965] Fetching swift-http-structured-headers, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.49s)
[2131/8975] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.60s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.75s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.19s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.8
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.0
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.7
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.37.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Building for debugging...
[0/875] Write sources
[49/875] Compiling _NumericsShims _NumericsShims.c
[50/875] Compiling CNIOWindows shim.c
[51/875] Compiling CNIOWASI CNIOWASI.c
[52/875] Compiling CNIOWindows WSAStartup.c
[53/875] Compiling _AtomicsShims.c
[54/875] Compiling _SwiftSyntaxCShims PlatformMutex.c
[55/875] Compiling CNIOLinux liburing_shims.c
[55/875] Compiling CNIOPosix event_loop_id.c
[57/875] Compiling CNIOOpenBSD shim.c
[58/875] Compiling CSystem shims.c
[59/875] Compiling CNIOFreeBSD shim.c
[60/875] Write swift-version--11D90AFD9DD3AB2.txt
[61/875] Compiling CNIOLLHTTP c_nio_http.c
[62/875] Compiling CNIOExtrasZlib zutil.c
[63/875] Compiling CNIOLinux shim.c
[64/875] Compiling CNIOLLHTTP c_nio_api.c
[65/877] Compiling CNIOExtrasZlib inftrees.c
[66/925] Compiling CNIOExtrasZlib trees.c
[67/929] Compiling CNIOLLHTTP c_nio_llhttp.c
[69/931] Emitting module SystemPackage
[70/936] Compiling SwiftSyntax602 Empty.swift
[71/936] Emitting module SwiftSyntax602
[72/937] Emitting module SwiftSyntax510
[73/937] Compiling SwiftSyntax510 Empty.swift
[76/957] Compiling SwiftSyntax600 Empty.swift
[77/957] Emitting module SwiftSyntax600
[78/958] Emitting module SwiftSyntax509
[79/958] Compiling SwiftSyntax509 Empty.swift
[82/959] Compiling SwiftSyntax601 Empty.swift
[83/959] Emitting module SwiftSyntax601
[85/982] Compiling SwiftSyntax603 Empty.swift
[86/982] Compiling SystemPackage SystemString.swift
[87/982] Compiling SystemPackage Util+StringArray.swift
[88/982] Compiling SystemPackage Util.swift
[89/982] Compiling SystemPackage UtilConsumers.swift
[90/982] Compiling SystemPackage WinSDK+Overlay.swift
[91/982] Emitting module SwiftSyntax603
[93/983] Emitting module _NIOBase64
[94/983] Compiling RealModule Float80+Real.swift
[95/984] Compiling _NIOBase64 Base64.swift
[96/985] Compiling RealModule RealFunctions.swift
[98/1014] Compiling RealModule RelaxedArithmetic.swift
[99/1014] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[100/1014] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[101/1014] Compiling InternalCollectionsUtilities Debugging.swift
[102/1014] Compiling InternalCollectionsUtilities Descriptions.swift
[103/1014] Compiling InternalCollectionsUtilities Immortalize.swift
[104/1014] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[105/1028] Compiling Logging LoggingSystem.swift
[106/1048] Compiling RealModule Real.swift
[107/1086] Compiling SwiftSyntax Convenience.swift
[108/1086] Compiling SwiftSyntax CustomTraits.swift
[109/1086] Compiling SwiftSyntax EditorPlaceholder.swift
[110/1086] Compiling SwiftSyntax Identifier.swift
[111/1086] Compiling SwiftSyntax MemoryLayout.swift
[112/1086] Compiling SwiftSyntax MissingNodeInitializers.swift
[113/1086] Compiling _NIODataStructures PriorityQueue.swift
[114/1086] Compiling RealModule Float16+Real.swift
[115/1086] Compiling Instrumentation InstrumentationContextKey.swift
[116/1086] Compiling SwiftSyntax AbsolutePosition.swift
[117/1086] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[118/1086] Compiling Instrumentation NoOpInstrument.swift
[119/1086] Compiling Instrumentation MultiplexInstrument.swift
[120/1086] Emitting module RealModule
[121/1086] Emitting module _NIODataStructures
[122/1086] Compiling _NIODataStructures _TinyArray.swift
[123/1086] Compiling _NIODataStructures Heap.swift
[124/1087] Compiling Logging Logger+With.swift
[125/1087] Compiling SwiftSyntax BumpPtrAllocator.swift
[126/1087] Compiling SwiftSyntax CommonAncestor.swift
[127/1087] Compiling Logging Logger+Attributes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[129/1087] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[132/1087] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[133/1087] Compiling SwiftSyntax Assert.swift
[134/1088] Wrapping AST for SwiftSyntax603 for debugging
[140/1091] Emitting module Instrumentation
[141/1091] Compiling Instrumentation Instrument.swift
[142/1091] Compiling SwiftSyntax RawSyntax.swift
[143/1091] Compiling SwiftSyntax RawSyntaxArena.swift
[144/1091] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[145/1091] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[145/1091] Wrapping AST for SwiftSyntax601 for debugging
[146/1091] Wrapping AST for SwiftSyntax602 for debugging
[148/1091] Compiling SwiftSyntax RawSyntaxTokenView.swift
[149/1091] Compiling SwiftSyntax SourceEdit.swift
[150/1091] Compiling SwiftSyntax SourceLength.swift
[151/1091] Compiling SwiftSyntax SourceLocation.swift
[159/1091] Wrapping AST for SwiftSyntax600 for debugging
[160/1091] Wrapping AST for SwiftSyntax509 for debugging
[161/1091] Wrapping AST for SwiftSyntax510 for debugging
[163/1091] Compiling SwiftSyntax SourcePresence.swift
[164/1091] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[165/1091] Compiling SwiftSyntax Syntax.swift
[166/1091] Compiling SwiftSyntax SyntaxChildren.swift
[167/1091] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[168/1091] Compiling InternalCollectionsUtilities _SortedCollection.swift
[169/1091] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[169/1091] Compiling CNIOExtrasZlib inffast.c
[170/1091] Compiling CNIOExtrasZlib inflate.c
[171/1091] Compiling CNIOExtrasZlib deflate.c
[172/1091] Compiling CNIOExtrasZlib adler32.c
[174/1091] Emitting module InternalCollectionsUtilities
[175/1091] Compiling Logging Logger.swift
[175/1091] Compiling CNIODarwin shim.c
[176/1091] Compiling CNIOExtrasZlib crc32.c
[177/1091] Compiling fiat_p256_adx_sqr.S
[178/1091] Compiling fiat_p256_adx_mul.S
[179/1091] Compiling fiat_curve25519_adx_square.S
[180/1091] Compiling fiat_curve25519_adx_mul.S
[181/1091] Compiling CNIOBoringSSLShims shims.c
[183/1091] Compiling SwiftSyntax SyntaxCollection.swift
[184/1091] Compiling SwiftSyntax SyntaxHashable.swift
[185/1091] Compiling SwiftSyntax SyntaxIdentifier.swift
[186/1091] Compiling SwiftSyntax SyntaxNodeStructure.swift
[191/1094] Compiling Instrumentation InstrumentationSystem.swift
[192/1094] Compiling Instrumentation InstrumentationContext.swift
[193/1094] Compiling Instrumentation Locks.swift
[194/1095] Compiling SwiftSyntax Trivia.swift
[195/1095] Compiling SwiftSyntax Utils.swift
[196/1095] Compiling SwiftSyntax ChildNameForKeyPath.swift
[197/1095] Compiling SwiftSyntax Keyword.swift
[198/1095] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[199/1095] Compiling Logging MetadataProvider.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[224/1095] Compiling SwiftASN1 DER.swift
[225/1095] Compiling SwiftASN1 Errors.swift
[228/1095] Compiling SwiftSyntax TokenDiagnostic.swift
[229/1095] Compiling SwiftSyntax TokenSequence.swift
[230/1095] Compiling SwiftSyntax TokenSyntax.swift
[230/1095] Compiling tls13_server.cc
[230/1095] Compiling tls_method.cc
[230/1095] Compiling tls_record.cc
BUILD FAILURE 6.2 android