The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of XCTest, reference main (a35676), with Swift 6.0 for Linux on 6 Nov 2024 05:02:40 UTC.

Swift 6 data race errors: 5

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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 a356762 Merge pull request #498 from etcwilde/ewilde/guard-parse-version
Cloned https://github.com/swiftlang/swift-corelibs-xctest.git
Revision (git rev-parse @):
a356762923b1ed2d4dcc8799a934bd87b54204af
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
/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/XCTestExpectation.swift:17:24: warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 | open class XCTestExpectation: @unchecked Sendable {
 16 |
 17 |     private static var currentMonotonicallyIncreasingToken: UInt64 = 0
    |                        |- warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentMonotonicallyIncreasingToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'currentMonotonicallyIncreasingToken' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     private static func queue_nextMonotonicallyIncreasingToken() -> UInt64 {
 19 |         dispatchPrecondition(condition: .onQueue(XCTWaiter.subsystemQueue))
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase+Performance.swift:28:16: warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | //
 13 |
 14 | public struct XCTPerformanceMetric : RawRepresentable, Equatable, Hashable {
    |               `- note: consider making struct 'XCTPerformanceMetric' conform to the 'Sendable' protocol
 15 |     public let rawValue: String
 16 |
    :
 26 | public extension XCTPerformanceMetric {
 27 |     /// Records wall clock time in seconds between `startMeasuring`/`stopMeasuring`.
 28 |     static let wallClockTime = XCTPerformanceMetric(rawValue: WallClockTimeMetric.name)
    |                |- warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'wallClockTime' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | }
 30 |
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestObservationCenter.swift:14:13: warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | //
13 |
14 | private let _sharedCenter: XCTestObservationCenter = XCTestObservationCenter()
   |             |- warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate '_sharedCenter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Provides a registry for objects wishing to be informed about progress
   :
18 | /// `XCTestObservation` protocol
19 | /// - seealso: `XCTestObservation`
20 | public class XCTestObservationCenter {
   |              `- note: class 'XCTestObservationCenter' does not conform to the 'Sendable' protocol
21 |
22 |     private var observers = Set<ObjectWrapper<XCTestObservation>>()
[4/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)
[5/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)
[6/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)
[7/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)
[8/38] Compiling XCTest ArgumentParser.swift
[9/38] Compiling XCTest IgnoredErrors.swift
[10/38] Compiling XCTest ObjectWrapper.swift
[11/38] Compiling XCTest PerformanceMeter.swift
[12/38] Compiling XCTest PrintObserver.swift
/host/spi-builder-workspace/Sources/XCTest/Private/PrintObserver.swift:79:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |         print(message)
78 |         #if !os(Android)
79 |         fflush(stdout)
   |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 |         #endif
81 |     }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
[13/38] Compiling XCTest SourceLocation.swift
/host/spi-builder-workspace/Sources/XCTest/Private/PrintObserver.swift:79:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |         print(message)
78 |         #if !os(Android)
79 |         fflush(stdout)
   |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 |         #endif
81 |     }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
[14/38] Compiling XCTest TestFiltering.swift
/host/spi-builder-workspace/Sources/XCTest/Private/PrintObserver.swift:79:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |         print(message)
78 |         #if !os(Android)
79 |         fflush(stdout)
   |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 |         #endif
81 |     }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
[15/38] Compiling XCTest TestListing.swift
/host/spi-builder-workspace/Sources/XCTest/Private/PrintObserver.swift:79:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |         print(message)
78 |         #if !os(Android)
79 |         fflush(stdout)
   |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 |         #endif
81 |     }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
[16/38] Compiling XCTest XCTestObservationCenter.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestObservationCenter.swift:14:13: warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | //
13 |
14 | private let _sharedCenter: XCTestObservationCenter = XCTestObservationCenter()
   |             |- warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate '_sharedCenter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Provides a registry for objects wishing to be informed about progress
   :
