Build Information
Failed to build Shaft, reference main (ffd840
), with Swift 6.2 (beta) for Wasm on 25 Jun 2025 15:01:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/Shaft.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/ShaftUI/Shaft
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ffd840d Fix FocusNode debugLabel
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
ffd840dcca85084637c02c883e41f14f42c24469
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ShaftUI/Shaft.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/ShaftUI/SwiftSDL3
[1/1787] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (0.63s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.94s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/151] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.71s)
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/gregcotten/ZIPFoundationModern
[1/1196] Fetching rainbow
[1197/11967] Fetching rainbow, swift-collections
[1951/22903] Fetching rainbow, swift-collections, yams
[2817/46739] Fetching rainbow, swift-collections, yams, javascriptkit
[35824/117690] Fetching rainbow, swift-collections, yams, javascriptkit, swift-syntax
[37010/122881] Fetching rainbow, swift-collections, yams, javascriptkit, swift-syntax, zipfoundationmodern
Fetched https://github.com/ShaftUI/swift-collections from cache (1.35s)
[50053/112110] Fetching rainbow, yams, javascriptkit, swift-syntax, zipfoundationmodern
Fetching https://github.com/ShaftUI/SwiftMath
Fetched https://github.com/onevcat/Rainbow from cache (1.47s)
[52735/110914] Fetching yams, javascriptkit, swift-syntax, zipfoundationmodern
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (1.49s)
[48253/105723] Fetching yams, javascriptkit, swift-syntax
[49673/106496] Fetching yams, javascriptkit, swift-syntax, swiftmath
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.30s)
[55348/105723] Fetching yams, javascriptkit, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.90s)
[53636/94787] Fetching javascriptkit, swift-syntax
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (5.15s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.19s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.97s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.80s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.52s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.39s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.60s)
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/apple/swift-system
Fetching https://github.com/the-swift-collective/zlib
[1/48] Fetching zlib
[49/287] Fetching zlib, csprogress
Fetched https://github.com/the-swift-collective/zlib from cache (0.35s)
[1/4436] Fetching swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.36s)
Fetched https://github.com/apple/swift-system from cache (0.56s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (1.22s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.66s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.72s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.30.0 (0.61s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.47s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.30.0
Creating working copy for https://github.com/ShaftUI/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/ShaftUI/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (587b067)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/gregcotten/ZIPFoundationModern
Working copy of https://github.com/gregcotten/ZIPFoundationModern resolved at 0.0.5
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/89] Write sources
[20/89] Compiling CSystem shims.c
[21/89] Compiling ZLibC adler32.c
[22/89] Compiling CSystem shims.c
[22/89] Compiling ZLibC compress.c
[24/89] Compiling ZLibC crc32.c
[25/89] Compiling ZLibC zutil.c
[26/89] Compiling ZLibC uncompr.c
[27/89] Compiling ZLibC inftrees.c
[28/89] Compiling ZLibC deflate.c
[29/89] Compiling ZLibC trees.c
[30/89] Compiling ZLibC inffast.c
[31/89] Compiling ZLibC gzwrite.c
[32/89] Write sources
[36/89] Compiling ZLibC infback.c
[37/89] Compiling ZLibC inflate.c
[38/89] Compiling ZLibC gzread.c
[39/89] Write sources
[40/89] Copying icudtl.dat
[41/89] Write sources
[48/89] Compiling ZLibC gzclose.c
[49/89] Compiling ZLibC gzlib.c
[50/89] Write embedded_resources.swift
[51/89] Write sources
In file included from /host/spi-builder-workspace/Sources/CSkia/utils.cpp:1:
In file included from /host/spi-builder-workspace/Sources/CSkia/utils.h:78:
/host/spi-builder-workspace/Sources/CSkia/include/ports/SkFontMgr_mac_ct.h:15:9: fatal error: 'ApplicationServices/ApplicationServices.h' file not found
15 | #import <ApplicationServices/ApplicationServices.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[52/89] Compiling CSkia utils.cpp
[52/89] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm