The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-system-metrics, reference 1.3.1 (482753), with Swift 6.2 for Linux on 20 Nov 2026 04:09:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: 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:         linux
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-54344845-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:448fd83fd52215d086a1e24a6dfef7af36c159759f7d20bea90a3c7c927de91e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/3643] Fetching swift-metrics
[147/6541] Fetching swift-metrics, swift-service-lifecycle
[5354/13445] Fetching swift-metrics, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.48s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.48s)
[2003/6904] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms 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.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.39s)
Fetching https://github.com/apple/swift-log.git
[1/8543] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.79s)
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/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-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
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
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/60] Compiling CoreMetrics WithMetricsFactory.swift
[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 InternalCollectionsUtilities MutableRef.swift
[19/63] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[20/63] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[21/63] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/63] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/63] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[24/63] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[25/63] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[26/63] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[27/63] Compiling InternalCollectionsUtilities _SortedCollection.swift
[28/63] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[29/63] Compiling Logging Logger+With.swift
[30/64] Compiling InternalCollectionsUtilities Span+Extras.swift
[31/64] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[32/64] Compiling InternalCollectionsUtilities String+Padding.swift
[33/64] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[34/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[35/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[36/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[37/64] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[38/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/64] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[40/64] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[41/64] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[42/64] Compiling Logging Logger.swift
[43/64] Compiling Logging LoggingSystem.swift
[44/64] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[45/64] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[46/64] Compiling InternalCollectionsUtilities Debugging.swift
[47/64] Compiling InternalCollectionsUtilities Descriptions.swift
[48/64] Emitting module InternalCollectionsUtilities
[50/65] Compiling Logging Logger+Attributes.swift
[53/87] Compiling SpanPreview InputSpan.swift
[54/96] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[55/100] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[56/104] Emitting module SpanPreview
[57/127] Compiling CoreMetrics MappingMetricsFactory.swift
[58/127] Compiling CoreMetrics Metrics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/169] 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`.
[61/169] Compiling DequeModule Deque+Codable.swift
[62/169] Compiling DequeModule Deque+Collection.swift
[63/169] 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`.
[64/169] 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`.
[65/169] Compiling ConcurrencyHelpers LockedValueBox.swift
[66/169] Compiling ConcurrencyHelpers Lock.swift
[67/169] Emitting module ConcurrencyHelpers
[69/170] Compiling DequeModule RigidDeque.swift
[70/170] Compiling DequeModule UniqueDeque+Append.swift
[71/170] Compiling DequeModule UniqueDeque+Consumption.swift
[72/170] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[73/170] Compiling DequeModule UniqueDeque+Deprecations.swift
[74/170] Compiling DequeModule UniqueDeque+Descriptions.swift
[75/170] Compiling DequeModule UniqueDeque+Equatable.swift
[76/170] Compiling DequeModule UniqueDeque+Hashable.swift
[77/180] Compiling Logging MetadataProvider.swift
[84/180] Emitting module CoreMetrics
BUILD FAILURE 6.2 linux