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 main (3b44aa), with Swift 6.0 for macOS (SPM) on 13 Feb 2025 14:45:23 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/XCTestExtensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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
[1/861] Fetching xctestextensions
Fetched https://github.com/StanfordBDHG/XCTestExtensions.git from cache (1.28s)
Creating working copy for https://github.com/StanfordBDHG/XCTestExtensions.git
Working copy of https://github.com/StanfordBDHG/XCTestExtensions.git resolved at main (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+DeleteAndLaunch.swift
[5/15] Compiling XCTestExtensions XCUIApplication+VisionOS.swift
[6/15] Emitting module XCTestExtensions
[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] Compiling XCTestExtensions XCUIElement+TextEntry.swift
[10/15] Compiling XCTestApp XCTest.swift
[11/15] Compiling XCTestApp TestAppView.swift
[12/15] Compiling XCTestApp TestAppTests.swift
[13/15] Compiling XCTestApp TestAppTestCase.swift
[14/15] Compiling XCTestApp TestAppTestsView.swift
[15/15] Emitting module XCTestApp
Build complete! (17.30s)
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.