The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-system-metrics, reference main (f1709b), with Swift 6.2 for Android on 20 Nov 2026 04:28:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         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-58779149-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: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/apple/swift-metrics.git
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/3643] Fetching swift-metrics
[3644/10547] Fetching swift-metrics, swift-async-algorithms
[10203/13445] Fetching swift-metrics, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-metrics.git from cache (0.64s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.64s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.64s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.80s)
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.36s)
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.50s)
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.76s)
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-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-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-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
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.7
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version--11D90AFD9DD3AB2.txt
[13/60] Emitting module InternalCollectionsUtilities
[14/63] Compiling CoreMetrics WithMetricsFactory.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 InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[20/63] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[21/64] Compiling InternalCollectionsUtilities MutableRef.swift
[22/64] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[23/64] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[24/64] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[26/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[27/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[28/64] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/64] Compiling ConcurrencyHelpers LockedValueBox.swift
[30/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[31/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[32/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/64] Compiling Logging Logger.swift
[34/64] Compiling Logging LoggingSystem.swift
[35/64] Compiling InternalCollectionsUtilities Span+Extras.swift
[36/64] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[37/64] Compiling InternalCollectionsUtilities String+Padding.swift
[38/64] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[41/64] Compiling InternalCollectionsUtilities Debugging.swift
[42/64] Compiling InternalCollectionsUtilities Descriptions.swift
[43/64] Compiling InternalCollectionsUtilities Immortalize.swift
[44/64] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[45/64] Compiling InternalCollectionsUtilities Integer rank.swift
[46/64] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[47/64] Compiling InternalCollectionsUtilities UInt+reversed.swift
[48/64] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[49/64] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[50/64] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[52/65] Compiling CoreMetrics Metrics.swift
[53/65] Compiling CoreMetrics MappingMetricsFactory.swift
[54/126] Emitting module SpanPreview
[55/126] Compiling SpanPreview InputSpan.swift
[56/126] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[57/126] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[59/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[60/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[61/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[62/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[63/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[64/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[65/169] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[66/169] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[67/169] Compiling DequeModule UniqueDeque+Hashable.swift
[68/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[69/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[70/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[71/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[72/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[73/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[74/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[75/176] Compiling DequeModule Deque+Testing.swift
[76/176] Compiling DequeModule Deque._Storage.swift
[77/176] Compiling DequeModule Deque._UnsafeHandle.swift
[78/176] Compiling DequeModule Deque.swift
[79/176] Compiling DequeModule RigidDeque+Prepend.swift
[80/176] Compiling DequeModule RigidDeque+Removals.swift
[81/176] Compiling DequeModule RigidDeque+Replacements.swift
[82/176] Compiling DequeModule RigidDeque+Testing.swift
[83/176] Compiling DequeModule UniqueDeque+Consumption.swift
[84/176] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[85/176] Compiling DequeModule UniqueDeque+Deprecations.swift
[86/176] Compiling DequeModule UniqueDeque+Descriptions.swift
[87/176] Compiling DequeModule UniqueDeque+Equatable.swift
[89/176] Compiling DequeModule UniqueDeque+Initializers.swift
[90/176] Compiling DequeModule UniqueDeque+Insertions.swift
[91/176] Compiling DequeModule UniqueDeque+Iterable.swift
[92/176] Compiling DequeModule UniqueDeque+Prepend.swift
[93/176] Compiling DequeModule UniqueDeque+Removals.swift
[94/181] Compiling DequeModule RigidDeque.swift
[95/181] Compiling DequeModule UniqueDeque+Append.swift
[96/181] Compiling DequeModule _DequeBuffer.swift
[97/181] Compiling DequeModule _DequeBufferHeader.swift
[98/181] Compiling DequeModule RigidDeque+Append.swift
[99/181] Compiling DequeModule RigidDeque+Consumption.swift
[100/181] Compiling DequeModule RigidDeque+ContainerOperations.swift
[101/181] Compiling DequeModule RigidDeque+Deprecations.swift
[108/181] Compiling DequeModule RigidDeque+Descriptions.swift
[109/181] Compiling DequeModule RigidDeque+Equatable.swift
[110/181] Compiling DequeModule RigidDeque+Hashable.swift
[111/181] Compiling DequeModule RigidDeque+Initializers.swift
[112/181] Compiling DequeModule RigidDeque+Insertions.swift
[113/181] Compiling DequeModule RigidDeque+Iterable.swift
[114/181] Compiling Logging Logger+With.swift
[115/181] Compiling DequeModule Deque+CustomReflectable.swift
[116/181] Compiling DequeModule Deque+Descriptions.swift
[117/181] Compiling Logging Logger+Attributes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[118/181] 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`.
[119/181] Compiling DequeModule Deque+Equatable.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`.
[120/181] Compiling DequeModule Deque+ExpressibleByArrayLiteral.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`.
[121/181] Compiling CoreMetrics Locks.swift
[122/181] Emitting module CoreMetrics
[123/182] Compiling ConcurrencyHelpers Lock.swift
[124/182] Emitting module ConcurrencyHelpers
[126/183] Compiling Logging MetadataProvider.swift
BUILD FAILURE 6.2 android