The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-service-discovery, reference main (80f5b3), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 07:31:33 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/apple/swift-service-discovery.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-service-discovery
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 80f5b30 Enable Swift 6.1 jobs in CI (#64)
Cloned https://github.com/apple/swift-service-discovery.git
Revision (git rev-parse @):
80f5b30324eecf2ed138e47d3383b06ede265a8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-service-discovery.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-service-discovery.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/10] Compiling _AtomicsShims.c
[6/29] Compiling Atomics ManagedAtomicLazyReference.swift
[7/29] Compiling Atomics UnsafeAtomic.swift
[8/30] Compiling Atomics UnsafeAtomicLazyReference.swift
[9/30] Compiling Atomics IntegerOperations.swift
[10/30] Compiling Atomics DoubleWord.swift
[11/30] Compiling Atomics ManagedAtomic.swift
[12/30] Compiling Atomics AtomicInteger.swift
[13/30] Compiling Atomics AtomicOptionalWrappable.swift
[14/30] Compiling Atomics AtomicValue.swift
[15/30] Compiling Atomics AtomicMemoryOrderings.swift
[16/30] Compiling Atomics AtomicReference.swift
[17/30] Compiling Atomics AtomicStorage.swift
[18/30] Compiling Atomics Unmanaged extensions.swift
[19/30] Compiling Atomics OptionalRawRepresentable.swift
[20/30] Compiling Atomics RawRepresentable.swift
[21/30] Compiling Atomics PointerConformances.swift
[22/30] Compiling Atomics Primitives.native.swift
[23/30] Compiling Atomics AtomicBool.swift
[24/30] Compiling Atomics IntegerConformances.swift
[25/30] Emitting module Atomics
[26/30] Emitting module Logging
[27/30] Compiling Logging Locks.swift
[28/30] Compiling Logging LogHandler.swift
[29/30] Compiling Logging Logging.swift
[30/30] Compiling Logging MetadataProvider.swift
[31/40] Compiling ServiceDiscovery HostPort.swift
[32/40] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[33/40] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[34/40] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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:279:25: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
277 |                 Task {
278 |                     do {
279 |                         for try await snapshot in self.subscribe(to: service) {
    |                         `- warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
280 |                             continuation.yield(try snapshot.map(self.transform))
281 |                         }
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:279:25: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
277 |                 Task {
278 |                     do {
279 |                         for try await snapshot in self.subscribe(to: service) {
    |                         `- warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
280 |                             continuation.yield(try snapshot.map(self.transform))
281 |                         }
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 | }
[35/40] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+AsyncAwait.swift:89:47: warning: capture of non-sendable type 'SnapshotSequence.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |             let task = Task {
 88 |                 do {
 89 |                     for try await snapshot in snapshots { continuation.yield(snapshot) }
    |                                               `- warning: capture of non-sendable type 'SnapshotSequence.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
 90 |                     continuation.finish()
 91 |                 } catch { continuation.finish(throwing: error) }
[36/40] Compiling ServiceDiscovery ServiceDiscovery.swift
[37/40] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[38/40] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[39/40] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[40/40] Emitting module ServiceDiscovery
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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! (8.32s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
[1/3836] Fetching swift-log
[117/5633] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-log from cache (1.05s)
Fetched https://github.com/apple/swift-atomics from cache (1.05s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.51s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.41s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
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" : "5.9"
}
Done.