This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 XCTestStarterKit with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CypherPoet/XCTestStarterKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/XCTestStarterKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2d9557c Rename LICENSE to LICENSE.md
Cloned https://github.com/CypherPoet/XCTestStarterKit.git
Revision (git rev-parse @):
2d9557c37ba61542c638bbc87dbbc814e0d5ffe4
SUCCESS checkout https://github.com/CypherPoet/XCTestStarterKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CypherPoet/XCTestStarterKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Compiling XCTestStarterKit XCTestCase+AwaitCompletionOfPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTestStarterKit/Extensions/XCTestCase/XCTestCase+AwaitCompletionOfPublisher.swift:36:9: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | extension XCTestCase {
11 |
12 |     public func awaitCompletion<PublisherType: Publisher>(
   |                 `- note: add '@MainActor' to make instance method 'awaitCompletion(of:timeout:)' part of global actor 'MainActor'
13 |         of publisher: PublisherType,
14 |         timeout: TimeInterval = 10
   :
34 |         // expectation has been fulfilled, or until the given timeout
35 |         // interval has elapsed:
36 |         waitForExpectations(timeout: timeout)
   |         `- warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |
38 |
XCTest.XCTestCase:5:26: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
 3 |     @available(swift, obsoleted: 3, renamed: "expectation(description:)")
 4 |     open func expectationWithDescription(_ description: String) -> XCTestExpectation
 5 |     @MainActor open func waitForExpectations(timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
   |                          `- note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
 6 |     @available(swift, obsoleted: 3, renamed: "waitForExpectations(timeout:handler:)")
 7 |     @MainActor open func waitForExpectationsWithTimeout(_ timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/XCTestStarterKit/Extensions/XCTestCase/XCTestCase+AwaitCompletionOfPublisher.swift:36:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
34 |         // expectation has been fulfilled, or until the given timeout
35 |         // interval has elapsed:
36 |         waitForExpectations(timeout: timeout)
   |         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self' to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' risks causing data races between main actor-isolated and task-isolated uses
37 |
38 |
[4/6] Compiling XCTestStarterKit XCTestCase+AssertExpressionThrowsError.swift
[5/6] Emitting module XCTestStarterKit
[6/6] Compiling XCTestStarterKit XCTestCase+AssertResultCompletesWithError.swift
Build complete! (26.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCTestStarterKit",
  "name" : "XCTestStarterKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "XCTestStarterKit",
      "targets" : [
        "XCTestStarterKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTestStarterKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XCTestStarterKitTests",
      "path" : "Tests/XCTestStarterKit",
      "sources" : [
        "Cases/Extensions/XCTestCase/XCTestCase_AssertErrorWasThrownTests.swift",
        "Cases/Extensions/XCTestCase/XCTestCase_AssertExpressionThrowsErrorTests.swift",
        "Cases/Extensions/XCTestCase/XCTestCase_AssertResultCompletesWithErrorTests.swift"
      ],
      "target_dependencies" : [
        "XCTestStarterKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCTestStarterKit",
      "module_type" : "SwiftTarget",
      "name" : "XCTestStarterKit",
      "path" : "Sources/XCTestStarterKit",
      "product_memberships" : [
        "XCTestStarterKit"
      ],
      "sources" : [
        "Extensions/XCTestCase/XCTestCase+AssertExpressionThrowsError.swift",
        "Extensions/XCTestCase/XCTestCase+AssertResultCompletesWithError.swift",
        "Extensions/XCTestCase/XCTestCase+AwaitCompletionOfPublisher.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.