Build Information
Failed to build swift-winui, reference main (c7a5cf
), with Swift 6.0 for Linux on 6 Nov 2024 01:37:33 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thebrowsercompany/swift-winui.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-winui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c7a5cf4 fix encoding in generate bindings script
Cloned https://github.com/thebrowsercompany/swift-winui.git
Revision (git rev-parse @):
c7a5cf4881479132c2d00e63b84a711e87670856
SUCCESS checkout https://github.com/thebrowsercompany/swift-winui.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/thebrowsercompany/swift-winui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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/434] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.39s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/195] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.24s)
Fetching https://github.com/thebrowsercompany/swift-windowsappsdk
[1/157] Fetching swift-windowsappsdk
Fetched https://github.com/thebrowsercompany/swift-windowsappsdk from cache (0.25s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/66] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.22s)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (ef09b9d)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (ba7a8b5)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsappsdk
Working copy of https://github.com/thebrowsercompany/swift-windowsappsdk resolved at main (9a92d35)
Creating working copy for https://github.com/thebrowsercompany/swift-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (e373f4f)
Building for debugging...
[0/22] Write sources
[4/22] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
/host/spi-builder-workspace/.build/checkouts/swift-windowsappsdk/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
1 | #include <wtypesbase.h>
| ^~~~~~~~~~~~~~
1 error generated.
[5/22] Compiling CWinAppSDK delayloadhelper.c
[5/22] Compiling CWinRT shim.c
[5/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux