Build Information
Failed to build sXPC, reference main (6d743b
), with Swift 6.1 for Linux on 28 Apr 2025 07:30:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Alkenso/sXPC.git
Reference: main
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/Alkenso/sXPC
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6d743ba Update README.md
Cloned https://github.com/Alkenso/sXPC.git
Revision (git rev-parse @):
6d743ba952197e02468f2a3a51bf13be27ddbdee
SUCCESS checkout https://github.com/Alkenso/sXPC.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Alkenso/sXPC.git
https://github.com/Alkenso/sXPC.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftspellbook",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alkenso/SwiftSpellbook.git"
}
],
"manifest_display_name" : "sXPC",
"name" : "sXPC",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "sXPC",
"targets" : [
"sXPC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "sXPCTests",
"module_type" : "SwiftTarget",
"name" : "sXPCTests",
"path" : "Tests/sXPCTests",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"sources" : [
"XPCClientTests.swift",
"XPCTransportTests.swift"
],
"target_dependencies" : [
"sXPC"
],
"type" : "test"
},
{
"c99name" : "sXPC",
"module_type" : "SwiftTarget",
"name" : "sXPC",
"path" : "Sources/sXPC",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"sXPC"
],
"sources" : [
"XPC Transport/XPCTransportConnection.swift",
"XPC Transport/XPCTransportListener.swift",
"XPC Transport/XPCTransportMessage.swift",
"XPC Transport/XPCTransportUtils.swift",
"XPCConnection/Utils.swift",
"XPCConnection/XPCClient.swift",
"XPCConnection/XPCConnection.swift",
"XPCConnection/XPCInterface.swift",
"XPCConnection/XPCListener.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/Alkenso/SwiftSpellbook.git
[1/3379] Fetching swiftspellbook
Fetched https://github.com/Alkenso/SwiftSpellbook.git from cache (0.33s)
Computing version for https://github.com/Alkenso/SwiftSpellbook.git
Computed https://github.com/Alkenso/SwiftSpellbook.git at 0.4.2 (1.18s)
Creating working copy for https://github.com/Alkenso/SwiftSpellbook.git
Working copy of https://github.com/Alkenso/SwiftSpellbook.git resolved at 0.4.2
Building for debugging...
[0/4] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundationObjC/SpellbookObjC.mm:23:
/host/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundationObjC/SpellbookObjC.h:23:9: fatal error: 'Foundation/Foundation.h' file not found
23 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling SpellbookFoundationObjC SpellbookObjC.mm
[2/4] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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...
[0/2] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundationObjC/SpellbookObjC.mm:23:
/host/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundationObjC/SpellbookObjC.h:23:9: fatal error: 'Foundation/Foundation.h' file not found
23 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/2] Compiling SpellbookFoundationObjC SpellbookObjC.mm
BUILD FAILURE 6.1 linux