Build Information
Failed to build postgres-nio, reference main (6ca5e9), with Swift 6.2 for Wasm on 24 Nov 2026 14:12:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/postgres-nio.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/vapor/postgres-nio
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6ca5e99 Implement distributed tracing (#687)
Cloned https://github.com/vapor/postgres-nio.git
Revision (git rev-parse @):
6ca5e99627536d3888b9923aca13a99d30bb6727
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/postgres-nio.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/vapor/postgres-nio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
[1/8584] Fetching swift-log
[2/27607] Fetching swift-log, swift-crypto
[3/34338] Fetching swift-log, swift-crypto, swift-distributed-tracing
[175/37994] Fetching swift-log, swift-crypto, swift-distributed-tracing, swift-metrics
[5661/40913] Fetching swift-log, swift-crypto, swift-distributed-tracing, swift-metrics, swift-service-lifecycle
[12950/57907] Fetching swift-log, swift-crypto, swift-distributed-tracing, swift-metrics, swift-service-lifecycle, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git from cache (0.53s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[20246/54251] Fetching swift-log, swift-crypto, swift-distributed-tracing, swift-service-lifecycle, swift-nio-ssl
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.56s)
[18068/51332] Fetching swift-log, swift-crypto, swift-distributed-tracing, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Fetching https://github.com/apple/swift-collections.git
[9994/42748] Fetching swift-crypto, swift-distributed-tracing, swift-nio-ssl
[41228/45629] Fetching swift-crypto, swift-distributed-tracing, swift-nio-ssl, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.58s)
Fetching https://github.com/apple/swift-atomics.git
[1/30500] Fetching swift-collections
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.33s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.37s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.38s)
[17081/117632] Fetching swift-collections, swift-nio
[22658/119568] Fetching swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
[44746/117632] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
[59250/87132] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.19s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (3.90s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.13s)
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.14s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.13s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6995] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
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.git
Computed https://github.com/apple/swift-collections.git 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-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.7 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.36s)
Fetching https://github.com/apple/swift-system.git
[1/7601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (1.07s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (1.19s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.65s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.0
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.7
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.6
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-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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.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/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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
Building for debugging...
[0/874] Compiling a_dup.cc
[1/874] Compiling a_i2d_fp.cc
[1/874] Compiling base64.cc
[1/874] Write sources
[1/874] Compiling bio.cc
[1/874] Write sources
[39/874] Compiling _CWASI _CWASI.c
[40/874] Compiling _AtomicsShims.c
[41/874] Compiling CXKCPShims shims.c
[42/874] Compiling SimpleFIPS202.c
[43/874] Compiling KeccakSponge.c
[44/874] Compiling CNIOWindows shim.c
[45/874] Compiling KeccakHash.c
[46/874] Compiling CNIOWindows WSAStartup.c
[47/874] Write swift-version-24593BA9C3E375BF.txt
[48/874] Compiling CNIOWASI CNIOWASI.c
[49/874] Compiling CNIOOpenBSD shim.c
[50/874] Compiling CNIOPosix event_loop_id.c
[51/897] Compiling a_gentm.cc
[52/897] Compiling a_int.cc
[53/897] Compiling a_mbstr.cc
[54/904] Compiling tasn_utl.cc
[56/950] Emitting module _NIOBase64
[57/950] Emitting module InternalCollectionsUtilities
[58/953] Compiling Logging LoggingSystem.swift
[59/954] Compiling InternalCollectionsUtilities Debugging.swift
[60/954] Compiling InternalCollectionsUtilities Descriptions.swift
[61/954] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[62/954] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[65/954] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[66/954] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[67/954] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[68/954] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/954] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[70/954] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[71/954] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[72/954] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[73/954] Compiling InternalCollectionsUtilities UInt+reversed.swift
[74/954] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[78/956] Compiling InternalCollectionsUtilities Immortalize.swift
[79/956] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[80/956] Compiling InternalCollectionsUtilities Integer rank.swift
[81/956] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[84/956] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[85/956] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[86/956] Compiling InternalCollectionsUtilities MutableRef.swift
[87/956] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[88/956] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[89/956] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[90/956] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[91/956] Compiling InternalCollectionsUtilities _SortedCollection.swift
[92/956] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[93/956] Compiling Logging Logger+With.swift
[94/956] Compiling Logging Logger+Attributes.swift
[95/956] Compiling Instrumentation InstrumentationSystem.swift
[96/956] Compiling InternalCollectionsUtilities Span+Extras.swift
[97/956] Emitting module Instrumentation
[98/956] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[99/956] Compiling InternalCollectionsUtilities String+Padding.swift
[100/956] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[101/957] Compiling Instrumentation NoOpInstrument.swift
[102/957] Compiling Instrumentation MultiplexInstrument.swift
[103/957] Compiling Instrumentation InstrumentationContextKey.swift
[104/957] Emitting module SwiftASN1
[105/957] Compiling _NIOBase64 Base64.swift
[115/958] Compiling Instrumentation Instrument.swift
[116/958] Compiling Instrumentation InstrumentationContext.swift
[117/958] Compiling _NIODataStructures _TinyArray.swift
[118/958] Compiling _NIODataStructures PriorityQueue.swift
[119/958] Compiling CoreMetrics WithMetricsFactory.swift
[120/993] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[121/993] Compiling SpanPreview InputSpan.swift
[122/1007] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[123/1019] Emitting module SpanPreview
[124/1020] Compiling CoreMetrics Metrics.swift
[125/1020] Compiling CoreMetrics MappingMetricsFactory.swift
[127/1020] Compiling Logging Logger.swift
[128/1020] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[129/1020] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[130/1020] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[131/1020] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[132/1020] Compiling Logging MetadataProvider.swift
[133/1021] Compiling CoreMetrics Locks.swift
[134/1023] Emitting module CoreMetrics
[135/1024] Compiling OrderedCollections _HashTable+Testing.swift
[136/1024] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[138/1024] Compiling ConcurrencyHelpers LockedValueBox.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/1024] 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`.
[140/1024] Compiling OrderedCollections _HashTable+Bucket.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`.
[141/1024] Compiling OrderedCollections _HashTable+BucketIterator.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`.
[141/1024] Compiling KeccakP-1600-opt64.c
BUILD FAILURE 6.2 wasm