The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-service-discovery, reference main (243830), with Swift 6.4 for macOS (SPM) on 23 Oct 2026 00:17:12 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
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 2438304 Bump swiftlang/github-workflows/.github/workflows/soundness.yml from 0.0.15 to 0.0.16 (#90)
Cloned https://github.com/apple/swift-service-discovery.git
Revision (git rev-parse @):
2438304e3a1303c169b8a6e0f67d3ca9bde1b5c0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-service-discovery.git at main
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
[1/1889] Fetching swift-atomics
[20/10262] Fetching swift-atomics, swift-log
Fetched https://github.com/apple/swift-log (1.23s)
Fetched https://github.com/apple/swift-atomics (1.23s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (1.84s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.2 (0.56s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.16.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-service-discovery",
      "name": "swift-service-discovery",
      "url": "https://github.com/apple/swift-service-discovery.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-discovery",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-atomics",
          "name": "swift-atomics",
          "url": "https://github.com/apple/swift-atomics",
          "version": "1.3.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.16.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/apple/swift-service-discovery.git
[1/1312] Fetching swift-service-discovery
Fetched https://github.com/apple/swift-service-discovery.git (0.95s)
Fetching https://github.com/apple/swift-atomics from cache
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.56s)
Fetched https://github.com/apple/swift-atomics from cache (0.58s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (0.65s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.2 (0.03s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-service-discovery.git
Working copy of https://github.com/apple/swift-service-discovery.git resolved at main (2438304)
warning: '.resolve-product-dependencies': dependency 'swift-service-discovery' is not used by any target
Found 2 product dependencies
  - swift-atomics
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/apple/swift-service-discovery.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[33 / 61]
[36 / 63] _AtomicsShims
[51 / 95]
[53 / 95]
[65 / 122]
[79 / 122] Atomics
[81 / 122]
[84 / 122] Atomics
[86 / 122] Atomics
[94 / 122]
[105 / 122] Logging
[112 / 123] Logging
[114 / 123] ServiceDiscovery
[120 / 156]
[122 / 156]
[126 / 156]
[128 / 156]
[131 / 156]
[134 / 156]
[136 / 156]
[137 / 156]
[147 / 156] ServiceDiscovery
[153 / 156] ServiceDiscovery
Build complete! (8.37 sec)
/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 | }
/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:289:25: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
287 |                 Task {
288 |                     do {
289 |                         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
290 |                             continuation.yield(try snapshot.map(self.transform))
291 |                         }
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:289:25: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
287 |                 Task {
288 |                     do {
289 |                         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
290 |                             continuation.yield(try snapshot.map(self.transform))
291 |                         }
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.
{
  "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.2"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/apple/swift-service-discovery/main
Repository:               apple/swift-service-discovery
Swift version used:       6.4
Target:                   ServiceDiscovery
Extracting symbol information for 'ServiceDiscovery'...
Finished extracting symbol information for 'ServiceDiscovery'. (2.05s)
Building documentation for 'ServiceDiscovery'...
Finished building documentation for 'ServiceDiscovery' (0.16s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apple/swift-service-discovery/main
Updating https://github.com/apple/swift-log
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-atomics
Updated https://github.com/apple/swift-atomics (0.56s)
Updated https://github.com/apple/swift-log (0.66s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (1.60s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.2 (2.19s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.09s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3846] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.93s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Planning deferred tasks]
[18 / 41]
[20 / 43] Snippets
[31 / 58] SymbolKit
[40 / 58] SymbolKit
[50 / 58] snippet-extract-product
[52 / 59] SymbolKit
[58 / 63] snippet-extract-product
[59 / 63] snippet-extract-product
[61 / 63] snippet-extract-product
Build complete! (2.34 sec)
Building for debugging...
[Pre-planning 1 / 126]
[Planning deferred tasks]
[3 / 31]
[15 / 41] Atomics
[17 / 52] Logging
[23 / 52] Logging
[27 / 52] Logging
[29 / 48] Logging
[30 / 47] Atomics
[35 / 43] ServiceDiscovery
[45 / 53] 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 | }
/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:289:25: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
287 |                 Task {
288 |                     do {
289 |                         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
290 |                             continuation.yield(try snapshot.map(self.transform))
291 |                         }
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:289:25: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
287 |                 Task {
288 |                     do {
289 |                         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
290 |                             continuation.yield(try snapshot.map(self.transform))
291 |                         }
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 | }
[47 / 49] ServiceDiscovery
Build complete! (1.85 sec)
     380
4	/Users/admin/builder/spi-builder-workspace/.docs/apple/swift-service-discovery/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/swift-service-discovery/main
File count: 380
Doc size:   4.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -apple-swift-service-discovery-main-08148669.zip to presigned URL
Starting upload of 806936 bytes...
Upload completed successfully
Done.