Build Information
Failed to build swift-system-metrics, reference 1.3.1 (482753), with Swift 6.2 for Wasm on 20 Nov 2026 04:09:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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/apple/swift-system-metrics.git
Reference: 1.3.1
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/apple/swift-system-metrics
* tag 1.3.1 -> FETCH_HEAD
HEAD is now at 4827531 Cap process_max_fds at kern.maxfilesperproc on Darwin (#134)
Cloned https://github.com/apple/swift-system-metrics.git
Revision (git rev-parse @):
4827531361d1627bd8dec6070534cfb0b477af1c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-system-metrics.git at 1.3.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-system-metrics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:ca91be8d07e73eaf6c1c75f7ec193e42b7ed6f24d327455e9ae77f96fb6433b0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-metrics.git
[1/3643] Fetching swift-metrics
[803/6541] Fetching swift-metrics, swift-service-lifecycle
[986/13445] Fetching swift-metrics, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.55s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.55s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.71s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.7 (0.20s)
Fetching https://github.com/apple/swift-collections.git
[1/30345] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
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 (1.37s)
Fetching https://github.com/apple/swift-log.git
[1/8543] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
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-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-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/60] Emitting module InternalCollectionsUtilities
[14/63] Compiling ConcurrencyHelpers LockedValueBox.swift
[15/63] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/63] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[17/63] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[18/63] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[19/63] Compiling Logging Logger+With.swift
[20/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[21/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[23/64] Compiling Logging LoggingSystem.swift
[24/64] Compiling Logging LogEvent.swift
[25/64] Compiling Logging LogHandler.swift
[26/64] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[27/64] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[28/64] Compiling Logging Logger+Attributes.swift
[31/64] Compiling Logging Logger.swift
[32/64] Compiling InternalCollectionsUtilities UInt+reversed.swift
[33/64] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[34/64] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[35/64] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[36/64] Compiling InternalCollectionsUtilities Immortalize.swift
[37/64] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[38/64] Compiling InternalCollectionsUtilities Integer rank.swift
[39/64] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[40/64] Compiling Logging SwiftLogNoOpLogHandler.swift
[41/64] Compiling Logging Locks.swift
[42/64] Compiling Logging MultiplexLogHandler.swift
[43/64] Compiling Logging StreamLogHandler.swift
[44/64] Compiling InternalCollectionsUtilities Span+Extras.swift
[45/64] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[46/64] Compiling InternalCollectionsUtilities String+Padding.swift
[47/64] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[48/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[49/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[50/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[51/64] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/82] Compiling CoreMetrics Metrics.swift
[54/98] Compiling CoreMetrics MappingMetricsFactory.swift
[55/98] Compiling CoreMetrics WithMetricsFactory.swift
[56/98] Compiling Logging MetadataProvider.swift
[57/105] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[58/114] Compiling SpanPreview InputSpan.swift
[59/126] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[60/126] Emitting module SpanPreview
[62/127] Compiling OrderedCollections _HashTable+Constants.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`.
[63/127] Compiling CoreMetrics Locks.swift
[64/127] Compiling OrderedCollections _HashTable+CustomStringConvertible.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`.
[65/127] Emitting module CoreMetrics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/128] 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`.
[67/128] Compiling OrderedCollections _HashTable+Bucket.swift
[68/128] Compiling OrderedCollections _HashTable+BucketIterator.swift
[69/128] Emitting module ConcurrencyHelpers
BUILD FAILURE 6.2 wasm