Build Information
Successful build of swift-service-discovery, reference 1.5.0 (763b50), with Swift 6.1 for macOS (SPM) on 28 Apr 2026 23:21:21 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-service-discovery.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-service-discovery
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at 763b507 Restore public api for InMemoryServiceDiscovery.Configuration (#79)
Cloned https://github.com/apple/swift-service-discovery.git
Revision (git rev-parse @):
763b5079f8aa47697870c7620c1ab972df153edf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-service-discovery.git at 1.5.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-service-discovery.git
https://github.com/apple/swift-service-discovery.git
{
"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"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "swift-service-discovery",
"name" : "swift-service-discovery",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ServiceDiscovery",
"targets" : [
"ServiceDiscovery"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ServiceDiscoveryTests",
"module_type" : "SwiftTarget",
"name" : "ServiceDiscoveryTests",
"path" : "Tests/ServiceDiscoveryTests",
"sources" : [
"AsyncAwaitTests.swift",
"FilterInstanceServiceDiscoveryTests.swift",
"Helpers.swift",
"InMemoryServiceDiscoveryTests.swift",
"MapInstanceServiceDiscoveryTests.swift",
"MapServiceServiceDiscoveryTests.swift",
"TypeErasedServiceDiscoveryTests.swift"
],
"target_dependencies" : [
"ServiceDiscovery"
],
"type" : "test"
},
{
"c99name" : "ServiceDiscovery",
"module_type" : "SwiftTarget",
"name" : "ServiceDiscovery",
"path" : "Sources/ServiceDiscovery",
"product_dependencies" : [
"Atomics",
"Logging"
],
"product_memberships" : [
"ServiceDiscovery"
],
"sources" : [
"FilterInstanceServiceDiscovery.swift",
"HostPort.swift",
"InMemoryServiceDiscovery.swift",
"MapInstanceServiceDiscovery.swift",
"MapServiceServiceDiscovery.swift",
"ServiceDiscovery+AsyncAwait.swift",
"ServiceDiscovery+Combinators.swift",
"ServiceDiscovery+TypeErased.swift",
"ServiceDiscovery.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-2F0A5646E1D333AE.txt
[4/11] Compiling _AtomicsShims.c
[6/30] Compiling Atomics AtomicInteger.swift
[7/30] Compiling Atomics AtomicOptionalWrappable.swift
[8/31] Compiling Atomics ManagedAtomicLazyReference.swift
[9/31] Compiling Atomics UnsafeAtomic.swift
[10/31] Compiling Atomics AtomicReference.swift
[11/31] Compiling Atomics AtomicStorage.swift
[12/31] Compiling Atomics DoubleWord.swift
[13/31] Compiling Atomics ManagedAtomic.swift
[14/31] Compiling Atomics UnsafeAtomicLazyReference.swift
[15/31] Compiling Atomics IntegerOperations.swift
[16/31] Compiling Atomics AtomicValue.swift
[17/31] Compiling Atomics AtomicMemoryOrderings.swift
[18/31] Compiling Atomics PointerConformances.swift
[19/31] Compiling Atomics Primitives.native.swift
[20/31] Compiling Atomics Unmanaged extensions.swift
[21/31] Compiling Atomics AtomicBool.swift
[22/31] Compiling Atomics IntegerConformances.swift
[23/31] Compiling Atomics OptionalRawRepresentable.swift
[24/31] Compiling Atomics RawRepresentable.swift
[25/31] Emitting module Atomics
[26/31] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/31] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/31] Compiling Logging LogEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/31] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/31] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/31] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/41] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[33/41] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[34/41] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[35/41] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[36/41] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:86:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
84 |
85 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
86 | public final class AnyServiceDiscovery: ServiceDiscovery {
| |- warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
| `- note: in associated type 'Self.Instance' (inferred as 'AnyHashable')
87 | // swift-format-ignore: AllPublicDeclarationsHaveDocumentation
88 | public typealias Service = AnyHashable
Swift.AnyHashable:2:11: note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension AnyHashable : Sendable {
| `- note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:86:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
84 |
85 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
86 | public final class AnyServiceDiscovery: ServiceDiscovery {
| |- warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
| `- note: in associated type 'Self.Service' (inferred as 'AnyHashable')
87 | // swift-format-ignore: AllPublicDeclarationsHaveDocumentation
88 | public typealias Service = AnyHashable
Swift.AnyHashable:2:11: note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension AnyHashable : Sendable {
| `- note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
3 | }
[37/41] Compiling ServiceDiscovery ServiceDiscovery.swift
[38/41] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[39/41] Compiling ServiceDiscovery HostPort.swift
[40/41] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[41/41] Emitting module ServiceDiscovery
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:86:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
84 |
85 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
86 | public final class AnyServiceDiscovery: ServiceDiscovery {
| |- warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
| `- note: in associated type 'Self.Instance' (inferred as 'AnyHashable')
87 | // swift-format-ignore: AllPublicDeclarationsHaveDocumentation
88 | public typealias Service = AnyHashable
Swift.AnyHashable:2:11: note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension AnyHashable : Sendable {
| `- note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:86:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
84 |
85 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
86 | public final class AnyServiceDiscovery: ServiceDiscovery {
| |- warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
| `- note: in associated type 'Self.Service' (inferred as 'AnyHashable')
87 | // swift-format-ignore: AllPublicDeclarationsHaveDocumentation
88 | public typealias Service = AnyHashable
Swift.AnyHashable:2:11: note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension AnyHashable : Sendable {
| `- note: conformance of 'AnyHashable' to 'Sendable' has been explicitly marked unavailable here
3 | }
Build complete! (9.20s)
Fetching https://github.com/apple/swift-atomics from cache
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-atomics from cache (1.08s)
Fetched https://github.com/apple/swift-log from cache (1.09s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.66s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.53s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.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"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "swift-service-discovery",
"name" : "swift-service-discovery",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ServiceDiscovery",
"targets" : [
"ServiceDiscovery"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ServiceDiscoveryTests",
"module_type" : "SwiftTarget",
"name" : "ServiceDiscoveryTests",
"path" : "Tests/ServiceDiscoveryTests",
"sources" : [
"AsyncAwaitTests.swift",
"FilterInstanceServiceDiscoveryTests.swift",
"Helpers.swift",
"InMemoryServiceDiscoveryTests.swift",
"MapInstanceServiceDiscoveryTests.swift",
"MapServiceServiceDiscoveryTests.swift",
"TypeErasedServiceDiscoveryTests.swift"
],
"target_dependencies" : [
"ServiceDiscovery"
],
"type" : "test"
},
{
"c99name" : "ServiceDiscovery",
"module_type" : "SwiftTarget",
"name" : "ServiceDiscovery",
"path" : "Sources/ServiceDiscovery",
"product_dependencies" : [
"Atomics",
"Logging"
],
"product_memberships" : [
"ServiceDiscovery"
],
"sources" : [
"FilterInstanceServiceDiscovery.swift",
"HostPort.swift",
"InMemoryServiceDiscovery.swift",
"MapInstanceServiceDiscovery.swift",
"MapServiceServiceDiscovery.swift",
"ServiceDiscovery+AsyncAwait.swift",
"ServiceDiscovery+Combinators.swift",
"ServiceDiscovery+TypeErased.swift",
"ServiceDiscovery.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Done.