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 XCTestExtensions, reference 1.2.1 (3b44aa), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 13:51:08 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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTestExtensions.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/XCTestExtensions
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 3b44aad capture via autoclosures in more cases; allow throwing expressions (#32)
Cloned https://github.com/StanfordBDHG/XCTestExtensions.git
Revision (git rev-parse @):
3b44aad358897cf85139b46f32902cd60d9e5cb4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTestExtensions.git at 1.2.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordBDHG/XCTestExtensions.git
https://github.com/StanfordBDHG/XCTestExtensions.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCTestExtensions",
  "name" : "XCTestExtensions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "XCTestApp",
      "targets" : [
        "XCTestApp"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCTestExtensions",
      "targets" : [
        "XCTestExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTestExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "XCTestExtensionsTests",
      "path" : "Tests/XCTestExtensionsTests",
      "sources" : [
        "XCTestExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "XCTestExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCTestExtensions",
      "module_type" : "SwiftTarget",
      "name" : "XCTestExtensions",
      "path" : "Sources/XCTestExtensions",
      "product_memberships" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "XCTAssertThrowsErrorAsync.swift",
        "XCUIApplication+DeleteAndLaunch.swift",
        "XCUIApplication+Keyboard.swift",
        "XCUIApplication+VisionOS.swift",
        "XCUIElement+TextEntry.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCTestApp",
      "module_type" : "SwiftTarget",
      "name" : "XCTestApp",
      "path" : "Sources/XCTestApp",
      "product_memberships" : [
        "XCTestApp"
      ],
      "sources" : [
        "TestAppTestCase.swift",
        "TestAppTests.swift",
        "TestAppTestsView.swift",
        "TestAppView.swift",
        "XCTest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/15] Compiling XCTestApp XCTest.swift
[5/15] Compiling XCTestExtensions XCUIApplication+VisionOS.swift
[6/15] Compiling XCTestExtensions XCUIElement+TextEntry.swift
[7/15] Compiling XCTestExtensions XCUIApplication+Keyboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTestExtensions/XCUIApplication+Keyboard.swift:42:9: warning: code after 'return' will never be executed
40 |
41 |         // on vision os this check always succeed. So dismissing a keyboard in visionOS when it isn't launched is a problem!
42 |         guard keyboard.exists else {
   |         `- warning: code after 'return' will never be executed
43 |             return
44 |         }
[8/15] Compiling XCTestExtensions XCTAssertThrowsErrorAsync.swift
[9/15] Emitting module XCTestExtensions
[10/15] Compiling XCTestExtensions XCUIApplication+DeleteAndLaunch.swift
[11/15] Compiling XCTestApp TestAppView.swift
[12/15] Compiling XCTestApp TestAppTests.swift
[13/15] Compiling XCTestApp TestAppTestCase.swift
[14/15] Emitting module XCTestApp
[15/15] Compiling XCTestApp TestAppTestsView.swift
Build complete! (7.86s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCTestExtensions",
  "name" : "XCTestExtensions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "XCTestApp",
      "targets" : [
        "XCTestApp"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCTestExtensions",
      "targets" : [
        "XCTestExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTestExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "XCTestExtensionsTests",
      "path" : "Tests/XCTestExtensionsTests",
      "sources" : [
        "XCTestExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "XCTestExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCTestExtensions",
      "module_type" : "SwiftTarget",
      "name" : "XCTestExtensions",
      "path" : "Sources/XCTestExtensions",
      "product_memberships" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "XCTAssertThrowsErrorAsync.swift",
        "XCUIApplication+DeleteAndLaunch.swift",
        "XCUIApplication+Keyboard.swift",
        "XCUIApplication+VisionOS.swift",
        "XCUIElement+TextEntry.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCTestApp",
      "module_type" : "SwiftTarget",
      "name" : "XCTestApp",
      "path" : "Sources/XCTestApp",
      "product_memberships" : [
        "XCTestApp"
      ],
      "sources" : [
        "TestAppTestCase.swift",
        "TestAppTests.swift",
        "TestAppTestsView.swift",
        "TestAppView.swift",
        "XCTest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.