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 XCAppTest, reference 0.14.0 (28ceff), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 18:16:07 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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tunous/XCAppTest.git
Reference: 0.14.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Tunous/XCAppTest
 * tag               0.14.0     -> FETCH_HEAD
HEAD is now at 28ceff8 XCUIElementQuery.assertMatchedElements
Cloned https://github.com/Tunous/XCAppTest.git
Revision (git rev-parse @):
28ceff8ad6ead923b002e929489755b3961f9733
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Tunous/XCAppTest.git at 0.14.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": "xcapptest",
      "name": "XCAppTest",
      "url": "https://github.com/Tunous/XCAppTest.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCAppTest",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Tunous/XCAppTest.git
[1/408] Fetching xcapptest
Fetched https://github.com/Tunous/XCAppTest.git from cache (0.80s)
Creating working copy for https://github.com/Tunous/XCAppTest.git
Working copy of https://github.com/Tunous/XCAppTest.git resolved at 0.14.0 (28ceff8)
warning: '.resolve-product-dependencies': dependency 'xcapptest' 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/Tunous/XCAppTest.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/13] Compiling XCAppTest XCUIElement+Assertions.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' 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
14 | }
15 |
[4/14] Compiling XCAppTest XCUIElementQuery+Matchers.swift
[5/14] Compiling XCAppTest XCUIElement+Types.swift
[6/14] Compiling XCAppTest XCUIElementQuery+Assertions.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' 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
14 | }
15 |
[7/14] Compiling XCAppTest XCUIElement+Properties.swift
[8/14] Compiling XCAppTest XCUIElement+Actions.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' 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
14 | }
15 |
[9/14] Compiling XCAppTest XCUIApplication+App.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' 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
14 | }
15 |
[10/14] Compiling XCAppTest AssertionUtils.swift
[11/14] Compiling XCAppTest CGVector+Util.swift
[12/14] Compiling XCAppTest XCTestCase+Activity.swift
[13/14] Compiling XCAppTest XCAppTestConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' 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
14 | }
15 |
[14/14] Emitting module XCAppTest
/Users/admin/builder/spi-builder-workspace/Sources/XCAppTest/XCAppTestConfig.swift:13:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public enum XCAppTestConfig {
12 |     /// The default number of seconds within which all expectations must be fulfilled.
13 |     public static var defaultTimeout: TimeInterval = 8
   |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultTimeout' 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
14 | }
15 |
Build complete! (18.29s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCAppTest",
  "name" : "XCAppTest",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCAppTest",
      "targets" : [
        "XCAppTest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCAppTest",
      "module_type" : "SwiftTarget",
      "name" : "XCAppTest",
      "path" : "Sources/XCAppTest",
      "product_memberships" : [
        "XCAppTest"
      ],
      "sources" : [
        "AssertionUtils.swift",
        "CGVector+Util.swift",
        "XCAppTestConfig.swift",
        "XCTestCase+Activity.swift",
        "XCUIApplication+App.swift",
        "XCUIElement+Actions.swift",
        "XCUIElement+Assertions.swift",
        "XCUIElement+Properties.swift",
        "XCUIElement+Types.swift",
        "XCUIElementQuery+Assertions.swift",
        "XCUIElementQuery+Matchers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/tunous/xcapptest/0.14.0
Repository:               Tunous/XCAppTest
Swift version used:       6.0
Target:                   XCAppTest
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'XCAppTest'...
Finished extracting symbol information for 'XCAppTest'. (6.07s)
Building documentation for 'XCAppTest'...
warning: 'moveToBackground(_:)' doesn't exist at '/XCAppTest/XCTest/XCUIApplication'
   --> XCAppTest.md:99:38-99:58
97  | - ``XCAppTest/XCTest/XCUIElement/pressWhenReady(forDuration:timeout:_:file:line:)``
98  | - ``XCAppTest/XCTest/XCUIElement/tapIfExists(timeout:_:file:line:)``
99  + - ``XCAppTest/XCTest/XCUIApplication/moveToBackground(_:)``
100 |
101 | ### Accessing properties of elementsFinished building documentation for 'XCAppTest' (0.15s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/tunous/xcapptest/0.14.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.27s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit GenericConstraint.swift
[13/57] Compiling SymbolKit GenericParameter.swift
[14/57] Compiling SymbolKit Generics.swift
[15/57] Compiling SymbolKit Namespace.swift
[16/57] Compiling SymbolKit Names.swift
[17/57] Compiling SymbolKit SPI.swift
[18/57] Compiling SymbolKit Snippet.swift
[19/57] Compiling SymbolKit Extension.swift
[20/57] Compiling SymbolKit Identifier.swift
[21/57] Compiling SymbolKit KindIdentifier.swift
[22/57] Compiling SymbolKit Location.swift
[23/57] Compiling SymbolKit Mutability.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SemanticVersion.swift
[40/57] Compiling SymbolKit AccessControl.swift
[41/57] Compiling SymbolKit Availability.swift
[42/57] Compiling SymbolKit AvailabilityItem.swift
[43/57] Compiling SymbolKit Domain.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.44s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/12] Compiling XCAppTest XCUIElement+Types.swift
[3/12] Compiling XCAppTest XCUIElementQuery+Assertions.swift
[4/13] Compiling XCAppTest XCTestCase+Activity.swift
[5/13] Compiling XCAppTest XCUIApplication+App.swift
[6/13] Compiling XCAppTest XCUIElement+Actions.swift
[7/13] Compiling XCAppTest AssertionUtils.swift
[8/13] Compiling XCAppTest CGVector+Util.swift
[9/13] Compiling XCAppTest XCAppTestConfig.swift
[10/13] Compiling XCAppTest XCUIElement+Properties.swift
[11/13] Compiling XCAppTest XCUIElement+Assertions.swift
[12/13] Emitting module XCAppTest
[13/13] Compiling XCAppTest XCUIElementQuery+Matchers.swift
Build of target: 'XCAppTest' complete! (2.18s)
     178
3	/Users/admin/builder/spi-builder-workspace/.docs/tunous/xcapptest/0.14.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/tunous/xcapptest/0.14.0
File count: 178
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-tunous-xcapptest-0.14.0-de90f496.zip to s3://spi-docs-inbox/prod-tunous-xcapptest-0.14.0-de90f496.zip
Copying... [12%]
Copying... [25%]
Copying... [37%]
Copying... [50%]
Copying... [62%]
Copying... [75%]
Copying... [87%]
Copying... [100%]
Copying... [100%]
Done.