Build Information
Failed to build swift-windowsappsdk, reference main (a7e1d9
), with Swift 6.0 for Linux on 4 Dec 2024 21:11:24 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.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thebrowsercompany/swift-windowsappsdk.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/thebrowsercompany/swift-windowsappsdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a7e1d90 Add outdated warning to Readme before archiving (#1)
Cloned https://github.com/thebrowsercompany/swift-windowsappsdk.git
Revision (git rev-parse @):
a7e1d90b323b4fb2a625c68f5f1ec8177254c26e
SUCCESS checkout https://github.com/thebrowsercompany/swift-windowsappsdk.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/thebrowsercompany/swift-windowsappsdk.git
{
"dependencies" : [
{
"identity" : "swift-cwinrt",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/thebrowsercompany/swift-cwinrt"
},
{
"identity" : "swift-uwp",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/thebrowsercompany/swift-uwp"
},
{
"identity" : "swift-windowsfoundation",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/thebrowsercompany/swift-windowsfoundation"
}
],
"manifest_display_name" : "swift-windowsappsdk",
"name" : "swift-windowsappsdk",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "WinAppSDK",
"targets" : [
"WinAppSDK"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "CWinAppSDK",
"targets" : [
"CWinAppSDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WinAppSDKTests",
"module_type" : "SwiftTarget",
"name" : "WinAppSDKTests",
"path" : "Tests/WinAppSDKTests",
"sources" : [
"InitializerTests.swift"
],
"target_dependencies" : [
"WinAppSDK"
],
"type" : "test"
},
{
"c99name" : "WinAppSDK",
"module_type" : "SwiftTarget",
"name" : "WinAppSDK",
"path" : "Sources/WinAppSDK",
"product_dependencies" : [
"CWinRT",
"UWP",
"WindowsFoundation"
],
"product_memberships" : [
"WinAppSDK"
],
"sources" : [
"Generated/Microsoft.Graphics.DirectX+ABI.swift",
"Generated/Microsoft.Graphics.DirectX+Impl.swift",
"Generated/Microsoft.Graphics.DirectX.swift",
"Generated/Microsoft.UI+ABI.swift",
"Generated/Microsoft.UI+Impl.swift",
"Generated/Microsoft.UI.Composition+ABI.swift",
"Generated/Microsoft.UI.Composition+Impl.swift",
"Generated/Microsoft.UI.Composition.Interactions+ABI.swift",
"Generated/Microsoft.UI.Composition.Interactions+Impl.swift",
"Generated/Microsoft.UI.Composition.Interactions.swift",
"Generated/Microsoft.UI.Composition.SystemBackdrops+ABI.swift",
"Generated/Microsoft.UI.Composition.SystemBackdrops+Impl.swift",
"Generated/Microsoft.UI.Composition.SystemBackdrops.swift",
"Generated/Microsoft.UI.Composition.swift",
"Generated/Microsoft.UI.Content+ABI.swift",
"Generated/Microsoft.UI.Content+Impl.swift",
"Generated/Microsoft.UI.Content.swift",
"Generated/Microsoft.UI.Dispatching+ABI.swift",
"Generated/Microsoft.UI.Dispatching+Impl.swift",
"Generated/Microsoft.UI.Dispatching.swift",
"Generated/Microsoft.UI.Input+ABI.swift",
"Generated/Microsoft.UI.Input+Impl.swift",
"Generated/Microsoft.UI.Input.swift",
"Generated/Microsoft.UI.Windowing+ABI.swift",
"Generated/Microsoft.UI.Windowing+Impl.swift",
"Generated/Microsoft.UI.Windowing.swift",
"Generated/Microsoft.UI.swift",
"Generated/Microsoft.Windows.AppLifecycle+ABI.swift",
"Generated/Microsoft.Windows.AppLifecycle+Impl.swift",
"Generated/Microsoft.Windows.AppLifecycle.swift",
"Generated/Microsoft.Windows.ApplicationModel.Resources+ABI.swift",
"Generated/Microsoft.Windows.ApplicationModel.Resources+Impl.swift",
"Generated/Microsoft.Windows.ApplicationModel.Resources.swift",
"Generated/WinAppSDK+Generics.swift",
"Generated/WinAppSDK+MakeFromAbi.swift",
"Initialize.swift"
],
"target_dependencies" : [
"CWinAppSDK"
],
"type" : "library"
},
{
"c99name" : "CWinAppSDK",
"module_type" : "ClangTarget",
"name" : "CWinAppSDK",
"path" : "Sources/CWinAppSDK",
"product_memberships" : [
"WinAppSDK",
"CWinAppSDK"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/CWinAppSDK/nuget/bin/Microsoft.WindowsAppRuntime.Bootstrap.dll",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"delayloadhelper.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.40s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/199] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.25s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.20s)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (3e3d5a0)
Creating working copy for https://github.com/thebrowsercompany/swift-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (4fe2fa0)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (dbe1456)
Building for debugging...
[0/18] Write sources
[3/18] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
/host/spi-builder-workspace/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
1 | #include <wtypesbase.h>
| ^~~~~~~~~~~~~~
1 error generated.
[4/18] Compiling CWinAppSDK delayloadhelper.c
[4/18] Compiling CWinRT shim.c
[4/18] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux