Build Information
Failed to build Shaft, reference 0.2.2 (e1fafe), with Swift 6.2 for Wasm on 22 Oct 2025 20:01:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 0.2.2
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.2.2 -> FETCH_HEAD
HEAD is now at e1fafe0 Remove debug pritn
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
e1fafe07bfc9293bcc71d4001a0e7d630092666c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at 0.2.2
========================================
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-4609320-2":/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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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.33s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/159] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (2.00s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6946] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (2.55s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18220] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.61s)
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ShaftUI/SwiftSDL3
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jpsim/Yams.git
[1/1339] Fetching rainbow
[979/3472] Fetching rainbow, swift-docc-plugin
Fetched https://github.com/onevcat/Rainbow from cache (0.35s)
Fetching https://github.com/ShaftUI/SwiftMath
[256/2133] Fetching swift-docc-plugin
[279/12904] Fetching swift-docc-plugin, swift-collections
[1481/24173] Fetching swift-docc-plugin, swift-collections, yams
[5514/27427] Fetching swift-docc-plugin, swift-collections, yams, swiftsdl3
[8038/100053] Fetching swift-docc-plugin, swift-collections, yams, swiftsdl3, swift-syntax
[8543/100826] Fetching swift-docc-plugin, swift-collections, yams, swiftsdl3, swift-syntax, swiftmath
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.34s)
[13705/100053] Fetching swift-docc-plugin, swift-collections, yams, swiftsdl3, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.91s)
[56103/88784] Fetching swift-docc-plugin, swift-collections, swiftsdl3, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (5.00s)
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (5.01s)
Fetched https://github.com/ShaftUI/swift-collections from cache (5.02s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.07s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.71s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.65s)
Computing version for https://github.com/ShaftUI/SwiftSDL3
Computed https://github.com/ShaftUI/SwiftSDL3 at 0.1.1 (0.53s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (2.02s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (4.07s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3556] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.89s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.52s)
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at 0.1.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/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/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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
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/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (cce1834)
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/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (0186e80)
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-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (924936d)
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 (17.50s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.50s)
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
[9/87] Compiling cmark-gfm-extensions core-extensions.c
[10/87] Compiling cmark-gfm-extensions tasklist.c
[11/87] Compiling cmark-gfm-extensions strikethrough.c
[12/87] Compiling cmark-gfm-extensions tagfilter.c
[13/87] Compiling cmark-gfm-extensions autolink.c
[14/87] Compiling cmark-gfm-extensions ext_scanners.c
[15/87] Compiling cmark-gfm xml.c
[16/87] Write swift-version-24593BA9C3E375BF.txt
[17/87] Compiling cmark-gfm-extensions table.c
[18/87] Compiling cmark-gfm syntax_extension.c
[19/87] Compiling cmark-gfm render.c
[20/87] Compiling cmark-gfm references.c
[21/87] Compiling cmark-gfm plugin.c
[21/87] Compiling cmark-gfm registry.c
[23/87] Compiling cmark-gfm plaintext.c
[24/89] Compiling cmark-gfm linked_list.c
[25/89] Compiling cmark-gfm man.c
[26/89] Compiling cmark-gfm map.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/89] 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)
[28/89] Compiling cmark-gfm node.c
[29/89] Compiling cmark-gfm iterator.c
[30/89] Compiling cmark-gfm latex.c
[31/89] Compiling cmark-gfm houdini_href_e.c
[32/89] Compiling cmark-gfm houdini_html_e.c
[33/89] Compiling cmark-gfm html.c
[34/89] Compiling cmark-gfm inlines.c
[35/89] Compiling cmark-gfm footnotes.c
[36/89] Compiling cmark-gfm cmark_ctype.c
[36/89] Compiling cmark-gfm houdini_html_u.c
[38/89] Compiling cmark-gfm commonmark.c
[39/89] Write sources
[41/89] Compiling cmark-gfm buffer.c
[42/89] Write sources
[44/89] Compiling cmark-gfm cmark.c
[45/89] Compiling cmark-gfm arena.c
[46/89] Copying icudtl.dat
[47/89] Write sources
[48/94] Write embedded_resources.swift
[49/94] Write sources
[53/95] Compiling cmark-gfm blocks.c
[53/95] Write sources
[60/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)
[60/97] Compiling CSkia utils.cpp
[60/97] Compiling cmark-gfm scanners.c
[60/97] Compiling cmark-gfm utf8.c
BUILD FAILURE 6.2 wasm