Build Information
Successful build of swift-prometheus, reference main (ba9257
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 09:46:12 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-prometheus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-prometheus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ba92571 Correct license headers (#122)
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
ba92571855c573b7df647205b75296e6b43c3983
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/swift-prometheus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling _AtomicsShims.c
[6/27] Compiling Atomics AtomicInteger.swift
[7/27] Compiling Atomics AtomicOptionalWrappable.swift
[8/28] Compiling Atomics ManagedAtomicLazyReference.swift
[9/28] Compiling Atomics UnsafeAtomic.swift
[10/28] Compiling Atomics DoubleWord.swift
[11/28] Compiling Atomics ManagedAtomic.swift
[12/28] Compiling Atomics AtomicValue.swift
[13/28] Compiling Atomics AtomicMemoryOrderings.swift
[14/28] Compiling Atomics UnsafeAtomicLazyReference.swift
[15/28] Compiling Atomics IntegerOperations.swift
[16/28] Compiling Atomics OptionalRawRepresentable.swift
[17/28] Compiling Atomics RawRepresentable.swift
[18/28] Compiling Atomics Unmanaged extensions.swift
[19/28] Compiling Atomics PointerConformances.swift
[20/28] Compiling Atomics Primitives.native.swift
[21/28] Emitting module Atomics
[22/28] Compiling Atomics AtomicReference.swift
[23/28] Compiling Atomics AtomicStorage.swift
[24/28] Compiling Atomics AtomicBool.swift
[25/28] Compiling Atomics IntegerConformances.swift
[26/28] Compiling CoreMetrics Metrics.swift
[27/28] Compiling CoreMetrics Locks.swift
[28/28] Emitting module CoreMetrics
[29/36] Compiling Prometheus Histogram.swift
[30/36] Compiling Prometheus PrometheusMetricsFactory.swift
[31/36] Compiling Prometheus Gauge.swift
[32/36] Compiling Prometheus NIOLockedValueBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLockedValueBox.swift:41:18: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
39 |
40 | @usableFromInline
41 | internal let _storage: LockStorage<Value>
| `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
42 |
43 | /// Initialize the `Value`.
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:137:13: note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
[33/36] Compiling Prometheus PrometheusCollectorRegistry.swift
[34/36] Compiling Prometheus Counter.swift
[35/36] Compiling Prometheus NIOLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:192:35: warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
138 |
139 | @inlinable
:
190 | }
191 |
192 | extension LockStorage: @unchecked Sendable {}
| `- warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
193 |
194 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:204:18: warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
:
202 | struct NIOLock {
203 | @usableFromInline
204 | internal let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
205 |
206 | /// Create a new lock.
[36/36] Emitting module Prometheus
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:192:35: warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
138 |
139 | @inlinable
:
190 | }
191 |
192 | extension LockStorage: @unchecked Sendable {}
| `- warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
193 |
194 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:204:18: warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
:
202 | struct NIOLock {
203 | @usableFromInline
204 | internal let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
205 |
206 | /// Create a new lock.
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLockedValueBox.swift:41:18: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
39 |
40 | @usableFromInline
41 | internal let _storage: LockStorage<Value>
| `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
42 |
43 | /// Initialize the `Value`.
/Users/admin/builder/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:137:13: note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
Build complete! (5.49s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
[1/2206] Fetching swift-metrics
[156/4003] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (0.95s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.95s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.37s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.38s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.7.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
}
],
"manifest_display_name" : "swift-prometheus",
"name" : "swift-prometheus",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "Prometheus",
"targets" : [
"Prometheus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PrometheusTests",
"module_type" : "SwiftTarget",
"name" : "PrometheusTests",
"path" : "Tests/PrometheusTests",
"sources" : [
"CounterTests.swift",
"GaugeTests.swift",
"HistogramTests.swift",
"PrometheusCollectorRegistryTests.swift",
"PrometheusMetricsFactoryTests.swift",
"ValidNamesTests.swift"
],
"target_dependencies" : [
"Prometheus"
],
"type" : "test"
},
{
"c99name" : "Prometheus",
"module_type" : "SwiftTarget",
"name" : "Prometheus",
"path" : "Sources/Prometheus",
"product_dependencies" : [
"Atomics",
"CoreMetrics"
],
"product_memberships" : [
"Prometheus"
],
"sources" : [
"Counter.swift",
"Gauge.swift",
"Histogram.swift",
"NIOLock.swift",
"NIOLockedValueBox.swift",
"PrometheusCollectorRegistry.swift",
"PrometheusMetricsFactory.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.