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, reference 0.1.0 (241c99), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 21:51:57 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/UITestingPlus.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/UITestingPlus
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 241c995 Fix iOS build
Cloned https://github.com/ChimeHQ/UITestingPlus.git
Revision (git rev-parse @):
241c9953b119683cc9b6cbf07d9c3db923ba1053
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/UITestingPlus.git at 0.1.0
========================================
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": "uitestingplus",
      "name": "UITestingPlus",
      "url": "https://github.com/ChimeHQ/UITestingPlus.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UITestingPlus",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/UITestingPlus.git
[1/100] Fetching uitestingplus
Fetched https://github.com/ChimeHQ/UITestingPlus.git from cache (0.69s)
Creating working copy for https://github.com/ChimeHQ/UITestingPlus.git
Working copy of https://github.com/ChimeHQ/UITestingPlus.git resolved at 0.1.0 (241c995)
warning: '.resolve-product-dependencies': dependency 'uitestingplus' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/UITestingPlus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/10] Compiling UITestingPlus XCUIElement+Accessors.swift
[4/10] Compiling UITestingPlus XCUIApplication+Windows.swift
[5/10] Compiling UITestingPlus XCUIApplication+Documents.swift
[6/10] 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 |
[7/10] Compiling UITestingPlus XCUIApplication+Menus.swift
[8/10] 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 |
[9/10] Compiling UITestingPlus XCUIElement+Existence.swift
[10/10] Compiling UITestingPlus XCUIElement+TextEditing.swift
Build complete! (14.74s)
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",
        "XCUIApplication+Documents.swift",
        "XCUIApplication+Menus.swift",
        "XCUIApplication+Windows.swift",
        "XCUIElement+Accessors.swift",
        "XCUIElement+Existence.swift",
        "XCUIElement+TextEditing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/chimehq/uitestingplus/0.1.0
Repository:               ChimeHQ/UITestingPlus
Swift version used:       6.0
Target:                   UITestingPlus
Extracting symbol information for 'UITestingPlus'...
Finished extracting symbol information for 'UITestingPlus'. (4.90s)
Building documentation for 'UITestingPlus'...
Finished building documentation for 'UITestingPlus' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/chimehq/uitestingplus/0.1.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets SnippetParser.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets Snippet.swift
[10/57] Compiling SymbolKit DeclarationFragments.swift
[11/57] Compiling SymbolKit Fragment.swift
[12/57] Compiling SymbolKit FragmentKind.swift
[13/57] Compiling SymbolKit FunctionParameter.swift
[14/57] Compiling SymbolKit FunctionSignature.swift
[15/57] Compiling SymbolKit SemanticVersion.swift
[16/57] Compiling SymbolKit AccessControl.swift
[17/57] Compiling SymbolKit Availability.swift
[18/57] Compiling SymbolKit AvailabilityItem.swift
[19/57] Compiling SymbolKit Domain.swift
[20/57] Compiling SymbolKit Names.swift
[21/57] Compiling SymbolKit SPI.swift
[22/57] Compiling SymbolKit Snippet.swift
[23/57] Compiling SymbolKit Extension.swift
[24/57] Compiling SymbolKit SourceRange.swift
[25/57] Compiling SymbolKit Metadata.swift
[26/57] Compiling SymbolKit Module.swift
[27/57] Compiling SymbolKit OperatingSystem.swift
[28/57] Compiling SymbolKit Platform.swift
[29/57] Compiling SymbolKit GenericConstraint.swift
[30/57] Compiling SymbolKit GenericParameter.swift
[31/57] Compiling SymbolKit Generics.swift
[32/57] Compiling SymbolKit Namespace.swift
[33/57] Compiling SymbolKit Mixin+Equals.swift
[34/57] Compiling SymbolKit Mixin+Hash.swift
[35/57] Compiling SymbolKit Mixin.swift
[36/57] Compiling SymbolKit LineList.swift
[37/57] Compiling SymbolKit Position.swift
[38/57] Compiling SymbolKit Identifier.swift
[39/57] Compiling SymbolKit KindIdentifier.swift
[40/57] Compiling SymbolKit Location.swift
[41/57] Compiling SymbolKit Mutability.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.54s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/9] Compiling UITestingPlus XCUIElement+Existence.swift
[3/9] Compiling UITestingPlus XCUIElement+TextEditing.swift
[4/9] Compiling UITestingPlus XCUIApplication+Menus.swift
[5/9] Compiling UITestingPlus XCUIApplication+Windows.swift
[6/9] Compiling UITestingPlus XCUIElement+Accessors.swift
[7/9] Compiling UITestingPlus HittableElementExpectation.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 |
[8/9] Emitting module UITestingPlus
/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 |
[9/9] Compiling UITestingPlus XCUIApplication+Documents.swift
Build of target: 'UITestingPlus' complete! (0.92s)
     120
2	/Users/admin/builder/spi-builder-workspace/.docs/chimehq/uitestingplus/0.1.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/chimehq/uitestingplus/0.1.0
File count: 120
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-chimehq-uitestingplus-0.1.0-082904b9.zip to s3://spi-docs-inbox/prod-chimehq-uitestingplus-0.1.0-082904b9.zip
Copying... [17%]
Copying... [33%]
Copying... [50%]
Copying... [67%]
Copying... [83%]
Copying... [100%]
Copying... [100%]
Done.