Build Information
Failed to build swift-system-metrics, reference main (f1709b), with Swift 6.2 for Wasm on 20 Nov 2026 04:10:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/apple/swift-system-metrics.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/apple/swift-system-metrics
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f1709b2 Bump swiftlang/github-workflows/.github/workflows/soundness.yml from 0.0.17 to 0.0.18 (#135)
Cloned https://github.com/apple/swift-system-metrics.git
Revision (git rev-parse @):
f1709b2900dbe7bf9d2ce98925dc60aa7982bb9b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-system-metrics.git at main
========================================
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-53886770-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: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-metrics.git
Fetching https://github.com/apple/swift-async-algorithms
[1/2898] Fetching swift-service-lifecycle
[726/6541] Fetching swift-service-lifecycle, swift-metrics
[6542/13445] Fetching swift-service-lifecycle, swift-metrics, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.49s)
[3713/10547] Fetching swift-metrics, swift-async-algorithms
Fetched https://github.com/apple/swift-metrics.git from cache (0.63s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.63s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.79s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.7 (0.21s)
Fetching https://github.com/apple/swift-collections.git
[1/30345] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
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.41s)
Fetching https://github.com/apple/swift-log.git
[1/8543] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.14s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.1
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/60] Emitting module CoreMetrics
[14/60] Compiling InternalCollectionsUtilities Immortalize.swift
[15/60] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/60] Compiling InternalCollectionsUtilities Integer rank.swift
[17/60] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/63] Compiling CoreMetrics WithMetricsFactory.swift
[19/63] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[20/63] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[21/63] Compiling InternalCollectionsUtilities Debugging.swift
[22/63] Compiling InternalCollectionsUtilities Descriptions.swift
[23/63] Compiling Logging LoggingSystem.swift
[24/63] Emitting module InternalCollectionsUtilities
[25/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[26/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[28/64] Compiling InternalCollectionsUtilities MutableRef.swift
[29/64] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[30/64] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[31/64] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.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 CoreMetrics Metrics.swift
[37/64] Compiling CoreMetrics MappingMetricsFactory.swift
[38/64] Compiling Logging Logger+With.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/64] Compiling Logging Logger+Attributes.swift
[42/64] 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`.
[43/64] Compiling Logging MetadataProvider.swift
[44/64] Compiling CoreMetrics Locks.swift
[47/65] Compiling ConcurrencyHelpers LockedValueBox.swift
[48/65] Compiling ConcurrencyHelpers Lock.swift
[49/65] Emitting module ConcurrencyHelpers
[52/66] Compiling InternalCollectionsUtilities Span+Extras.swift
[53/66] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[54/66] Compiling InternalCollectionsUtilities String+Padding.swift
[55/66] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[56/69] Compiling Logging Logger.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`.
[59/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[60/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[61/69] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[62/69] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
BUILD FAILURE 6.2 wasm