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

Failed to build PerfectPython, reference 3.2.0 (764a85), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:58:23 UTC.

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/perfectlysoft/perfect-python.git
Reference: 3.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-python
 * tag               3.2.0      -> FETCH_HEAD
HEAD is now at 764a85d Updating Documents.
Cloned https://github.com/perfectlysoft/perfect-python.git
Revision (git rev-parse @):
764a85d6fee5c42701d9b2fca6e30fa921361ae4
SUCCESS checkout https://github.com/perfectlysoft/perfect-python.git at 3.2.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": "perfect-python",
      "name": "PerfectPython",
      "url": "https://github.com/perfectlysoft/perfect-python.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-python",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-python.git
[1/155] Fetching perfect-python
Fetched https://github.com/perfectlysoft/perfect-python.git from cache (0.64s)
Creating working copy for https://github.com/perfectlysoft/perfect-python.git
Working copy of https://github.com/perfectlysoft/perfect-python.git resolved at 3.2.0 (764a85d)
warning: '.resolve-product-dependencies': dependency 'perfect-python' 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/perfectlysoft/perfect-python.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/3] Write sources
In file included from /Users/admin/builder/spi-builder-workspace/Sources/PythonAPI/PythonAPI.c:19:
/Users/admin/builder/spi-builder-workspace/Sources/PythonAPI/include/PythonAPI.h:22:10: fatal error: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Python.framework/Headers/Python.h' file not found
   22 | #include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Python.framework/Headers/Python.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling PythonAPI PythonAPI.c
[1/3] Write swift-version--7754E27361AE5C74.txt
BUILD FAILURE 6.0 macosSpm