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.0 for macOS (SPM) on 13 Feb 2025 14:42:31 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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
========================================
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": "xctestextensions",
      "name": "XCTestExtensions",
      "url": "https://github.com/StanfordBDHG/XCTestExtensions.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTestExtensions",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/StanfordBDHG/XCTestExtensions.git
[9/861] Fetching xctestextensions
Fetched https://github.com/StanfordBDHG/XCTestExtensions.git from cache (0.81s)
Creating working copy for https://github.com/StanfordBDHG/XCTestExtensions.git
Working copy of https://github.com/StanfordBDHG/XCTestExtensions.git resolved at 1.2.1 (3b44aad)
warning: '.resolve-product-dependencies': dependency 'xctestextensions' 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/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.2.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-5BDAB9E9C0126B9D.txt
[4/15] Compiling XCTestExtensions XCUIApplication+VisionOS.swift
[5/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 |         }
[6/15] Compiling XCTestExtensions XCTAssertThrowsErrorAsync.swift
[7/15] Emitting module XCTestExtensions
[8/15] Compiling XCTestExtensions XCUIApplication+DeleteAndLaunch.swift
[9/15] Compiling XCTestExtensions XCUIElement+TextEntry.swift
[10/15] Compiling XCTestApp TestAppTests.swift
[11/15] Compiling XCTestApp TestAppTestsView.swift
[12/15] Compiling XCTestApp XCTest.swift
[13/15] Compiling XCTestApp TestAppTestCase.swift
[14/15] Emitting module XCTestApp
[15/15] Compiling XCTestApp TestAppView.swift
Build complete! (18.58s)
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.