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, reference 0.0.3 (c56992), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 11:36:56 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CypherPoet/XCTestStarterKit.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/XCTestStarterKit
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at c569921 0.0.3
Cloned https://github.com/CypherPoet/XCTestStarterKit.git
Revision (git rev-parse @):
c569921d4dce297cb579e0d969c2d356250749e4
SUCCESS checkout https://github.com/CypherPoet/XCTestStarterKit.git at 0.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "xcteststarterkit",
      "name": "XCTestStarterKit",
      "url": "https://github.com/CypherPoet/XCTestStarterKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTestStarterKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CypherPoet/XCTestStarterKit.git
[1/162] Fetching xcteststarterkit
Fetched https://github.com/CypherPoet/XCTestStarterKit.git from cache (1.15s)
Creating working copy for https://github.com/CypherPoet/XCTestStarterKit.git
Working copy of https://github.com/CypherPoet/XCTestStarterKit.git resolved at 0.0.3 (c569921)
warning: '.resolve-product-dependencies': dependency 'xcteststarterkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CypherPoet/XCTestStarterKit.git
https://github.com/CypherPoet/XCTestStarterKit.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling XCTestStarterKit XCTestCase+AssertResultCompletesWithError.swift
[4/6] Emitting module XCTestStarterKit
[5/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.waitForExpectations:2:22: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
1 | class XCTestCase {
2 | @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
3 |
/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 |
[6/6] Compiling XCTestStarterKit XCTestCase+AssertExpressionThrowsError.swift
Build complete! (10.07s)
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.