The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftOpenAI, reference main (5e67a2), with Swift 6.2 for Wasm on 27 Nov 2026 06:14:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build 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:         wasm
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-54344849-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-nio.git
[1/19023] Fetching swift-crypto
[1904/35834] Fetching swift-crypto, async-http-client
[9580/118248] Fetching swift-crypto, async-http-client, swift-syntax
Fetched https://github.com/swift-server/async-http-client.git from cache (0.92s)
[24030/101437] Fetching swift-crypto, swift-syntax
[26186/188657] Fetching swift-crypto, swift-syntax, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (3.76s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.78s)
Fetched https://github.com/apple/swift-nio.git from cache (3.79s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.93s)
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.17s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-http2.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
[1/1575] Fetching swift-service-context
[1576/7772] Fetching swift-service-context, swift-algorithms
Fetched https://github.com/apple/swift-service-context.git from cache (0.38s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[62/6197] Fetching swift-algorithms
[187/8133] Fetching swift-algorithms, swift-atomics
[269/14883] Fetching swift-algorithms, swift-atomics, swift-distributed-tracing
[4732/19151] Fetching swift-algorithms, swift-atomics, swift-distributed-tracing, swift-configuration
[15866/31592] Fetching swift-algorithms, swift-atomics, swift-distributed-tracing, swift-configuration, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.56s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.56s)
[4864/18645] Fetching swift-atomics, swift-configuration, swift-nio-http2
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[18646/21526] Fetching swift-atomics, swift-configuration, swift-nio-http2, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.47s)
Fetching https://github.com/apple/swift-log.git
[1/6790] Fetching swift-nio-extras
[545/23796] Fetching swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.99s)
Fetched https://github.com/apple/swift-configuration.git from cache (0.99s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.00s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.52s)
[1361/17006] Fetching swift-nio-ssl
[17007/25590] Fetching swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.23s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.97s)
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.75s)
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.15s)
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.14s)
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-system
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[1/7601] Fetching swift-system
[1826/38166] Fetching swift-system, swift-collections
[13104/41103] Fetching swift-system, swift-collections, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.80s)
[18911/38166] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system from cache (1.25s)
Fetched https://github.com/apple/swift-collections from cache (1.26s)
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.41s)
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.55s)
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.76s)
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.16s)
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.19s)
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.27s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[862/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.57s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.57s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.58s)
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.73s)
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.21s)
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
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-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-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-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/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-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-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.0
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-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-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-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-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-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-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/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-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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.8
Building for debugging...
[0/876] Write sources
[25/876] Compiling _NumericsShims _NumericsShims.c
[25/876] Write sources
[28/876] Compiling _CWASI _CWASI.c
[29/876] Compiling _SwiftSyntaxCShims PlatformMutex.c
[30/876] Write sources
[53/876] Compiling _AtomicsShims.c
[54/876] Compiling CSystem shims.c
[55/876] Compiling CNIOWindows shim.c
[56/876] Compiling CNIOWindows WSAStartup.c
[57/876] Compiling CNIOWASI CNIOWASI.c
[58/876] Compiling CNIOPosix event_loop_id.c
[59/876] Compiling CNIOOpenBSD shim.c
[60/876] Compiling CNIOLinux shim.c
[61/876] Compiling CNIOLinux liburing_shims.c
[62/876] Compiling CNIOLLHTTP c_nio_http.c
[63/876] Compiling CNIOLLHTTP c_nio_api.c
[64/876] Compiling CNIOFreeBSD shim.c
[65/876] Compiling CNIOExtrasZlib zutil.c
[66/876] Compiling CNIOExtrasZlib trees.c
[67/876] Compiling ios.cc
[68/876] Compiling e_rc4.cc
[69/876] Compiling getentropy.cc
[70/876] Compiling CNIOExtrasZlib inftrees.c
[71/876] Compiling forkunsafe.cc
[72/876] Compiling CNIOExtrasZlib inffast.c
[73/876] Write swift-version-24593BA9C3E375BF.txt
[74/876] Compiling e_tls.cc
[75/876] Compiling CNIOExtrasZlib adler32.c
[76/876] Compiling CNIODarwin shim.c
[77/876] Compiling CNIOExtrasZlib crc32.c
[78/876] Compiling CNIOExtrasZlib inflate.c
[79/882] Compiling CNIOExtrasZlib deflate.c
[80/928] Compiling CNIOBoringSSLShims shims.c
[82/930] Emitting module SwiftSyntax600
[82/930] Compiling CNIOLLHTTP c_nio_llhttp.c
[84/932] Emitting module SwiftSyntax602
[85/932] Compiling SwiftSyntax602 Empty.swift
[86/933] Compiling SwiftSyntax600 Empty.swift
[89/953] Emitting module SwiftSyntax509
[90/953] Compiling SwiftSyntax509 Empty.swift
[92/954] Compiling SystemPackage IORequest.swift
[93/954] Compiling SystemPackage IORing+Util.swift
[94/954] Compiling SystemPackage IORing.swift
[95/954] Compiling SystemPackage PollEvents.swift
[96/954] Compiling SystemPackage RawIORequest.swift
[97/959] Emitting module SwiftSyntax601
[98/959] Compiling SwiftSyntax601 Empty.swift
[100/971] Emitting module SwiftSyntax510
[101/971] Compiling _NIODataStructures PriorityQueue.swift
[102/971] Compiling SwiftSyntax510 Empty.swift
[104/983] Compiling SwiftSyntax603 Empty.swift
[105/983] Emitting module SwiftSyntax603
[106/983] Compiling RealModule Float80+Real.swift
[107/983] Compiling RealModule RealFunctions.swift
[109/985] Emitting module SystemPackage
[110/985] Compiling Logging MultiplexLogHandler.swift
[111/985] Compiling Logging StreamLogHandler.swift
[112/985] Compiling Logging LogEvent.swift
[113/985] Compiling Logging LogHandler.swift
[114/985] Compiling Logging SwiftLogNoOpLogHandler.swift
[115/985] Compiling Logging Locks.swift
[116/1026] Compiling _NIOBase64 Base64.swift
[117/1030] Emitting module _NIOBase64
[118/1049] Compiling SwiftSyntax AbsolutePosition.swift
[119/1049] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[120/1049] Compiling RealModule RelaxedArithmetic.swift
[121/1058] Compiling Logging LoggingSystem.swift
[123/1079] Compiling _NIODataStructures _TinyArray.swift
[124/1079] Compiling RealModule Float16+Real.swift
[125/1079] Compiling Logging Logger+With.swift
[126/1079] Compiling RealModule Real.swift
[129/1087] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[130/1087] Compiling SwiftSyntax Assert.swift
[131/1090] Compiling SwiftSyntax BumpPtrAllocator.swift
[132/1090] Compiling SwiftSyntax CommonAncestor.swift
[133/1090] Compiling SwiftSyntax Convenience.swift
[134/1090] Compiling SwiftSyntax CustomTraits.swift
[135/1090] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[136/1090] Emitting module Instrumentation
[137/1090] Compiling InternalCollectionsUtilities _SortedCollection.swift
[138/1090] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[139/1090] Compiling Instrumentation Instrument.swift
[140/1090] Compiling Instrumentation NoOpInstrument.swift
[141/1090] Compiling Instrumentation MultiplexInstrument.swift
[146/1090] Compiling Instrumentation InstrumentationContext.swift
[147/1090] Emitting module RealModule
[149/1091] Compiling Logging Logger+Attributes.swift
[151/1091] Wrapping AST for SwiftSyntax603 for debugging
[153/1091] Compiling SwiftSyntax MissingNodeInitializers.swift
[154/1091] Compiling SwiftSyntax RawSyntax.swift
[155/1091] Compiling SwiftSyntax RawSyntaxArena.swift
[156/1091] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[157/1091] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[158/1091] Compiling SwiftSyntax RawSyntaxTokenView.swift
[159/1091] Compiling SwiftSyntax SourceEdit.swift
[160/1091] Compiling SwiftSyntax SourceLength.swift
[161/1091] Compiling SwiftSyntax SourceLocation.swift
[162/1091] Compiling SwiftSyntax EditorPlaceholder.swift
[163/1091] Compiling SwiftSyntax Identifier.swift
[164/1091] Compiling SwiftSyntax MemoryLayout.swift
[165/1091] Wrapping AST for SwiftSyntax602 for debugging
[167/1091] Compiling Instrumentation InstrumentationContextKey.swift
[168/1091] Compiling Instrumentation InstrumentationSystem.swift
[169/1091] Compiling Instrumentation Locks.swift
[170/1091] Compiling _NIODataStructures Heap.swift
[171/1091] Emitting module _NIODataStructures
[172/1093] Compiling SwiftSyntax SyntaxCollection.swift
[173/1093] Compiling SwiftSyntax SyntaxHashable.swift
[174/1093] Compiling SwiftSyntax SyntaxIdentifier.swift
[175/1093] Compiling SwiftSyntax SyntaxNodeStructure.swift
[175/1093] Wrapping AST for SwiftSyntax601 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[181/1093] 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`.
/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`.
[188/1093] Compiling SwiftSyntax SourcePresence.swift
[189/1093] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[194/1093] Wrapping AST for SwiftSyntax600 for debugging
[196/1093] Emitting module InternalCollectionsUtilities
[197/1093] Compiling Logging MetadataProvider.swift
[198/1093] Compiling SwiftSyntax Syntax.swift
[199/1093] Compiling SwiftSyntax SyntaxChildren.swift
[207/1093] Compiling SwiftSyntax TokenDiagnostic.swift
[208/1093] Compiling SwiftSyntax TokenSequence.swift
[209/1093] Compiling SwiftSyntax TokenSyntax.swift
[209/1095] Wrapping AST for SwiftSyntax510 for debugging
[210/1095] Wrapping AST for SwiftSyntax509 for debugging
[212/1095] Emitting module ServiceContextModule
[213/1095] Compiling Logging Logger.swift
[214/1095] Compiling ServiceContextModule ServiceContextModule.swift
[214/1096] Compiling fiat_p256_adx_sqr.S
[215/1096] Compiling fiat_p256_adx_mul.S
[215/1096] Compiling fiat_curve25519_adx_square.S
BUILD FAILURE 6.2 wasm