18 | /// `XCTestObservation` protocol
19 | /// - seealso: `XCTestObservation`
20 | public class XCTestObservationCenter {
   |              `- note: class 'XCTestObservationCenter' does not conform to the 'Sendable' protocol
21 |
22 |     private var observers = Set<ObjectWrapper<XCTestObservation>>()
[17/38] Compiling XCTest XCTestRun.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestObservationCenter.swift:14:13: warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | //
13 |
14 | private let _sharedCenter: XCTestObservationCenter = XCTestObservationCenter()
   |             |- warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate '_sharedCenter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Provides a registry for objects wishing to be informed about progress
   :
18 | /// `XCTestObservation` protocol
19 | /// - seealso: `XCTestObservation`
20 | public class XCTestObservationCenter {
   |              `- note: class 'XCTestObservationCenter' does not conform to the 'Sendable' protocol
21 |
22 |     private var observers = Set<ObjectWrapper<XCTestObservation>>()
[18/38] Compiling XCTest XCTestSuite.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestObservationCenter.swift:14:13: warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | //
13 |
14 | private let _sharedCenter: XCTestObservationCenter = XCTestObservationCenter()
   |             |- warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate '_sharedCenter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Provides a registry for objects wishing to be informed about progress
   :
18 | /// `XCTestObservation` protocol
19 | /// - seealso: `XCTestObservation`
20 | public class XCTestObservationCenter {
   |              `- note: class 'XCTestObservationCenter' does not conform to the 'Sendable' protocol
21 |
22 |     private var observers = Set<ObjectWrapper<XCTestObservation>>()
[19/38] Compiling XCTest XCTestSuiteRun.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestObservationCenter.swift:14:13: warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | //
13 |
14 | private let _sharedCenter: XCTestObservationCenter = XCTestObservationCenter()
   |             |- warning: let '_sharedCenter' is not concurrency-safe because non-'Sendable' type 'XCTestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: annotate '_sharedCenter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Provides a registry for objects wishing to be informed about progress
   :
18 | /// `XCTestObservation` protocol
19 | /// - seealso: `XCTestObservation`
20 | public class XCTestObservationCenter {
   |              `- note: class 'XCTestObservationCenter' does not conform to the 'Sendable' protocol
21 |
22 |     private var observers = Set<ObjectWrapper<XCTestObservation>>()
[20/38] Compiling XCTest XCTWaiter.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:46: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:63: warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                                               `- warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:288:30: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
286 |             // Foundation's Thread.detachNewThread(_:).
287 |             Thread.detachNewThread { [self] in
288 |                 let result = wait(for: expectations, timeout: timeout, enforceOrder: enforceOrder, file: file, line: line)
    |                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 continuation.resume(returning: result)
290 |             }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:17: warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                 |- warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:31: warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                               `- warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTestExpectation.swift:17:24: warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 | open class XCTestExpectation: @unchecked Sendable {
 16 |
 17 |     private static var currentMonotonicallyIncreasingToken: UInt64 = 0
    |                        |- warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentMonotonicallyIncreasingToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'currentMonotonicallyIncreasingToken' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     private static func queue_nextMonotonicallyIncreasingToken() -> UInt64 {
 19 |         dispatchPrecondition(condition: .onQueue(XCTWaiter.subsystemQueue))
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
[21/38] Compiling XCTest XCTestCase+Asynchronous.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:46: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:63: warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                                               `- warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:288:30: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
286 |             // Foundation's Thread.detachNewThread(_:).
287 |             Thread.detachNewThread { [self] in
288 |                 let result = wait(for: expectations, timeout: timeout, enforceOrder: enforceOrder, file: file, line: line)
    |                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 continuation.resume(returning: result)
290 |             }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:17: warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                 |- warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:31: warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                               `- warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTestExpectation.swift:17:24: warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 | open class XCTestExpectation: @unchecked Sendable {
 16 |
 17 |     private static var currentMonotonicallyIncreasingToken: UInt64 = 0
    |                        |- warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentMonotonicallyIncreasingToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'currentMonotonicallyIncreasingToken' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     private static func queue_nextMonotonicallyIncreasingToken() -> UInt64 {
 19 |         dispatchPrecondition(condition: .onQueue(XCTWaiter.subsystemQueue))
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
[22/38] Compiling XCTest XCTestExpectation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:46: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:63: warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                                               `- warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:288:30: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
286 |             // Foundation's Thread.detachNewThread(_:).
287 |             Thread.detachNewThread { [self] in
288 |                 let result = wait(for: expectations, timeout: timeout, enforceOrder: enforceOrder, file: file, line: line)
    |                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 continuation.resume(returning: result)
290 |             }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:17: warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                 |- warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:31: warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                               `- warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTestExpectation.swift:17:24: warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 | open class XCTestExpectation: @unchecked Sendable {
 16 |
 17 |     private static var currentMonotonicallyIncreasingToken: UInt64 = 0
    |                        |- warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentMonotonicallyIncreasingToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'currentMonotonicallyIncreasingToken' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     private static func queue_nextMonotonicallyIncreasingToken() -> UInt64 {
 19 |         dispatchPrecondition(condition: .onQueue(XCTWaiter.subsystemQueue))
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
[23/38] Compiling XCTest XCAbstractTest.swift
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:46: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:136:63: warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
134 |         set {
135 |             dispatchPrecondition(condition: .notOnQueue(XCTWaiter.subsystemQueue))
136 |             XCTWaiter.subsystemQueue.async { self._delegate = newValue }
    |                                                               `- warning: capture of 'newValue' with non-sendable type '(any XCTWaiterDelegate)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |         }
138 |     }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:288:30: warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 | /// support libraries to provide convenience methods for waiting without having to pass test cases through
 74 | /// those APIs.
 75 | open class XCTWaiter {
    |            `- note: class 'XCTWaiter' does not conform to the 'Sendable' protocol
 76 |
 77 |     /// Values returned by a waiter when it completes, times out, or is interrupted due to another waiter
    :
286 |             // Foundation's Thread.detachNewThread(_:).
287 |             Thread.detachNewThread { [self] in
288 |                 let result = wait(for: expectations, timeout: timeout, enforceOrder: enforceOrder, file: file, line: line)
    |                              `- warning: capture of 'self' with non-sendable type 'XCTWaiter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 continuation.resume(returning: result)
290 |             }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:17: warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                 |- warning: capture of 'delegateBlock' with non-sendable type '(any XCTWaiterDelegate) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:403:31: warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///
 21 | /// - Note: These methods are invoked on an arbitrary queue.
 22 | public protocol XCTWaiterDelegate: AnyObject {
    |                 `- note: protocol 'XCTWaiterDelegate' does not conform to the 'Sendable' protocol
 23 |
 24 |     /// Invoked when not all waited on expectations are fulfilled during the timeout period. If the delegate
    :
401 |         if let delegateBlock = delegateBlock, let delegate = _delegate {
402 |             delegateQueue.async {
403 |                 delegateBlock(delegate)
    |                               `- warning: capture of 'delegate' with non-sendable type 'any XCTWaiterDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
404 |             }
405 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift:19:16: warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     /// Represents an "unknown" source location, with default values, which may be used as a fallback
18 |     /// when a real source location may not be known.
19 |     static var unknown: SourceLocation = {
   |                |- warning: static property 'unknown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |         return SourceLocation(file: "<unknown>", line: 0)
21 |     }()
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTestExpectation.swift:17:24: warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 | open class XCTestExpectation: @unchecked Sendable {
 16 |
 17 |     private static var currentMonotonicallyIncreasingToken: UInt64 = 0
    |                        |- warning: static property 'currentMonotonicallyIncreasingToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentMonotonicallyIncreasingToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'currentMonotonicallyIncreasingToken' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     private static func queue_nextMonotonicallyIncreasingToken() -> UInt64 {
 19 |         dispatchPrecondition(condition: .onQueue(XCTWaiter.subsystemQueue))
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
[24/38] Compiling XCTest XCTAssert.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase+Performance.swift:28:16: warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | //
 13 |
 14 | public struct XCTPerformanceMetric : RawRepresentable, Equatable, Hashable {
    |               `- note: consider making struct 'XCTPerformanceMetric' conform to the 'Sendable' protocol
 15 |     public let rawValue: String
 16 |
    :
 26 | public extension XCTPerformanceMetric {
 27 |     /// Records wall clock time in seconds between `startMeasuring`/`stopMeasuring`.
 28 |     static let wallClockTime = XCTPerformanceMetric(rawValue: WallClockTimeMetric.name)
    |                |- warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'wallClockTime' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | }
 30 |
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:476:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
474 |     let thrownErrorWrapper = ThrownErrorWrapper()
475 |
476 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
477 |         defer { expectation.fulfill() }
478 |
479 |         do {
480 |             try await closure()
    |                       `- note: closure captures 'closure' which is accessible to code in the current task
481 |         } catch {
482 |             thrownErrorWrapper.error = error
[25/38] Compiling XCTest XCTSkip.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase+Performance.swift:28:16: warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | //
 13 |
 14 | public struct XCTPerformanceMetric : RawRepresentable, Equatable, Hashable {
    |               `- note: consider making struct 'XCTPerformanceMetric' conform to the 'Sendable' protocol
 15 |     public let rawValue: String
 16 |
    :
 26 | public extension XCTPerformanceMetric {
 27 |     /// Records wall clock time in seconds between `startMeasuring`/`stopMeasuring`.
 28 |     static let wallClockTime = XCTPerformanceMetric(rawValue: WallClockTimeMetric.name)
    |                |- warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'wallClockTime' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | }
 30 |
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:476:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
474 |     let thrownErrorWrapper = ThrownErrorWrapper()
475 |
476 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
477 |         defer { expectation.fulfill() }
478 |
479 |         do {
480 |             try await closure()
    |                       `- note: closure captures 'closure' which is accessible to code in the current task
481 |         } catch {
482 |             thrownErrorWrapper.error = error
[26/38] Compiling XCTest XCTestCase+Performance.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase+Performance.swift:28:16: warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | //
 13 |
 14 | public struct XCTPerformanceMetric : RawRepresentable, Equatable, Hashable {
    |               `- note: consider making struct 'XCTPerformanceMetric' conform to the 'Sendable' protocol
 15 |     public let rawValue: String
 16 |
    :
 26 | public extension XCTPerformanceMetric {
 27 |     /// Records wall clock time in seconds between `startMeasuring`/`stopMeasuring`.
 28 |     static let wallClockTime = XCTPerformanceMetric(rawValue: WallClockTimeMetric.name)
    |                |- warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'wallClockTime' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | }
 30 |
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:476:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
474 |     let thrownErrorWrapper = ThrownErrorWrapper()
475 |
476 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
477 |         defer { expectation.fulfill() }
478 |
479 |         do {
480 |             try await closure()
    |                       `- note: closure captures 'closure' which is accessible to code in the current task
481 |         } catch {
482 |             thrownErrorWrapper.error = error
[27/38] Compiling XCTest XCTestCase.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:28:14: warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | // A global pointer to the currently running test case. This is required in
 27 | // order for XCTAssert functions to report failures.
 28 | internal var XCTCurrentTestCase: XCTestCase?
    |              |- warning: var 'XCTCurrentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'XCTCurrentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'XCTCurrentTestCase' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 | /// An instance of this class represents an individual test case which can be
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase+Performance.swift:28:16: warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | //
 13 |
 14 | public struct XCTPerformanceMetric : RawRepresentable, Equatable, Hashable {
    |               `- note: consider making struct 'XCTPerformanceMetric' conform to the 'Sendable' protocol
 15 |     public let rawValue: String
 16 |
    :
 26 | public extension XCTPerformanceMetric {
 27 |     /// Records wall clock time in seconds between `startMeasuring`/`stopMeasuring`.
 28 |     static let wallClockTime = XCTPerformanceMetric(rawValue: WallClockTimeMetric.name)
    |                |- warning: static property 'wallClockTime' is not concurrency-safe because non-'Sendable' type 'XCTPerformanceMetric' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'wallClockTime' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | }
 30 |
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:476:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
474 |     let thrownErrorWrapper = ThrownErrorWrapper()
475 |
476 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
477 |         defer { expectation.fulfill() }
478 |
479 |         do {
480 |             try await closure()
    |                       `- note: closure captures 'closure' which is accessible to code in the current task
481 |         } catch {
482 |             thrownErrorWrapper.error = error
[28/38] Compiling XCTest WaiterManager.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:17: warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                 `- warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:45: warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                                             `- warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
[29/38] Compiling XCTest WallClockTimeMetric.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:17: warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                 `- warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:45: warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                                             `- warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
[30/38] Compiling XCTest XCTestCase.TearDownBlocksState.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:17: warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                 `- warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:45: warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                                             `- warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
[31/38] Compiling XCTest XCTestCaseSuite.swift
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:17: warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                 `- warning: capture of 'waiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:92:45: warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | /// It facilitates "nested" waiters, allowing an outer waiter to interrupt inner waiters if it times
 29 | /// out.
 30 | internal final class WaiterManager<WaiterType: ManageableWaiter> : NSObject {
    |                                    `- note: consider making generic parameter 'WaiterType' conform to the 'Sendable' protocol
 31 |
 32 |     /// The current thread's waiter manager. This is the only supported way to access an instance of
    :
 90 |         if let alreadyFinishedOuterWaiter = alreadyFinishedOuterWaiter {
 91 |             XCTWaiter.subsystemQueue.async {
 92 |                 waiter.queue_interrupt(for: alreadyFinishedOuterWaiter)
    |                                             `- warning: capture of 'alreadyFinishedOuterWaiter' with non-sendable type 'WaiterType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 93 |             }
 94 |         }
[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! (11.31s)
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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.