Build Information
Failed to build SwiftSpellbook_macOS, reference main (1cd9ae
), with Swift 6.1 for Linux on 29 Apr 2025 21:32:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alkenso/SwiftSpellbook_macOS.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/SwiftSpellbook_macOS
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1cd9aea Relax parsing for HDIUtil for key "image-encrypted"
Cloned https://github.com/Alkenso/SwiftSpellbook_macOS.git
Revision (git rev-parse @):
1cd9aeaf37d42cab224694fd7c9b4727db270042
SUCCESS checkout https://github.com/Alkenso/SwiftSpellbook_macOS.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Alkenso/SwiftSpellbook_macOS.git
https://github.com/Alkenso/SwiftSpellbook_macOS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftspellbook",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alkenso/SwiftSpellbook.git"
}
],
"manifest_display_name" : "SwiftSpellbook_macOS",
"name" : "SwiftSpellbook_macOS",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SpellbookMac",
"targets" : [
"SpellbookMac"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookEndpointSecurity",
"targets" : [
"SpellbookEndpointSecurity"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookEndpointSecurityXPC",
"targets" : [
"SpellbookEndpointSecurityXPC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookHDIUtil",
"targets" : [
"SpellbookHDIUtil"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookLaunchctl",
"targets" : [
"SpellbookLaunchctl"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookXPC",
"targets" : [
"SpellbookXPC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "s_xar",
"targets" : [
"s_xar"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "s_membership",
"targets" : [
"s_membership"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "s_libproc",
"targets" : [
"s_libproc"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "s_xar",
"module_type" : "SystemLibraryTarget",
"name" : "s_xar",
"path" : "MacShims/xar",
"product_memberships" : [
"s_xar"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "s_membership",
"module_type" : "SystemLibraryTarget",
"name" : "s_membership",
"path" : "MacShims/membership",
"product_memberships" : [
"SpellbookMac",
"SpellbookHDIUtil",
"SpellbookLaunchctl",
"SpellbookXPC",
"s_membership"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "s_libproc",
"module_type" : "SystemLibraryTarget",
"name" : "s_libproc",
"path" : "MacShims/libproc",
"product_memberships" : [
"s_libproc"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "SpellbookXPCTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookXPCTests",
"path" : "XPC/Tests/SpellbookXPCTests",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"sources" : [
"XPCClientTests.swift",
"XPCTransportTests.swift"
],
"target_dependencies" : [
"SpellbookXPC"
],
"type" : "test"
},
{
"c99name" : "SpellbookXPC",
"module_type" : "SwiftTarget",
"name" : "SpellbookXPC",
"path" : "XPC/Sources/SpellbookXPC",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookBinaryParsing"
],
"product_memberships" : [
"SpellbookXPC"
],
"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"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "library"
},
{
"c99name" : "SpellbookMacTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookMacTests",
"path" : "Mac/Tests/SpellbookMacTests",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"sources" : [
"GUITests/GUITests.swift",
"System & Hardware/ProcessInfoTests.swift",
"System & Hardware/ProcessTests.swift",
"System & Hardware/SysctlTests.swift",
"Users & Groups/ACLTests.swift",
"Users & Groups/UnixTests.swift"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "test"
},
{
"c99name" : "SpellbookMac",
"module_type" : "SwiftTarget",
"name" : "SpellbookMac",
"path" : "Mac/Sources/SpellbookMac",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookMac",
"SpellbookHDIUtil",
"SpellbookLaunchctl",
"SpellbookXPC"
],
"sources" : [
"GUI/CGWindowInfo.swift",
"GUI/Extensions - Coordinates.swift",
"System & Hardware/Extensions - Process.swift",
"System & Hardware/Extensions - ProcessInfo.swift",
"System & Hardware/Sysctl.swift",
"Users & Groups/ACL.swift",
"Users & Groups/Membership.swift",
"Users & Groups/UnixGroup.swift",
"Users & Groups/UnixUser.swift"
],
"target_dependencies" : [
"s_membership"
],
"type" : "library"
},
{
"c99name" : "SpellbookLaunchctlTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookLaunchctlTests",
"path" : "Launchctl/Tests/SpellbookLaunchctlTests",
"product_dependencies" : [
"SpellbookFoundation"
],
"sources" : [
"LaunchctlParsingTests.swift",
"LiveTesting.swift",
"ServiceParsingTests.swift"
],
"target_dependencies" : [
"SpellbookLaunchctl"
],
"type" : "test"
},
{
"c99name" : "SpellbookLaunchctl",
"module_type" : "SwiftTarget",
"name" : "SpellbookLaunchctl",
"path" : "Launchctl/Sources/SpellbookLaunchctl",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookLaunchctl"
],
"sources" : [
"Internals/Error.swift",
"Internals/OutputParser.swift",
"Internals/Utils.swift",
"Launchctl.swift",
"Service.swift"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "library"
},
{
"c99name" : "SpellbookHDIUtilTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookHDIUtilTests",
"path" : "HDIUtil/Tests/SpellbookHDIUtilTests",
"product_dependencies" : [
"SpellbookFoundation"
],
"sources" : [
"HDIUtilTests.swift"
],
"target_dependencies" : [
"SpellbookHDIUtil"
],
"type" : "test"
},
{
"c99name" : "SpellbookHDIUtil",
"module_type" : "SwiftTarget",
"name" : "SpellbookHDIUtil",
"path" : "HDIUtil/Sources/SpellbookHDIUtil",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookHDIUtil"
],
"sources" : [
"HDIUtil.swift",
"HDIUtilParser.swift"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "library"
},
{
"c99name" : "SpellbookEndpointSecurityXPC",
"module_type" : "SwiftTarget",
"name" : "SpellbookEndpointSecurityXPC",
"path" : "EndpointSecurity/Sources/SpellbookEndpointSecurityXPC",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookEndpointSecurityXPC"
],
"sources" : [
"ESXPCClient.swift",
"ESXPCConnection.swift",
"ESXPCInternals.swift",
"ESXPCListener.swift"
],
"target_dependencies" : [
"SpellbookEndpointSecurity"
],
"type" : "library"
},
{
"c99name" : "SpellbookEndpointSecurityTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookEndpointSecurityTests",
"path" : "EndpointSecurity/Tests/SpellbookEndpointSecurityTests",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"sources" : [
"ESClientTests.swift",
"ESClientTypesTests.swift",
"ESListener/ESServiceTests.swift",
"ESListener/MockESClient.swift",
"ESMutePathTests.swift",
"ESMuteProcessTests.swift",
"MockNativeClient.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"SpellbookEndpointSecurity"
],
"type" : "test"
},
{
"c99name" : "SpellbookEndpointSecurity",
"module_type" : "SwiftTarget",
"name" : "SpellbookEndpointSecurity",
"path" : "EndpointSecurity/Sources/SpellbookEndpointSecurity",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookEndpointSecurity",
"SpellbookEndpointSecurityXPC"
],
"sources" : [
"ESClient - Native/ESNativeClient.swift",
"ESClient - Native/ESNativeTypeDescriptions.swift",
"ESClient - Native/ESNativeTypeUtils.swift",
"ESClient/ESClient.swift",
"ESClient/ESClientProtocol.swift",
"ESClient/ESClientTypes.swift",
"ESClient/ESMessagePtr.swift",
"ESClient/ESMutePath.swift",
"ESClient/ESMuteProcess.swift",
"ESMessage/ESConverter.swift",
"ESMessage/ESTypes.swift",
"ESService/ESService.swift",
"ESService/ESServiceSubscriptionStore.swift",
"ESService/ESSubscription.swift",
"Log.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.21s)
Computing version for https://github.com/Alkenso/SwiftSpellbook.git
Computed https://github.com/Alkenso/SwiftSpellbook.git at 1.1.7 (0.65s)
Creating working copy for https://github.com/Alkenso/SwiftSpellbook.git
Working copy of https://github.com/Alkenso/SwiftSpellbook.git resolved at 1.1.7
Building for debugging...
[0/10] 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.
[8/10] Compiling _SpellbookFoundationObjC SpellbookObjC.mm
[8/10] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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...
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.
[0/2] Compiling _SpellbookFoundationObjC SpellbookObjC.mm
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux