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 (68c4e0), with Swift 6.1 for Linux on 30 Jul 2025 11:53:26 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-service-discovery.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 68c4e02 Enable release mode builds (#65)
Cloned https://github.com/apple/swift-service-discovery.git
Revision (git rev-parse @):
68c4e02b609a7903f06570c98816fb7577a779bd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-service-discovery.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-service-discovery.git
https://github.com/apple/swift-service-discovery.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
[1/3880] Fetching swift-log
[2/5688] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (0.88s)
Fetched https://github.com/apple/swift-log from cache (0.88s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.42s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.52s)
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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Building for debugging...
[0/5] Write sources
[3/5] Compiling _AtomicsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/28] Emitting module Atomics
[7/30] Compiling Atomics IntegerOperations.swift
[8/30] Compiling Atomics Unmanaged extensions.swift
[9/30] Compiling Atomics AtomicMemoryOrderings.swift
[10/30] Compiling Atomics DoubleWord.swift
[11/30] Compiling Atomics ManagedAtomic.swift
[12/30] Compiling Atomics ManagedAtomicLazyReference.swift
[13/30] Compiling Atomics UnsafeAtomic.swift
[14/30] Compiling Atomics UnsafeAtomicLazyReference.swift
[15/30] Compiling Atomics AtomicInteger.swift
[16/30] Compiling Atomics AtomicOptionalWrappable.swift
[17/30] Compiling Atomics AtomicReference.swift
[18/30] Compiling Atomics IntegerConformances.swift
[19/30] Compiling Atomics PointerConformances.swift
[20/30] Compiling Atomics Primitives.native.swift
[21/30] Compiling Atomics OptionalRawRepresentable.swift
[22/30] Compiling Atomics RawRepresentable.swift
[23/30] Compiling Atomics AtomicBool.swift
[24/30] Compiling Atomics AtomicStorage.swift
[25/30] Compiling Atomics AtomicValue.swift
[27/31] Compiling Logging MetadataProvider.swift
[28/31] Compiling Logging Locks.swift
[29/31] Emitting module Logging
[30/31] Compiling Logging Logging.swift
[31/31] Compiling Logging LogHandler.swift
[33/41] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[34/42] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[35/42] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[36/42] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
/host/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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 | }
/host/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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 | }
[37/42] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[38/42] Compiling ServiceDiscovery ServiceDiscovery.swift
[39/42] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[40/42] Compiling ServiceDiscovery HostPort.swift
[41/42] Emitting module ServiceDiscovery
/host/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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 | }
/host/spi-builder-workspace/Sources/ServiceDiscovery/ServiceDiscovery+TypeErased.swift:81:20: warning: conformance of 'AnyHashable' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 79 |
 80 | /// Type-erased wrapper for ``ServiceDiscovery/ServiceDiscovery`` instance.
 81 | 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')
 82 |     public typealias Service = AnyHashable
 83 |     public typealias Instance = 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 | }
[42/42] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
Build complete! (16.36s)
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-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.