Build Information
Failed to build SwiftOpenAI, reference main (5e67a2), with Swift 6.2 for Linux on 27 Nov 2026 06:14:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-54344845-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef5d054082f378040d10d3ed4c67b9451da4f48579afc92d0857bc7c5dd901dd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/19023] Fetching swift-crypto
[572/35834] Fetching swift-crypto, async-http-client
[21378/118248] Fetching swift-crypto, async-http-client, swift-syntax
[49656/205468] Fetching swift-crypto, async-http-client, swift-syntax, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (3.70s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.71s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.72s)
Fetched https://github.com/apple/swift-nio.git from cache (3.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.87s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.71s)
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.17s)
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-nio-transport-services.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1575] Fetching swift-service-context
[33/4456] Fetching swift-service-context, swift-nio-transport-services
[1840/10653] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.43s)
Fetching https://github.com/apple/swift-log.git
[2877/7772] Fetching swift-service-context, swift-algorithms
[4675/12040] Fetching swift-service-context, swift-algorithms, swift-configuration
[7944/29046] Fetching swift-service-context, swift-algorithms, swift-configuration, swift-nio-ssl
[8286/35796] Fetching swift-service-context, swift-algorithms, swift-configuration, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-configuration.git from cache (0.63s)
[17073/31528] Fetching swift-service-context, swift-algorithms, swift-nio-ssl, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-service-context.git from cache (0.65s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.65s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.65s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
[3232/17006] Fetching swift-nio-ssl
[11566/25590] Fetching swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
[1/1936] Fetching swift-atomics
[331/8726] Fetching swift-atomics, swift-nio-extras
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.56s)
[1/12441] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.30s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.97s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.80s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.71s)
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.15s)
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
[3167/41103] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (1.34s)
Fetched https://github.com/apple/swift-system from cache (1.35s)
Fetched https://github.com/apple/swift-collections from cache (1.36s)
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.49s)
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.61s)
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.82s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.23s)
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.29s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.9.0 (0.17s)
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.26s)
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
[3275/10965] Fetching swift-http-structured-headers, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.62s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.62s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.62s)
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.77s)
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.17s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.20s)
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-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/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-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-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-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.0
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/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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
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-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-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-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-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-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/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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.0
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
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
Building for debugging...
[0/875] Write sources
[49/875] Compiling CNIOWindows shim.c
[50/875] Compiling _NumericsShims _NumericsShims.c
[50/875] Compiling CNIOWASI CNIOWASI.c
[52/875] Compiling CNIOWindows WSAStartup.c
[53/875] Compiling _AtomicsShims.c
[54/875] Compiling CNIOOpenBSD shim.c
[55/875] Compiling CNIOPosix event_loop_id.c
[55/875] Compiling CNIOLinux liburing_shims.c
[57/875] Compiling _SwiftSyntaxCShims PlatformMutex.c
[58/875] Compiling CNIOFreeBSD shim.c
[59/875] Compiling CNIOLLHTTP c_nio_http.c
[60/875] Compiling CSystem shims.c
[61/875] Write swift-version-24593BA9C3E375BF.txt
[62/875] Compiling CNIOLinux shim.c
[63/875] Compiling CNIOExtrasZlib zutil.c
[63/875] Compiling CNIOLLHTTP c_nio_api.c
[65/875] Compiling CNIOExtrasZlib inftrees.c
[66/875] Compiling CNIOExtrasZlib inffast.c
[67/925] Compiling CNIOExtrasZlib trees.c
[68/925] Compiling CNIOExtrasZlib inflate.c
[69/925] Compiling CNIOLLHTTP c_nio_llhttp.c
[71/931] Emitting module SwiftSyntax600
[72/931] Emitting module _NIOBase64
[73/931] Emitting module SystemPackage
[74/936] Emitting module SwiftSyntax601
[75/936] Compiling SwiftSyntax601 Empty.swift
[77/937] Compiling SystemPackage Errno.swift
[78/937] Compiling SystemPackage ErrnoWindows.swift
[79/937] Compiling SystemPackage FileDescriptor.swift
[80/937] Compiling SystemPackage FileHelpers.swift
[81/937] Compiling SystemPackage FileOperations.swift
[82/937] Compiling SystemPackage FilePath.swift
[83/939] Emitting module SwiftSyntax603
[84/939] Compiling SwiftSyntax603 Empty.swift
[85/940] Emitting module SwiftSyntax510
[86/940] Compiling SwiftSyntax510 Empty.swift
[87/941] Emitting module SwiftSyntax509
[88/941] Compiling SwiftSyntax509 Empty.swift
[92/942] Emitting module SwiftSyntax602
[93/942] Compiling SwiftSyntax602 Empty.swift
[95/982] Compiling SwiftSyntax600 Empty.swift
[96/982] Compiling SystemPackage SystemString.swift
[97/982] Compiling SystemPackage Util+StringArray.swift
[98/982] Compiling SystemPackage Util.swift
[99/982] Compiling SystemPackage UtilConsumers.swift
[100/982] Compiling SystemPackage WinSDK+Overlay.swift
[102/1012] Compiling RealModule RealFunctions.swift
[103/1013] Compiling RealModule Real.swift
[104/1018] Compiling InternalCollectionsUtilities Integer rank.swift
[105/1018] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[106/1021] Compiling RealModule RelaxedArithmetic.swift
[107/1021] Compiling RealModule Float80+Real.swift
[108/1021] Compiling RealModule Float16+Real.swift
[109/1021] Compiling _NIOBase64 Base64.swift
[110/1022] Compiling _NIODataStructures _TinyArray.swift
[111/1022] Compiling _NIODataStructures PriorityQueue.swift
[112/1022] Compiling Logging Logger+With.swift
[114/1023] Emitting module Instrumentation
[115/1063] Compiling Logging Logger+Attributes.swift
[116/1063] Compiling SwiftSyntax BumpPtrAllocator.swift
[117/1063] Compiling SwiftSyntax CommonAncestor.swift
[118/1067] Compiling Instrumentation MultiplexInstrument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[119/1071] 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`.
[120/1086] Compiling SwiftSyntax AbsolutePosition.swift
[121/1086] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[124/1086] Emitting module RealModule
[125/1087] Compiling Instrumentation Instrument.swift
[127/1087] Compiling SwiftSyntax EditorPlaceholder.swift
[128/1087] Compiling SwiftSyntax Identifier.swift
[129/1087] Compiling SwiftSyntax MemoryLayout.swift
[130/1087] Compiling SwiftSyntax MissingNodeInitializers.swift
[131/1090] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[132/1090] Compiling SwiftSyntax Assert.swift
[133/1090] Compiling Logging MetadataProvider.swift
[134/1090] Compiling Instrumentation Locks.swift
[135/1090] Compiling Instrumentation NoOpInstrument.swift
[136/1090] Compiling SwiftSyntax Convenience.swift
[137/1090] Compiling SwiftSyntax CustomTraits.swift
[150/1090] Compiling Instrumentation InstrumentationContext.swift
[151/1090] Compiling Instrumentation InstrumentationContextKey.swift
[152/1090] Compiling Instrumentation InstrumentationSystem.swift
[152/1091] Wrapping AST for SwiftSyntax603 for debugging
[155/1091] Compiling Logging Logger.swift
[156/1091] Compiling Logging LoggingSystem.swift
[157/1091] Compiling SwiftSyntax SourceLength.swift
[158/1091] Compiling SwiftSyntax SourceLocation.swift
[159/1091] Compiling SwiftSyntax SourcePresence.swift
[160/1091] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[161/1091] Compiling SwiftSyntax Syntax.swift
[162/1091] Compiling SwiftSyntax SyntaxChildren.swift
[163/1091] Compiling InternalCollectionsUtilities _SortedCollection.swift
[164/1091] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[165/1091] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[166/1091] Compiling SwiftSyntax SyntaxBaseNodes.swift
[167/1091] Compiling SwiftSyntax SyntaxCollections.swift
[168/1091] Compiling SwiftSyntax SyntaxEnum.swift
[169/1091] Compiling SwiftSyntax SyntaxKind.swift
[170/1091] Compiling SwiftSyntax SyntaxRewriter.swift
[171/1091] Compiling SwiftSyntax SyntaxTraits.swift
[172/1091] Compiling SwiftSyntax SyntaxVisitor.swift
[172/1091] Wrapping AST for SwiftSyntax602 for debugging
/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`.
[175/1091] Wrapping AST for SwiftSyntax601 for debugging
[176/1091] Compiling SwiftSyntax RawSyntax.swift
[177/1091] Compiling SwiftSyntax RawSyntaxArena.swift
[178/1091] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[179/1091] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[180/1091] Compiling SwiftSyntax RawSyntaxTokenView.swift
[181/1091] Compiling SwiftSyntax SourceEdit.swift
[182/1091] Emitting module _NIODataStructures
BUILD FAILURE 6.2 linux