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 1.4.0 (36c1ab), with Swift 5.10 for Linux on 10 Mar 2025 14:12:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-service-discovery.git
Reference: 1.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/apple/swift-service-discovery
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 36c1ab6 Update release.yml (#61)
Cloned https://github.com/apple/swift-service-discovery.git
Revision (git rev-parse @):
36c1ab6158b8b5820e6f23ce069684b158b09352
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-service-discovery.git at 1.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/apple/swift-service-discovery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
[1/3774] Fetching swift-log
[983/5479] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (0.38s)
Fetched https://github.com/apple/swift-log from cache (0.38s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.38s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.35s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
Building for debugging...
[0/5] Write sources
[3/5] Compiling _AtomicsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/29] Compiling Atomics OptionalRawRepresentable.swift
[7/29] Compiling Atomics RawRepresentable.swift
[8/29] Compiling Atomics AtomicBool.swift
[9/31] Compiling Atomics UnsafeAtomic.swift
[10/31] Compiling Atomics UnsafeAtomicLazyReference.swift
[11/31] Emitting module Atomics
[12/31] Compiling Atomics IntegerOperations.swift
[13/31] Compiling Atomics Unmanaged extensions.swift
[14/31] Compiling Atomics AtomicReference.swift
[15/31] Compiling Atomics AtomicStorage.swift
[16/31] Compiling Atomics AtomicValue.swift
[17/31] Compiling Atomics ManagedAtomic.swift
[18/31] Compiling Atomics ManagedAtomicLazyReference.swift
[19/31] Compiling Atomics IntegerConformances.swift
[20/31] Compiling Atomics PointerConformances.swift
[21/31] Compiling Atomics Primitives.native.swift
[22/31] Compiling Atomics AtomicMemoryOrderings.swift
[23/31] Compiling Atomics DoubleWord.swift
[24/31] Compiling Atomics Primitives.shims.swift
[25/31] Compiling Atomics AtomicInteger.swift
[26/31] Compiling Atomics AtomicOptionalWrappable.swift
[28/32] Compiling Logging MetadataProvider.swift
[29/32] Compiling Logging Locks.swift
[30/32] Compiling Logging LogHandler.swift
[31/32] Emitting module Logging
[32/32] Compiling Logging Logging.swift
[34/42] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[35/42] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[36/43] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
/host/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 {
             ^
/host/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 {
                      ^
/host/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 {
                      ^
[37/43] Compiling ServiceDiscovery ServiceDiscovery.swift
[38/43] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[39/43] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[40/43] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[41/43] Compiling ServiceDiscovery HostPort.swift
[42/43] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[43/43] Emitting module ServiceDiscovery
/host/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 {
             ^
/host/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 {
                      ^
/host/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! (10.21s)
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" : "/host/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"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.