Build Information
Failed to build swift-system-metrics, reference 1.3.1 (482753), with Swift 6.2 for Android on 20 Nov 2026 04:23:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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-54344849-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9a42373a341cf0ac994d1354bf172b4b5ee78d50d70e79bac890b78e8d33c52e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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/2898] Fetching swift-service-lifecycle
[204/6541] Fetching swift-service-lifecycle, swift-metrics
[3045/13445] Fetching swift-service-lifecycle, swift-metrics, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (0.57s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.60s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.60s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.76s)
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.57s)
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.85s)
Fetching https://github.com/apple/swift-log.git
[1/8543] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.16s)
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
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
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
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version--11D90AFD9DD3AB2.txt
[13/60] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/63] 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`.
[15/64] Compiling CoreMetrics WithMetricsFactory.swift
[16/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[17/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/64] Compiling InternalCollectionsUtilities Span+Extras.swift
[20/64] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[21/64] Compiling InternalCollectionsUtilities String+Padding.swift
[22/64] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[23/64] Compiling InternalCollectionsUtilities MutableRef.swift
[24/64] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[25/64] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[26/64] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/64] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/64] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[29/64] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[30/64] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[31/64] Compiling Logging LoggingSystem.swift
[32/64] Compiling Logging Logger+With.swift
[33/64] Compiling Logging Logger.swift
[34/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/64] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[36/64] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[37/64] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[38/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[39/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[40/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[41/64] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/64] Compiling InternalCollectionsUtilities Immortalize.swift
[43/64] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[44/64] Compiling Logging Logger+Attributes.swift
[47/64] Compiling InternalCollectionsUtilities Integer rank.swift
[48/64] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[49/64] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[50/64] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[51/64] Compiling InternalCollectionsUtilities Debugging.swift
[52/64] Compiling InternalCollectionsUtilities Descriptions.swift
[53/64] Compiling CoreMetrics Metrics.swift
[55/76] Compiling SpanPreview InputSpan.swift
[56/76] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[57/78] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[58/79] Emitting module SpanPreview
[60/169] Compiling DequeModule UniqueDeque+Consumption.swift
[61/169] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[62/169] Compiling DequeModule UniqueDeque+Deprecations.swift
[63/169] Compiling DequeModule UniqueDeque+Descriptions.swift
[64/169] Compiling DequeModule UniqueDeque+Equatable.swift
[65/169] Compiling DequeModule UniqueDeque+Hashable.swift
[66/169] Compiling DequeModule UniqueDeque+Initializers.swift
[67/169] Compiling DequeModule UniqueDeque+Insertions.swift
[68/169] Compiling DequeModule UniqueDeque+Iterable.swift
[69/169] Compiling DequeModule UniqueDeque+Prepend.swift
[70/169] Compiling DequeModule UniqueDeque+Removals.swift
[71/174] Compiling DequeModule _DequeBuffer.swift
[72/174] Compiling DequeModule _DequeBufferHeader.swift
[73/174] Compiling DequeModule RigidDeque+Append.swift
[74/174] Compiling DequeModule RigidDeque+Consumption.swift
[75/174] Compiling DequeModule RigidDeque+ContainerOperations.swift
[76/174] Compiling DequeModule RigidDeque+Deprecations.swift
[81/174] Compiling DequeModule Deque+Codable.swift
[82/174] Compiling DequeModule Deque+Collection.swift
[83/174] Compiling DequeModule Deque+CustomReflectable.swift
[84/174] Compiling DequeModule Deque+Descriptions.swift
[85/174] Compiling DequeModule Deque+Equatable.swift
[86/174] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[87/174] Compiling DequeModule RigidDeque+Descriptions.swift
[88/174] Compiling DequeModule RigidDeque+Equatable.swift
[89/174] Compiling DequeModule RigidDeque+Hashable.swift
[90/174] Compiling DequeModule RigidDeque+Initializers.swift
[91/174] Compiling DequeModule RigidDeque+Insertions.swift
[92/174] Compiling DequeModule RigidDeque+Iterable.swift
[94/174] Compiling DequeModule UniqueDeque+Replacements.swift
[95/174] Compiling DequeModule UniqueDeque.swift
[96/174] Compiling DequeModule _DequeSlot.swift
[97/174] Compiling DequeModule _UnsafeDequeHandle.swift
[98/174] Compiling DequeModule _UnsafeDequeSegments.swift
[99/174] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[100/174] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[115/181] Compiling DequeModule RigidDeque+Prepend.swift
[116/181] Compiling DequeModule RigidDeque+Removals.swift
[117/181] Compiling DequeModule RigidDeque+Replacements.swift
[118/181] Compiling DequeModule RigidDeque+Testing.swift
[119/181] Compiling DequeModule RigidDeque.swift
[120/181] Compiling DequeModule UniqueDeque+Append.swift
[121/181] Compiling DequeModule Deque+Testing.swift
[122/181] Compiling DequeModule Deque._Storage.swift
[123/181] Compiling Logging MetadataProvider.swift
[124/181] Compiling CoreMetrics MappingMetricsFactory.swift
[125/181] Emitting module CoreMetrics
[126/181] Compiling DequeModule Deque+Extras.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`.
[127/181] Compiling CoreMetrics Locks.swift
[128/181] Compiling DequeModule Deque+Hashable.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`.
[130/182] Emitting module ConcurrencyHelpers
[131/182] Compiling ConcurrencyHelpers LockedValueBox.swift
BUILD FAILURE 6.2 android