Build Information
Failed to build Shaft, reference 0.1.0 (59cf79
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 18:50:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 0.1.0
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
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 59cf792 Split Shaft into multiple build targets (#16)
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
59cf792d418b1681fc69ce4437db109cdc2f51aa
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at 0.1.0
========================================
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-0":/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.60s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.27s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/151] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.27s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/ShaftUI/SwiftMath
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/gregcotten/ZIPFoundationModern
[1/5191] Fetching zipfoundationmodern
[573/5964] Fetching zipfoundationmodern, swiftmath
[1241/7160] Fetching zipfoundationmodern, swiftmath, rainbow
[2645/18034] Fetching zipfoundationmodern, swiftmath, rainbow, yams
[2646/28805] Fetching zipfoundationmodern, swiftmath, rainbow, yams, swift-collections
[15393/99671] Fetching zipfoundationmodern, swiftmath, rainbow, yams, swift-collections, swift-syntax
Fetched https://github.com/onevcat/Rainbow from cache (2.02s)
[43909/98475] Fetching zipfoundationmodern, swiftmath, yams, swift-collections, swift-syntax
Fetched https://github.com/ShaftUI/SwiftMath from cache (2.32s)
[51640/97702] Fetching zipfoundationmodern, yams, swift-collections, swift-syntax
Fetched https://github.com/ShaftUI/swift-collections from cache (2.35s)
[42286/86931] Fetching zipfoundationmodern, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.37s)
[32121/76057] Fetching zipfoundationmodern, swift-syntax
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (8.02s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.18s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.96s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (2.59s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.80s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.63s)
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/apple/swift-system
[1/48] Fetching zlib
[46/287] Fetching zlib, csprogress
[285/4723] Fetching zlib, csprogress, swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.78s)
Fetched https://github.com/the-swift-collective/zlib from cache (0.82s)
Fetched https://github.com/apple/swift-system from cache (0.82s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (1.29s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.49s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.37s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.44s)
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/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.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/ShaftUI/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/gregcotten/ZIPFoundationModern
Working copy of https://github.com/gregcotten/ZIPFoundationModern resolved at 0.0.5
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (587b067)
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
Building for debugging...
[2/389] Write sources
[8/389] Compiling ZLibC uncompr.c
[9/389] Compiling ZLibC zutil.c
[10/389] Compiling ZLibC inftrees.c
[11/389] Compiling ZLibC inffast.c
[12/389] Compiling ZLibC trees.c
[13/389] Compiling ZLibC gzwrite.c
[14/389] Compiling ZLibC inflate.c
[15/389] Compiling ZLibC infback.c
[16/389] Compiling ZLibC gzread.c
[17/389] Compiling ZLibC gzclose.c
[18/389] Write sources
[21/389] Compiling ZLibC gzlib.c
[22/389] Write sources
[23/389] Compiling _SwiftSyntaxCShims dummy.c
[24/389] Write sources
[33/389] Compiling ZLibC compress.c
[34/389] Compiling ZLibC adler32.c
[35/389] Compiling CSystem shims.c
[36/389] Compiling ZLibC crc32.c
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-shell-protocol.c:33:10: fatal error: 'wayland-util.h' file not found
33 | #include "wayland-util.h"
| ^~~~~~~~~~~~~~~~
1 error generated.
[37/389] Compiling xdg-shell-protocol.c
[37/389] Compiling xdg-output-unstable-v1-protocol.c
[37/389] Compiling xdg-dialog-v1-protocol.c
[37/389] Compiling xdg-foreign-unstable-v2-protocol.c
[37/389] Compiling ZLibC deflate.c
[37/389] Compiling CSkia utils.cpp
[37/389] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-toplevel-icon-v1-protocol.c:29:10: fatal error: 'wayland-util.h' file not found
29 | #include "wayland-util.h"
| ^~~~~~~~~~~~~~~~
[37/389] Compiling xdg-toplevel-icon-v1-protocol.c
BUILD FAILURE 6.2 wasm