Build Information
Failed to build Vim, reference master (53cab3
), with Swift 6.1 for Linux on 25 Apr 2025 23:07:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-vim/SwiftForVim.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-vim/SwiftForVim.git
https://github.com/swift-vim/SwiftForVim.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Vim",
"name" : "Vim",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "VimInterface",
"targets" : [
"VimInterface"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "Vim",
"targets" : [
"Vim"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "VimPluginBootstrap",
"targets" : [
"VimPluginBootstrap"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "VimAsync",
"targets" : [
"VimAsync"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "VimTests",
"module_type" : "SwiftTarget",
"name" : "VimTests",
"path" : "Tests/VimTests",
"sources" : [
"VimTests.swift"
],
"type" : "test"
},
{
"c99name" : "VimPluginBootstrap",
"module_type" : "ClangTarget",
"name" : "VimPluginBootstrap",
"path" : "Sources/VimPluginBootstrap",
"product_memberships" : [
"Vim",
"VimPluginBootstrap"
],
"sources" : [
"swiftvim.c"
],
"type" : "library"
},
{
"c99name" : "VimInterfaceTests",
"module_type" : "SwiftTarget",
"name" : "VimInterfaceTests",
"path" : "Tests/VimInterfaceTests",
"sources" : [
"CallingTests.swift"
],
"target_dependencies" : [
"VimInterface"
],
"type" : "test"
},
{
"c99name" : "VimInterface",
"module_type" : "ClangTarget",
"name" : "VimInterface",
"path" : "Sources/VimInterface",
"product_memberships" : [
"VimInterface",
"Vim"
],
"sources" : [
"swiftvim_lib.c"
],
"type" : "library"
},
{
"c99name" : "VimAsyncTests",
"module_type" : "SwiftTarget",
"name" : "VimAsyncTests",
"path" : "Tests/VimAsyncTests",
"sources" : [
"VimAsyncTest.swift"
],
"type" : "test"
},
{
"c99name" : "VimAsync",
"module_type" : "SwiftTarget",
"name" : "VimAsync",
"path" : "Sources/VimAsync",
"product_memberships" : [
"VimAsync"
],
"sources" : [
"VimTask.swift",
"VimTimer.swift"
],
"type" : "library"
},
{
"c99name" : "Vim",
"module_type" : "SwiftTarget",
"name" : "Vim",
"path" : "Sources/Vim",
"product_memberships" : [
"Vim"
],
"sources" : [
"Vim.swift",
"VimBuffer.swift",
"VimCurrent.swift",
"VimExtensions.swift",
"VimPlugin.swift",
"VimValue.swift",
"VimWindow.swift"
],
"target_dependencies" : [
"VimInterface",
"VimPluginBootstrap"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_memberships" : [
"Example"
],
"sources" : [
"Example.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/19] Write sources
/host/spi-builder-workspace/Sources/VimInterface/swiftvim_lib.c:1:10: fatal error: 'Python.h' file not found
1 | #include <Python.h>
| ^~~~~~~~~~
1 error generated.
[3/19] Compiling VimInterface swiftvim_lib.c
/host/spi-builder-workspace/Sources/VimPluginBootstrap/swiftvim.c:4:10: fatal error: 'Python.h' file not found
4 | #include <Python.h>
| ^~~~~~~~~~
1 error generated.
[3/19] Compiling VimPluginBootstrap swiftvim.c
[3/19] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/VimInterface/swiftvim_lib.c:1:10: fatal error: 'Python.h' file not found
1 | #include <Python.h>
| ^~~~~~~~~~
1 error generated.
[0/16] Compiling VimInterface swiftvim_lib.c
/host/spi-builder-workspace/Sources/VimPluginBootstrap/swiftvim.c:4:10: fatal error: 'Python.h' file not found
4 | #include <Python.h>
| ^~~~~~~~~~
[0/16] Compiling VimPluginBootstrap swiftvim.c
[0/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux