Build Information
Successful build of swift-service-discovery, reference 1.4.0 (36c1ab
), with Swift 6.1 for Linux on 30 Apr 2025 21:09:15 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.61.2
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: 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-4606859-3":/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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
[1/3836] Fetching swift-log
[2303/5541] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (0.92s)
Fetched https://github.com/apple/swift-log from cache (0.92s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (2.03s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.02s)
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.3
Building for debugging...
[0/5] Write sources
[3/5] Compiling _AtomicsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/29] Compiling Atomics UnsafeAtomic.swift
[7/29] Compiling Atomics UnsafeAtomicLazyReference.swift
[8/31] Compiling Atomics AtomicMemoryOrderings.swift
[9/31] Compiling Atomics DoubleWord.swift
[10/31] Compiling Atomics AtomicReference.swift
[11/31] Compiling Atomics AtomicStorage.swift
[12/31] Compiling Atomics AtomicValue.swift
[13/31] Compiling Atomics ManagedAtomic.swift
[14/31] Compiling Atomics ManagedAtomicLazyReference.swift
[15/31] Compiling Atomics Primitives.shims.swift
[16/31] Compiling Atomics AtomicInteger.swift
[17/31] Compiling Atomics AtomicOptionalWrappable.swift
[18/31] Compiling Atomics OptionalRawRepresentable.swift
[19/31] Compiling Atomics RawRepresentable.swift
[20/31] Compiling Atomics AtomicBool.swift
[21/31] Emitting module Atomics
[22/31] Compiling Atomics IntegerConformances.swift
[23/31] Compiling Atomics PointerConformances.swift
[24/31] Compiling Atomics Primitives.native.swift
[25/31] Compiling Atomics IntegerOperations.swift
[26/31] Compiling Atomics Unmanaged extensions.swift
[28/32] Compiling Logging MetadataProvider.swift
[29/32] Compiling Logging LogHandler.swift
[30/32] Compiling Logging Logging.swift
[31/32] Emitting module Logging
[32/32] Compiling Logging Locks.swift
[34/42] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[35/43] 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 | }
[36/43] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[37/43] Compiling ServiceDiscovery ServiceDiscovery.swift
[38/43] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[39/43] 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 | }
[40/43] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[41/43] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[42/43] Compiling ServiceDiscovery HostPort.swift
[43/43] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
Build complete! (26.30s)
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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.