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

Swift 6 data race errors: 1

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/ChimeHQ/UITestingPlus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/UITestingPlus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a6ba690 funding
Cloned https://github.com/ChimeHQ/UITestingPlus.git
Revision (git rev-parse @):
a6ba6902019187300cd340d0479f8c48cd435af9
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/UITestingPlus.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ChimeHQ/UITestingPlus.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/13] Compiling UITestingPlus XCUIElement+Soon.swift
[4/14] Compiling UITestingPlus XCUIElement+Hittable.swift
[5/14] Compiling UITestingPlus XCUIElement+Existence.swift
[6/14] Compiling UITestingPlus XCUIApplication+Menus.swift
[7/14] Compiling UITestingPlus XCUIElement+Accessors.swift
[8/14] Compiling UITestingPlus XCUIApplication+Documents.swift
[9/14] Compiling UITestingPlus HittableElementExpectation.swift
/Users/admin/builder/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:21: warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
   |                     |- warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'hittablePredicate' 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
 7 |
 8 | 	public init(element: XCUIElement) {
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 3 |     public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
 4 |     @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:5:14: warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 3 |
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
   |              `- warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
 7 |
[10/14] Compiling UITestingPlus XCTest+Soon.swift
/Users/admin/builder/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:21: warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
   |                     |- warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'hittablePredicate' 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
 7 |
 8 | 	public init(element: XCUIElement) {
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 3 |     public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
 4 |     @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:5:14: warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 3 |
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
   |              `- warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
 7 |
[11/14] Compiling UITestingPlus XCUIApplication+Apps.swift
[12/14] Compiling UITestingPlus XCUIApplication+Windows.swift
[13/14] Emitting module UITestingPlus
/Users/admin/builder/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:6:21: warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
   |                     |- warning: static property 'hittablePredicate' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'hittablePredicate' 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
 7 |
 8 | 	public init(element: XCUIElement) {
Foundation.NSPredicate:2:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class NSPredicate : NSObject, NSSecureCoding, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 3 |     public /*not inherited*/ init(format predicateFormat: String, argumentArray arguments: [Any]?)
 4 |     @available(*, unavailable, renamed: "init(format:argumentArray:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/UITestingPlus/HittableElementExpectation.swift:5:14: warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 3 |
 4 | /// Expectation subclass for waiting on an XCUIElement to be hittable.
 5 | public class HittableElementExpectation: XCTNSPredicateExpectation {
   |              `- warning: class 'HittableElementExpectation' must restate inherited '@unchecked Sendable' conformance
 6 | 	private static let hittablePredicate = NSPredicate(format: "exists == 1 && isHittable == 1")
 7 |
[14/14] Compiling UITestingPlus XCUIElement+TextEditing.swift
Build complete! (30.91s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UITestingPlus",
  "name" : "UITestingPlus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "UITestingPlus",
      "targets" : [
        "UITestingPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UITestingPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "UITestingPlusTests",
      "path" : "Tests/UITestingPlusTests",
      "sources" : [
        "UITestingPlusTests.swift"
      ],
      "target_dependencies" : [
        "UITestingPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UITestingPlus",
      "module_type" : "SwiftTarget",
      "name" : "UITestingPlus",
      "path" : "Sources/UITestingPlus",
      "product_memberships" : [
        "UITestingPlus"
      ],
      "sources" : [
        "HittableElementExpectation.swift",
        "XCTest+Soon.swift",
        "XCUIApplication+Apps.swift",
        "XCUIApplication+Documents.swift",
        "XCUIApplication+Menus.swift",
        "XCUIApplication+Windows.swift",
        "XCUIElement+Accessors.swift",
        "XCUIElement+Existence.swift",
        "XCUIElement+Hittable.swift",
        "XCUIElement+Soon.swift",
        "XCUIElement+TextEditing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.