Build Information
Failed to build Shaft, reference main (ea5299), with Swift 6.2 for Wasm on 22 Nov 2025 16:04:10 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-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 ea52999 Update SwiftReload version
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
ea52999447248fcb91096392dc95e2f1afece8ef
SPI manifest file found: $PWD/.spi.yml
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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.21s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/7002] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.70s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18247] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.32s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/ShaftUI/SwiftReload.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/ShaftUI/SwiftSDL3
Fetching https://github.com/ShaftUI/SwiftMath
[1/773] Fetching swiftmath
[473/2112] Fetching swiftmath, rainbow
[989/2278] Fetching swiftmath, rainbow, swiftreload
[1677/4436] Fetching swiftmath, rainbow, swiftreload, swift-docc-plugin
[2733/15207] Fetching swiftmath, rainbow, swiftreload, swift-docc-plugin, swift-collections
[5945/18513] Fetching swiftmath, rainbow, swiftreload, swift-docc-plugin, swift-collections, swiftsdl3
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (1.14s)
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (1.16s)
Fetched https://github.com/ShaftUI/SwiftMath from cache (1.26s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.27s)
Fetched https://github.com/onevcat/Rainbow from cache (1.27s)
Fetched https://github.com/ShaftUI/swift-collections from cache (1.31s)
Computing version for https://github.com/ShaftUI/SwiftReload.git
Computed https://github.com/ShaftUI/SwiftReload.git at 0.0.1 (1.75s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/11263] Fetching yams
[4619/84244] Fetching yams, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.92s)
Fetched https://github.com/jpsim/Yams.git from cache (7.92s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (8.63s)
Computing version for https://github.com/ShaftUI/SwiftSDL3
Computed https://github.com/ShaftUI/SwiftSDL3 at 0.1.6 (0.42s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.12s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.60s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3580] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.42s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at 0.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/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
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/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at 0.1.6
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (924936d)
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.5
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/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (b2135f4)
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
Downloading binary artifact https://github.com/ShaftUI/skia-bundle/releases/download/build-126-3/skia-m126-6bfb13368b.artifactbundle.zip
[1397/127640819] Downloading https://github.com/ShaftUI/skia-bundle/releases/download/build-126-3/skia-m126-6bfb13368b.artifactbundle.zip
Downloaded https://github.com/ShaftUI/skia-bundle/releases/download/build-126-3/skia-m126-6bfb13368b.artifactbundle.zip (12.92s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.65s)
warning: 'swiftsdl3': Invalid Source '/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/src/joystick/steam': File not found.
warning: 'swiftsdl3': Invalid Source '/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/src/render/SDL_d3dmath.c': File not found.
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/87] Write sources
[23/87] Compiling CAtomic CAtomic.c
[24/87] Compiling cmark-gfm arena.c
[25/87] Compiling cmark-gfm cmark.c
[26/87] Compiling cmark-gfm buffer.c
[27/87] Compiling cmark-gfm-extensions tagfilter.c
[28/87] Write swift-version-24593BA9C3E375BF.txt
[29/87] Compiling cmark-gfm-extensions tasklist.c
[30/87] Compiling cmark-gfm-extensions strikethrough.c
[31/87] Compiling cmark-gfm-extensions core-extensions.c
[32/87] Compiling cmark-gfm blocks.c
[33/87] Compiling cmark-gfm-extensions ext_scanners.c
[34/91] Compiling cmark-gfm-extensions table.c
[35/91] Compiling cmark-gfm-extensions autolink.c
[36/97] Compiling cmark-gfm xml.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/97] 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)
[38/97] Compiling cmark-gfm syntax_extension.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/97] Emitting module Splash
/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/97] Emitting module InternalCollectionsUtilities
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/Descriptions.swift:110:5: error: cannot find 'debugPrint' in scope
108 | result += ", "
109 | }
110 | debugPrint(item, terminator: "", to: &result)
| `- error: cannot find 'debugPrint' in scope
111 | }
112 | result += "]"
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/Descriptions.swift:129:5: error: cannot find 'debugPrint' in scope
127 | result += ", "
128 | }
129 | debugPrint(key, terminator: "", to: &result)
| `- error: cannot find 'debugPrint' in scope
130 | result += ": "
131 | debugPrint(value, terminator: "", to: &result)
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/Descriptions.swift:131:5: error: cannot find 'debugPrint' in scope
129 | debugPrint(key, terminator: "", to: &result)
130 | result += ": "
131 | debugPrint(value, terminator: "", to: &result)
| `- error: cannot find 'debugPrint' in scope
132 | }
133 | result += "]"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/97] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[43/97] 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)
[43/97] Compiling CSkia utils.cpp
[43/97] Compiling cmark-gfm scanners.c
[43/97] Compiling cmark-gfm utf8.c
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/Descriptions.swift:110:5: error: cannot find 'debugPrint' in scope
108 | result += ", "
109 | }
110 | debugPrint(item, terminator: "", to: &result)
| `- error: cannot find 'debugPrint' in scope
111 | }
112 | result += "]"
/host/spi-builder-workspace/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/Descriptions.swift:129:5: error: cannot find 'debugPrint' in scope
127 | result += ", "
128 | }
129 | debugPrint(key, terminator: "", to: &result)
| `- error: cannot find 'debugPrint' in scope
130 | result += ": "
131 | debugPrint(value, terminator: "", to: &result)
BUILD FAILURE 6.2 wasm