Build Information
Failed to build swift-cross-ui, reference main (1a887c
), with Swift 5.10 for macOS (SPM) on 1 May 2025 07:10:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wabiverse/swift-cross-ui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wabiverse/swift-cross-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1a887c2 appkit: mark makeCoordinator with MainActor. * The appropriate method that should NOT have a main actor is determineViewSize, since that will break compiling with swift 6 strict concurrency.
Cloned https://github.com/wabiverse/swift-cross-ui.git
Revision (git rev-parse @):
1a887c25d505e9ea4c2cc90bae71196d31645b57
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wabiverse/swift-cross-ui.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/wabiverse/swift-cross-ui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/250] Copying GTK.png
[2/250] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[2/250] Copying GTK.png
[5/250] Write swift-version-33747A42983211AE.txt
[6/250] Compiling webpdec.c
[7/250] Compiling sharpyuv.c
[8/250] Compiling tiffdec.c
[9/250] Compiling sharpyuv_dsp.c
[10/250] Compiling pngdec.c
[11/250] Compiling pnmdec.c
[12/250] Compiling metadata.c
[13/250] Compiling jpegdec.c
[14/250] Compiling sharpyuv_gamma.c
[15/250] Compiling _SwiftSyntaxCShims dummy.c
[16/250] Compiling imageio_util.c
[17/250] Compiling image_dec.c
[18/250] Compiling image_enc.c
[19/250] Compiling sharpyuv_csp.c
[20/250] Compiling sharpyuv_neon.c
[21/250] Compiling wicdec.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/libwebp/libwebp/sharpyuv/sharpyuv_cpu.c:14:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libwebp/libwebp/src/dsp/cpu.c:230:1: warning: ambiguous expansion of macro 'WEBP_EXTERN' [-Wambiguous-macro]
WEBP_EXTERN VP8CPUInfo VP8GetCPUInfo;
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libwebp/libwebp/src/webp/types.h:68:11: note: expanding this definition of 'WEBP_EXTERN'
# define WEBP_EXTERN extern __attribute__ ((visibility ("default")))
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libwebp/libwebp/sharpyuv/sharpyuv_cpu.h:18:9: note: other definition of 'WEBP_EXTERN'
#define WEBP_EXTERN extern
^
1 warning generated.
[22/250] Compiling sharpyuv_cpu.c
[23/250] Compiling sharpyuv_sse2.c
[24/250] Compiling ZLibC zutil.c
[25/250] Compiling ZLibC gzlib.c
[26/250] Compiling ZLibC gzread.c
[27/250] Compiling ZLibC gzclose.c
[28/250] Compiling ZLibC inftrees.c
[29/250] Compiling ZLibC infback.c
[30/250] Write sources
[33/250] Compiling ZLibC trees.c
[34/250] Write sources
[36/250] Compiling ZLibC crc32.c
[38/250] Write sources
[47/250] Compiling ZLibC compress.c
[48/250] Compiling ZLibC inffast.c
[49/250] Write sources
[55/250] Compiling ZLibC gzwrite.c
[55/250] Write sources
[64/250] Write GtkExample-entitlement.plist
[65/250] Compiling ZLibC adler32.c
[66/250] Compiling ZLibC deflate.c
[66/250] Write sources
[66/250] Write GtkCodeGen-entitlement.plist
[66/250] Write sources
[71/250] Write Gtk3Example-entitlement.plist
[72/250] Compiling ZLibC inflate.c
[73/250] Compiling ZLibC uncompr.c
[73/250] Write sources
In file included from /Users/admin/builder/spi-builder-workspace/Sources/GtkCustomWidgets/gtk_helpers.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/GtkCustomWidgets/include/gtk_helpers.h:4:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
^~~~~~~~~~~
1 error generated.
[76/250] Compiling GtkCustomWidgets gtk_helpers.c
[76/250] Compiling Gtk3CustomWidgets gtk_custom_root_widget.c
[76/250] Compiling Gtk3CustomWidgets gtk_helpers.c
[76/250] Compiling GtkCustomWidgets gtk_custom_root_widget.c
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: gtk4-launch: command not found
Fetching https://github.com/wabiverse/swift-windowsappsdk
[1/170] Fetching swift-windowsappsdk
Fetched https://github.com/wabiverse/swift-windowsappsdk from cache (1.45s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.70s)
Fetching https://github.com/wabiverse/swift-winui
[1/109] Fetching swift-winui
Fetched https://github.com/wabiverse/swift-winui from cache (0.93s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.05s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/199] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.83s)
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/CoreOffice/XMLCoder
[1/2049] Fetching swift-docc-plugin
[83/12060] Fetching swift-docc-plugin, xmlcoder
[266/12174] Fetching swift-docc-plugin, xmlcoder, swift-image-formats
[380/13043] Fetching swift-docc-plugin, xmlcoder, swift-image-formats, swift-macro-toolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.14s)
Fetched https://github.com/stackotter/swift-image-formats from cache (1.14s)
[10881/81171] Fetching xmlcoder, swift-macro-toolkit, swift-syntax
Fetched https://github.com/CoreOffice/XMLCoder from cache (3.05s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.05s)
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (3.05s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.3.2 (0.47s)
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/libpng
[1/30] Fetching libpng
[31/84] Fetching libpng, libwebp
[85/3195] Fetching libpng, libwebp, jpeg
Fetched https://github.com/the-swift-collective/libpng from cache (2.65s)
Fetched https://github.com/stackotter/jpeg from cache (2.65s)
Fetched https://github.com/the-swift-collective/libwebp from cache (2.65s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (0.43s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.47s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.48s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.46s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/41] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.62s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.1 (0.46s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.6.1 (0.37s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.45s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.46s)
Creating working copy for https://github.com/stackotter/swift-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.6.1
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.1
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
Creating working copy for https://github.com/stackotter/swift-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.3.2
Creating working copy for https://github.com/wabiverse/swift-windowsappsdk
Working copy of https://github.com/wabiverse/swift-windowsappsdk resolved at main (36e2f6c)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/wabiverse/swift-winui
Working copy of https://github.com/wabiverse/swift-winui resolved at main (0529457)
Creating working copy for https://github.com/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
Creating working copy for https://github.com/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (dbe1456)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (3e3d5a0)
warning: 'swift-macro-toolkit': 'swift-macro-toolkit' dependency on 'https://github.com/swiftlang/swift-syntax.git' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gtk4 using your system-packager:
brew install gtk4
warning: you may be able to install gtk+-3.0 using your system-packager:
brew install gtk+3
BUILD FAILURE 5.10 macosSpm