The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-service-discovery, reference main (80f5b3), with Swift 5.10 for macOS (SPM) on 14 Apr 2025 15:28:09 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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:             5.10
Building package at path:  $PWD
https://github.com/apple/swift-service-discovery.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-33747A42983211AE.txt
[4/10] Compiling _AtomicsShims.c
[6/29] Compiling Logging MetadataProvider.swift
[7/29] Compiling Logging LogHandler.swift
[8/29] Compiling Logging Locks.swift
[9/29] Compiling Logging Logging.swift
[10/29] Emitting module Logging
[11/29] Compiling Atomics Primitives.shims.swift
[12/29] Compiling Atomics AtomicInteger.swift
[13/31] Compiling Atomics AtomicStorage.swift
[14/31] Compiling Atomics AtomicValue.swift
[15/31] Compiling Atomics ManagedAtomic.swift
[16/31] Compiling Atomics ManagedAtomicLazyReference.swift
[17/31] Compiling Atomics UnsafeAtomic.swift
[18/31] Compiling Atomics UnsafeAtomicLazyReference.swift
[19/31] Compiling Atomics AtomicMemoryOrderings.swift
[20/31] Compiling Atomics DoubleWord.swift
[21/31] Compiling Atomics IntegerOperations.swift
[22/31] Compiling Atomics Unmanaged extensions.swift
[23/31] Compiling Atomics OptionalRawRepresentable.swift
[24/31] Compiling Atomics RawRepresentable.swift
[25/31] Compiling Atomics PointerConformances.swift
[26/31] Compiling Atomics Primitives.native.swift
[27/31] Compiling Atomics AtomicBool.swift
[28/31] Compiling Atomics IntegerConformances.swift
[29/31] Compiling Atomics AtomicOptionalWrappable.swift
[30/31] Compiling Atomics AtomicReference.swift
[31/31] Emitting module Atomics
[32/41] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:21:14: warning: non-final class 'ServiceDiscoveryBox' cannot conform to 'Sendable'; use '@unchecked Sendable'
public class ServiceDiscoveryBox<Service: Hashable & Sendable, Instance: Hashable & Sendable>: ServiceDiscovery {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: type 'AnyServiceDiscovery.Instance' (aka 'AnyHashable') does not conform to the 'Sendable' protocol
public final class AnyServiceDiscovery: ServiceDiscovery {
                   ^
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
@frozen public struct AnyHashable {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: type 'AnyServiceDiscovery.Service' (aka 'AnyHashable') does not conform to the 'Sendable' protocol
public final class AnyServiceDiscovery: ServiceDiscovery {
                   ^
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
@frozen public struct AnyHashable {
                      ^
[33/41] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[34/41] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[35/41] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[36/41] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[37/41] Compiling ServiceDiscovery ServiceDiscovery.swift
[38/41] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[39/41] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[40/41] Compiling ServiceDiscovery HostPort.swift
[41/41] Emitting module ServiceDiscovery
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:21:14: warning: non-final class 'ServiceDiscoveryBox' cannot conform to 'Sendable'; use '@unchecked Sendable'
public class ServiceDiscoveryBox<Service: Hashable & Sendable, Instance: Hashable & Sendable>: ServiceDiscovery {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: type 'AnyServiceDiscovery.Instance' (aka 'AnyHashable') does not conform to the 'Sendable' protocol
public final class AnyServiceDiscovery: ServiceDiscovery {
                   ^
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
@frozen public struct AnyHashable {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: type 'AnyServiceDiscovery.Service' (aka 'AnyHashable') does not conform to the 'Sendable' protocol
public final class AnyServiceDiscovery: ServiceDiscovery {
                   ^
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
@frozen public struct AnyHashable {
                      ^
Build complete! (8.92s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
[1/1705] Fetching swift-atomics
[377/5537] Fetching swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics from cache (1.62s)
Fetched https://github.com/apple/swift-log from cache (1.62s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.36s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.35s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.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" : "5.9"
}
Done.