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.9 for Linux on 10 Mar 2025 14:12:36 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $PWD
https://github.com/apple/swift-service-discovery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
[1/3774] Fetching swift-log
[2266/5479] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-log (0.36s)
Fetched https://github.com/apple/swift-atomics (0.36s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.34s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.29s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Building for debugging...
[0/1] Compiling _AtomicsShims.c
[2/25] Emitting module Atomics
[3/25] Compiling Atomics UnsafeAtomic.swift
[4/25] Compiling Atomics UnsafeAtomicLazyReference.swift
[5/27] Compiling Atomics ManagedAtomic.swift
[6/27] Compiling Atomics ManagedAtomicLazyReference.swift
[7/27] Compiling Atomics Primitives.shims.swift
[8/27] Compiling Atomics AtomicInteger.swift
[9/27] Compiling Atomics AtomicOptionalWrappable.swift
[10/27] Compiling Atomics AtomicReference.swift
[11/27] Compiling Atomics AtomicStorage.swift
[12/27] Compiling Atomics AtomicValue.swift
[13/27] Compiling Atomics AtomicMemoryOrderings.swift
[14/27] Compiling Atomics DoubleWord.swift
[15/27] Compiling Atomics IntegerOperations.swift
[16/27] Compiling Atomics Unmanaged extensions.swift
[17/27] Compiling Atomics IntegerConformances.swift
[18/27] Compiling Atomics PointerConformances.swift
[19/27] Compiling Atomics Primitives.native.swift
[20/27] Compiling Atomics OptionalRawRepresentable.swift
[21/27] Compiling Atomics RawRepresentable.swift
[22/27] Compiling Atomics AtomicBool.swift
[25/29] Compiling Logging MetadataProvider.swift
[26/29] Compiling Logging Locks.swift
[27/29] Emitting module Logging
[28/29] Compiling Logging LogHandler.swift
[29/29] Compiling Logging Logging.swift
[32/40] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[33/40] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[34/41] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[35/41] 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 {
                      ^
[36/41] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[37/41] Compiling ServiceDiscovery ServiceDiscovery.swift
[38/41] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[39/41] Compiling ServiceDiscovery HostPort.swift
[40/41] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[41/41] 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! (8.95s)
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.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.