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 (32943a), with Swift 6.2 for macOS (SPM) on 20 Oct 2025 21:38:54 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 32943ab chore: restrict GitHub workflow permissions - future-proof (#68)
Cloned https://github.com/apple/swift-service-discovery.git
Revision (git rev-parse @):
32943ab3fd279d834e2662882286c865c9d58a5e
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-atomics
Fetching https://github.com/apple/swift-log
[1/1820] Fetching swift-atomics
[74/5777] Fetching swift-atomics, swift-log
Fetched https://github.com/apple/swift-log from cache (1.04s)
Fetched https://github.com/apple/swift-atomics from cache (1.04s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.62s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.54s)
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.4
========================================
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",
  "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",
      "dependencies": [
        {
          "identity": "swift-atomics",
          "name": "swift-atomics",
          "url": "https://github.com/apple/swift-atomics",
          "version": "1.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.6.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/apple/swift-service-discovery.git
[1/1154] Fetching swift-service-discovery
Fetched https://github.com/apple/swift-service-discovery.git from cache (0.90s)
Fetching https://github.com/apple/swift-log from cache
Fetching https://github.com/apple/swift-atomics from cache
Fetched https://github.com/apple/swift-log from cache (0.49s)
Fetched https://github.com/apple/swift-atomics from cache (0.49s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.55s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (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.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
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 (32943ab)
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.2
Building package at path:  $PWD
https://github.com/apple/swift-service-discovery.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-49B95AFC49DCD68C.txt
[4/10] Compiling _AtomicsShims.c
[6/29] Compiling Atomics UnsafeAtomicLazyReference.swift
[7/29] Compiling Atomics IntegerOperations.swift
[8/29] Compiling Atomics ManagedAtomicLazyReference.swift
[9/29] Compiling Atomics UnsafeAtomic.swift
[10/30] Compiling Atomics AtomicValue.swift
[11/30] Compiling Atomics AtomicMemoryOrderings.swift
[12/30] Compiling Atomics AtomicInteger.swift
[13/30] Compiling Atomics AtomicOptionalWrappable.swift
[14/30] Compiling Atomics DoubleWord.swift
[15/30] Compiling Atomics ManagedAtomic.swift
[16/30] Compiling Atomics AtomicReference.swift
[17/30] Compiling Atomics AtomicStorage.swift
[18/30] Compiling Atomics Unmanaged extensions.swift
[19/30] Compiling Atomics PointerConformances.swift
[20/30] Compiling Atomics Primitives.native.swift
[21/30] Compiling Atomics AtomicBool.swift
[22/30] Compiling Atomics IntegerConformances.swift
[23/30] Compiling Atomics OptionalRawRepresentable.swift
[24/30] Compiling Atomics RawRepresentable.swift
[25/30] Emitting module Atomics
[26/30] Emitting module Logging
[27/30] Compiling Logging MetadataProvider.swift
[28/30] Compiling Logging Logging.swift
[29/30] Compiling Logging LogHandler.swift
[30/30] Compiling Logging Locks.swift
[31/40] Compiling ServiceDiscovery ServiceDiscovery.swift
[32/40] 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 | }
/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 | }
[33/40] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[34/40] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[35/40] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[36/40] Compiling ServiceDiscovery HostPort.swift
[37/40] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[38/40] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[39/40] 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 | }
[40/40] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
Build complete! (4.93s)
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"
}
✅  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.2
Target:                   ServiceDiscovery
Extracting symbol information for 'ServiceDiscovery'...
Finished extracting symbol information for 'ServiceDiscovery'. (1.70s)
Building documentation for 'ServiceDiscovery'...
Finished building documentation for 'ServiceDiscovery' (0.19s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apple/swift-service-discovery/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-log
Updated https://github.com/apple/swift-log (0.49s)
[1/2133] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-atomics
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.22s)
Updated https://github.com/apple/swift-atomics (0.46s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (2.23s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.52s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3554] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
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-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
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
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit DeclarationFragments.swift
[11/57] Compiling SymbolKit Fragment.swift
[12/57] Compiling SymbolKit FragmentKind.swift
[13/57] Compiling SymbolKit FunctionParameter.swift
[14/57] Compiling SymbolKit FunctionSignature.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Emitting module SymbolKit
[26/57] Compiling SymbolKit Identifier.swift
[27/57] Compiling SymbolKit KindIdentifier.swift
[28/57] Compiling SymbolKit Location.swift
[29/57] Compiling SymbolKit Mutability.swift
[30/57] Compiling SymbolKit Relationship.swift
[31/57] Compiling SymbolKit RelationshipKind.swift
[32/57] Compiling SymbolKit SourceOrigin.swift
[33/57] Compiling SymbolKit GenericConstraints.swift
[34/57] Compiling SymbolKit Swift.swift
[35/57] Compiling SymbolKit Names.swift
[36/57] Compiling SymbolKit SPI.swift
[37/57] Compiling SymbolKit Snippet.swift
[38/57] Compiling SymbolKit Extension.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (2.89s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'ServiceDiscovery' complete! (0.16s)
     368
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: 368
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-apple-swift-service-discovery-main-0d6d42b2.zip to s3://spi-docs-inbox/prod-apple-swift-service-discovery-main-0d6d42b2.zip
Copying... [17%]
Copying... [26%]
Copying... [35%]
Copying... [44%]
Copying... [52%]
Copying... [61%]
Copying... [78%]
Copying... [87%]
Copying... [96%]
Copying... [100%]
Done.