Build Information
Failed to build Vim with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-vim/SwiftForVim.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-vim/SwiftForVim
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 53cab34 Implement callable args (#2)
Cloned https://github.com/swift-vim/SwiftForVim.git
Revision (git rev-parse @):
53cab34a3bcb3fd35a4874b72eabb0042067d76c
SUCCESS checkout https://github.com/swift-vim/SwiftForVim.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/swift-vim/SwiftForVim.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/16] Write sources
[3/16] Write swift-version-6F35C1178C84523A.txt
/Users/admin/builder/spi-builder-workspace/Sources/VimInterface/swiftvim_lib.c:1:10: fatal error: 'Python.h' file not found
1 | #include <Python.h>
| ^~~~~~~~~~
1 error generated.
[4/21] Compiling VimInterface swiftvim_lib.c
/Users/admin/builder/spi-builder-workspace/Sources/VimPluginBootstrap/swiftvim.c:4:10: fatal error: 'Python.h' file not found
4 | #include <Python.h>
| ^~~~~~~~~~
[4/21] Compiling VimPluginBootstrap swiftvim.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/21] Emitting module Example
/Users/admin/builder/spi-builder-workspace/Sources/Example/Example.swift:2:8: error: no such module 'ExampleVim'
1 | // VimPlugin Plugin initialization
2 | import ExampleVim
| `- error: no such module 'ExampleVim'
3 | import ExampleVimAsync
4 |
BUILD FAILURE 6.0 macosSpm