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 master (63589b), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:58:31 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-python
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 63589be Tesing on Swift 4.1.2
Cloned https://github.com/perfectlysoft/perfect-python.git
Revision (git rev-parse @):
63589be903599f535f65b0967a05d5434af16ac4
SUCCESS checkout https://github.com/perfectlysoft/perfect-python.git at master
========================================
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.77s)
Creating working copy for https://github.com/perfectlysoft/perfect-python.git
Working copy of https://github.com/perfectlysoft/perfect-python.git resolved at master (63589be)
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