Build Information
Successful build of swift-service-discovery, reference main (80f5b3
), with Swift 5.9 for Linux on 14 Apr 2025 15:27:12 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: 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 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: 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:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
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/3832] Fetching swift-log
[921/5537] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-atomics (0.35s)
Fetched https://github.com/apple/swift-log (0.35s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.30s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.30s)
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
Building for debugging...
[0/1] Compiling _AtomicsShims.c
[2/25] Compiling Atomics ManagedAtomic.swift
[3/25] Compiling Atomics ManagedAtomicLazyReference.swift
[4/27] Compiling Atomics OptionalRawRepresentable.swift
[5/27] Compiling Atomics RawRepresentable.swift
[6/27] Compiling Atomics AtomicBool.swift
[7/27] Emitting module Atomics
[8/27] Compiling Atomics IntegerOperations.swift
[9/27] Compiling Atomics Unmanaged extensions.swift
[10/27] Compiling Atomics UnsafeAtomic.swift
[11/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[12/27] Compiling Atomics Primitives.shims.swift
[13/27] Compiling Atomics AtomicInteger.swift
[14/27] Compiling Atomics AtomicOptionalWrappable.swift
[15/27] Compiling Atomics IntegerConformances.swift
[16/27] Compiling Atomics PointerConformances.swift
[17/27] Compiling Atomics Primitives.native.swift
[18/27] Compiling Atomics AtomicReference.swift
[19/27] Compiling Atomics AtomicStorage.swift
[20/27] Compiling Atomics AtomicValue.swift
[21/27] Compiling Atomics AtomicMemoryOrderings.swift
[22/27] Compiling Atomics DoubleWord.swift
[25/29] Compiling Logging Locks.swift
[26/29] Emitting module Logging
[27/29] Compiling Logging MetadataProvider.swift
[28/29] Compiling Logging LogHandler.swift
[29/29] Compiling Logging Logging.swift
[32/40] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[33/40] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.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.swift
[37/41] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[38/41] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[39/41] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[40/41] Compiling ServiceDiscovery HostPort.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! (7.94s)
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:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.