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 XCTest, reference main (f0cbdd), with Swift 6.0 for Linux on 6 Sep 2025 16:57:08 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-corelibs-xctest.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/swiftlang/swift-corelibs-xctest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f0cbdd7 Add a CODEOWNERS file (#513)
Cloned https://github.com/swiftlang/swift-corelibs-xctest.git
Revision (git rev-parse @):
f0cbdd72590ee29c91a421efe5279860dc6e6b6d
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-xctest.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swiftlang/swift-corelibs-xctest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/34] Emitting module XCTest
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift:16:12: warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by a Foundation Notification instance.
 16 | open class XCTNSNotificationExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked when a notification specified by the expectation is observed.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:16:12: warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by an NSPredicate and an optional object.
 16 | open class XCTNSPredicateExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked whenever evaluating the predicate against the object returns true.
[4/38] Compiling XCTest ArgumentParser.swift
[5/38] Compiling XCTest IgnoredErrors.swift
[6/38] Compiling XCTest ObjectWrapper.swift
[7/38] Compiling XCTest PerformanceMeter.swift
[8/38] Compiling XCTest XCTWaiter.swift
[9/38] Compiling XCTest XCTestCase+Asynchronous.swift
[10/38] Compiling XCTest XCTestExpectation.swift
[11/38] Compiling XCTest XCAbstractTest.swift
[12/38] Compiling XCTest XCTestObservationCenter.swift
[13/38] Compiling XCTest XCTestRun.swift
[14/38] Compiling XCTest XCTestSuite.swift
[15/38] Compiling XCTest XCTestSuiteRun.swift
[16/38] Compiling XCTest XCTestInternalObservation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift:16:12: warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by a Foundation Notification instance.
 16 | open class XCTNSNotificationExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked when a notification specified by the expectation is observed.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:16:12: warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by an NSPredicate and an optional object.
 16 | open class XCTNSPredicateExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked whenever evaluating the predicate against the object returns true.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:102:26: warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |         runLoop.add(timer, forMode: .default)
101 |         queue.async {
102 |             self.timer = timer
    |                          `- warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |         }
104 |     }
Foundation.Timer:1:12: note: class 'Timer' does not conform to the 'Sendable' protocol
 1 | open class Timer : NSObject {
   |            `- note: class 'Timer' does not conform to the 'Sendable' protocol
 2 |     public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
 3 |     public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
[17/38] Compiling XCTest XCTNSNotificationExpectation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift:16:12: warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by a Foundation Notification instance.
 16 | open class XCTNSNotificationExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked when a notification specified by the expectation is observed.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:16:12: warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by an NSPredicate and an optional object.
 16 | open class XCTNSPredicateExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked whenever evaluating the predicate against the object returns true.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:102:26: warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |         runLoop.add(timer, forMode: .default)
101 |         queue.async {
102 |             self.timer = timer
    |                          `- warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |         }
104 |     }
Foundation.Timer:1:12: note: class 'Timer' does not conform to the 'Sendable' protocol
 1 | open class Timer : NSObject {
   |            `- note: class 'Timer' does not conform to the 'Sendable' protocol
 2 |     public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
 3 |     public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
[18/38] Compiling XCTest XCTNSPredicateExpectation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift:16:12: warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by a Foundation Notification instance.
 16 | open class XCTNSNotificationExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked when a notification specified by the expectation is observed.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:16:12: warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by an NSPredicate and an optional object.
 16 | open class XCTNSPredicateExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked whenever evaluating the predicate against the object returns true.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:102:26: warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |         runLoop.add(timer, forMode: .default)
101 |         queue.async {
102 |             self.timer = timer
    |                          `- warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |         }
104 |     }
Foundation.Timer:1:12: note: class 'Timer' does not conform to the 'Sendable' protocol
 1 | open class Timer : NSObject {
   |            `- note: class 'Timer' does not conform to the 'Sendable' protocol
 2 |     public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
 3 |     public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
[19/38] Compiling XCTest XCTWaiter+Validation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift:16:12: warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by a Foundation Notification instance.
 16 | open class XCTNSNotificationExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked when a notification specified by the expectation is observed.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:16:12: warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by an NSPredicate and an optional object.
 16 | open class XCTNSPredicateExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked whenever evaluating the predicate against the object returns true.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:102:26: warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |         runLoop.add(timer, forMode: .default)
101 |         queue.async {
102 |             self.timer = timer
    |                          `- warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |         }
104 |     }
Foundation.Timer:1:12: note: class 'Timer' does not conform to the 'Sendable' protocol
 1 | open class Timer : NSObject {
   |            `- note: class 'Timer' does not conform to the 'Sendable' protocol
 2 |     public init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
 3 |     public convenience init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
[20/38] Compiling XCTest WaiterManager.swift
[21/38] Compiling XCTest WallClockTimeMetric.swift
[22/38] Compiling XCTest XCTestCase.TearDownBlocksState.swift
[23/38] Compiling XCTest XCTestCaseSuite.swift
[24/38] Compiling XCTest XCTAssert.swift
[25/38] Compiling XCTest XCTSkip.swift
[26/38] Compiling XCTest XCTestCase+Performance.swift
[27/38] Compiling XCTest XCTestCase.swift
[28/38] Compiling XCTest PrintObserver.swift
[29/38] Compiling XCTest SourceLocation.swift
[30/38] Compiling XCTest TestFiltering.swift
[31/38] Compiling XCTest TestListing.swift
[32/38] Compiling XCTest XCTestCaseRun.swift
[33/38] Compiling XCTest XCTestErrors.swift
[34/38] Compiling XCTest XCTestMain.swift
[35/38] Compiling XCTest XCTestObservation.swift
[36/39] Wrapping AST for XCTest for debugging
[37/39] Write Objects.LinkFileList
[38/39] Linking libXCTest.so
Build complete! (13.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCTest",
  "name" : "XCTest",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCTest",
      "targets" : [
        "XCTest"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTest",
      "module_type" : "SwiftTarget",
      "name" : "XCTest",
      "path" : "Sources",
      "product_memberships" : [
        "XCTest"
      ],
      "sources" : [
        "XCTest/Private/ArgumentParser.swift",
        "XCTest/Private/IgnoredErrors.swift",
        "XCTest/Private/ObjectWrapper.swift",
        "XCTest/Private/PerformanceMeter.swift",
        "XCTest/Private/PrintObserver.swift",
        "XCTest/Private/SourceLocation.swift",
        "XCTest/Private/TestFiltering.swift",
        "XCTest/Private/TestListing.swift",
        "XCTest/Private/WaiterManager.swift",
        "XCTest/Private/WallClockTimeMetric.swift",
        "XCTest/Private/XCTestCase.TearDownBlocksState.swift",
        "XCTest/Private/XCTestCaseSuite.swift",
        "XCTest/Private/XCTestInternalObservation.swift",
        "XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift",
        "XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift",
        "XCTest/Public/Asynchronous/XCTWaiter+Validation.swift",
        "XCTest/Public/Asynchronous/XCTWaiter.swift",
        "XCTest/Public/Asynchronous/XCTestCase+Asynchronous.swift",
        "XCTest/Public/Asynchronous/XCTestExpectation.swift",
        "XCTest/Public/XCAbstractTest.swift",
        "XCTest/Public/XCTAssert.swift",
        "XCTest/Public/XCTSkip.swift",
        "XCTest/Public/XCTestCase+Performance.swift",
        "XCTest/Public/XCTestCase.swift",
        "XCTest/Public/XCTestCaseRun.swift",
        "XCTest/Public/XCTestErrors.swift",
        "XCTest/Public/XCTestMain.swift",
        "XCTest/Public/XCTestObservation.swift",
        "XCTest/Public/XCTestObservationCenter.swift",
        "XCTest/Public/XCTestRun.swift",
        "XCTest/Public/XCTestSuite.swift",
        "XCTest/Public/XCTestSuiteRun.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.