Build Information
Successful build of XCTest, reference main (5c7856
), with Swift 6.2 (beta) for Linux on 23 Jun 2025 08:50:20 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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 5c7856d Merge pull request #509 from compnerd/nesting
Cloned https://github.com/swiftlang/swift-corelibs-xctest.git
Revision (git rev-parse @):
5c7856dad282af5da0bd0bb26556aa74272f7bda
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-xctest.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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 XCTestObservationCenter.swift
[5/38] Compiling XCTest XCTestRun.swift
[6/38] Compiling XCTest XCTestSuite.swift
[7/38] Compiling XCTest XCTestSuiteRun.swift
[8/38] Compiling XCTest PrintObserver.swift
[9/38] Compiling XCTest SourceLocation.swift
[10/38] Compiling XCTest TestFiltering.swift
[11/38] Compiling XCTest TestListing.swift
[12/38] Compiling XCTest ArgumentParser.swift
[13/38] Compiling XCTest IgnoredErrors.swift
[14/38] Compiling XCTest ObjectWrapper.swift
[15/38] Compiling XCTest PerformanceMeter.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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[20/38] Compiling XCTest XCTWaiter.swift
[21/38] Compiling XCTest XCTestCase+Asynchronous.swift
[22/38] Compiling XCTest XCTestExpectation.swift
[23/38] Compiling XCTest XCAbstractTest.swift
[24/38] Compiling XCTest WaiterManager.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:24: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
90 | if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
91 | XCTWaiter.subsystemQueue.async {
92 | waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | }
94 | }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:63:26: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func startManaging(_ waiter: WaiterType, timeout: TimeInterval) {
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | guard let thread = thread else { fatalError("\(self) no longer belongs to a thread") }
65 | precondition(thread === Thread.current, "\(#function) called on wrong thread, must be called on \(thread)")
[25/38] Compiling XCTest WallClockTimeMetric.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:24: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
90 | if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
91 | XCTWaiter.subsystemQueue.async {
92 | waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | }
94 | }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:63:26: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func startManaging(_ waiter: WaiterType, timeout: TimeInterval) {
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | guard let thread = thread else { fatalError("\(self) no longer belongs to a thread") }
65 | precondition(thread === Thread.current, "\(#function) called on wrong thread, must be called on \(thread)")
[26/38] Compiling XCTest XCTestCase.TearDownBlocksState.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:24: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
90 | if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
91 | XCTWaiter.subsystemQueue.async {
92 | waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | }
94 | }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:63:26: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func startManaging(_ waiter: WaiterType, timeout: TimeInterval) {
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | guard let thread = thread else { fatalError("\(self) no longer belongs to a thread") }
65 | precondition(thread === Thread.current, "\(#function) called on wrong thread, must be called on \(thread)")
[27/38] Compiling XCTest XCTestCaseSuite.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:24: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
90 | if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
91 | XCTWaiter.subsystemQueue.async {
92 | waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | }
94 | }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:63:26: warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func startManaging(_ waiter: WaiterType, timeout: TimeInterval) {
| `- warning: capture of non-Sendable type 'WaiterType.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | guard let thread = thread else { fatalError("\(self) no longer belongs to a thread") }
65 | precondition(thread === Thread.current, "\(#function) called on wrong thread, must be called on \(thread)")
[28/38] Compiling XCTest XCTAssert.swift
[29/38] Compiling XCTest XCTSkip.swift
[30/38] Compiling XCTest XCTestCase+Performance.swift
[31/38] Compiling XCTest XCTestCase.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.02s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.