Build Information
Failed to build Shaft, reference main (3cfae9
), with Swift 6.2 (beta) for Wasm on 5 Sep 2025 18:27:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
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 3cfae97 Add DesktopView.requestFocus
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
3cfae9748c5fe257d8b695976b105eb69d82b539
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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.67s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.30s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/159] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.27s)
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/onevcat/Rainbow
[1/1335] Fetching rainbow
[602/6526] Fetching rainbow, zipfoundationmodern
[2011/17297] Fetching rainbow, zipfoundationmodern, swift-collections
[2765/28433] Fetching rainbow, zipfoundationmodern, swift-collections, yams
[7023/100296] Fetching rainbow, zipfoundationmodern, swift-collections, yams, swift-syntax
[8799/126487] Fetching rainbow, zipfoundationmodern, swift-collections, yams, swift-syntax, javascriptkit
Fetched https://github.com/onevcat/Rainbow from cache (4.37s)
Fetching https://github.com/ShaftUI/SwiftMath
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (4.39s)
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (4.39s)
Fetched https://github.com/ShaftUI/swift-collections from cache (4.40s)
[1/773] Fetching swiftmath
Fetched https://github.com/jpsim/Yams.git from cache (4.95s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.96s)
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.72s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.93s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (1.07s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.43s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (3.43s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.68s)
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
[37/287] Fetching zlib, csprogress
Fetched https://github.com/the-swift-collective/zlib from cache (0.32s)
[240/5180] Fetching csprogress, swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.61s)
Fetched https://github.com/apple/swift-system from cache (0.62s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (1.52s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.75s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.06s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (5.30s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.35.0 (1.65s)
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.3.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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (cce1834)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.35.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/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.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/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
[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
[7/89] Compiling ZLibC uncompr.c
[8/89] Compiling ZLibC zutil.c
[9/89] Compiling ZLibC inffast.c
[10/89] Compiling ZLibC inftrees.c
[11/89] Write swift-version-24593BA9C3E375BF.txt
[12/89] Compiling ZLibC infback.c
[13/89] Compiling ZLibC inflate.c
[14/89] Compiling ZLibC trees.c
[15/89] Compiling ZLibC gzread.c
[16/89] Write sources
[19/89] Compiling ZLibC gzwrite.c
[20/89] Write sources
[21/89] Compiling ZLibC gzclose.c
[21/89] Write sources
[28/89] Copying icudtl.dat
[29/89] Compiling ZLibC gzlib.c
[30/89] Compiling ZLibC compress.c
[31/89] Compiling ZLibC adler32.c
[31/89] Write sources
[37/90] Compiling ZLibC crc32.c
[38/91] Write sources
[39/91] Compiling CSystem shims.c
[39/91] Write sources
[44/159] Write embedded_resources.swift
[45/169] Compiling ZLibC deflate.c
[47/204] Emitting module InternalCollectionsUtilities
[48/206] Emitting module CSProgress
[49/206] Compiling SystemPackage ErrnoWindows.swift
[50/206] Compiling SystemPackage FileDescriptor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/206] Emitting module Fetch
/host/spi-builder-workspace/Sources/Fetch/Fetch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if canImport(FoundationNetworking)
[52/206] Compiling Fetch Fetch.swift
/host/spi-builder-workspace/Sources/Fetch/Fetch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if canImport(FoundationNetworking)
[53/206] Emitting module ZLib
[54/206] Compiling ZLib ZLib.swift
[55/206] Compiling SystemPackage Constants.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/String+Math.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | internal extension String {
11 | var floatArray: [Float] {
[56/206] Compiling SystemPackage Exports.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/String+Math.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | internal extension String {
11 | var floatArray: [Float] {
[57/206] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/String+Math.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | internal extension String {
11 | var floatArray: [Float] {
[58/206] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/206] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/206] Emitting module SwiftMath
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/String+Math.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | internal extension String {
11 | var floatArray: [Float] {
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Extensions/CharacterSet/CharacterSet+Contains.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | internal extension CharacterSet {
BUILD FAILURE 6.2 wasm