Build Information
Failed to build swift-windowsappsdk, reference main (f1c508), with Swift 6.1 for macOS (SPM) on 2 Nov 2025 03:52:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-windowsappsdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stackotter/swift-windowsappsdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f1c5089 Bump swift-uwp version
Cloned https://github.com/stackotter/swift-windowsappsdk.git
Revision (git rev-parse @):
f1c50892f10c0f7f635d3c7a3d728fd634ad001a
SUCCESS checkout https://github.com/stackotter/swift-windowsappsdk.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/stackotter/swift-windowsappsdk.git
https://github.com/stackotter/swift-windowsappsdk.git
{
"dependencies" : [
{
"identity" : "swift-cwinrt",
"requirement" : {
"branch" : [
"eb46cdb66f770a1e006f9fcfebbf9e99a0fba811"
]
},
"type" : "sourceControl",
"url" : "https://github.com/thebrowsercompany/swift-cwinrt"
},
{
"identity" : "swift-uwp",
"requirement" : {
"revision" : [
"8128f6615b7c5b46ada289ab6d49d871ca1e13a5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/swift-uwp"
},
{
"identity" : "swift-windowsfoundation",
"requirement" : {
"revision" : [
"4ad57d20553514bcb23724bdae9121569b19f172"
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/swift-windowsfoundation"
}
],
"manifest_display_name" : "swift-windowsappsdk",
"name" : "swift-windowsappsdk",
"path" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Sources/CWinAppSDK/nuget/bin/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"delayloadhelper.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/15] Write sources
[1/15] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[2/15] Write sources
[4/15] Compiling CWinRT shim.c
[5/15] Write Objects.LinkFileList
[6/15] Write swift-version-2F0A5646E1D333AE.txt
/Users/admin/builder/spi-builder-workspace/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
1 | #include <wtypesbase.h>
| ^~~~~~~~~~~~~~
1 error generated.
[7/15] Compiling CWinAppSDK delayloadhelper.c
[7/15] Linking libCWinRT.dylib
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/474] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.04s)
Fetching https://github.com/stackotter/swift-uwp
[1/258] Fetching swift-uwp
Fetched https://github.com/stackotter/swift-uwp from cache (1.00s)
Fetching https://github.com/stackotter/swift-windowsfoundation
[1/110] Fetching swift-windowsfoundation
Fetched https://github.com/stackotter/swift-windowsfoundation from cache (0.68s)
Creating working copy for https://github.com/stackotter/swift-windowsfoundation
Working copy of https://github.com/stackotter/swift-windowsfoundation resolved at 4ad57d20553514bcb23724bdae9121569b19f172
Creating working copy for https://github.com/stackotter/swift-uwp
Working copy of https://github.com/stackotter/swift-uwp resolved at 8128f6615b7c5b46ada289ab6d49d871ca1e13a5
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at eb46cdb66f770a1e006f9fcfebbf9e99a0fba811
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
/Users/admin/builder/spi-builder-workspace/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
1 | #include <wtypesbase.h>
| ^~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling CWinAppSDK delayloadhelper.c
[0/9] Write swift-version-2F0A5646E1D333AE.txt
[0/9] Linking libCWinRT.dylib
BUILD FAILURE 6.1 macosSpm