Build Information
Failed to build Tokamak, reference 0.11.1 (f1cbfc
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:04:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/TokamakUI/Tokamak.git
Reference: 0.11.1
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/TokamakUI/Tokamak
* tag 0.11.1 -> FETCH_HEAD
HEAD is now at f1cbfcf [bug] Missing CoreGraphics import for Swift 5.7.1 / Xcode 14.1 (#528)
Cloned https://github.com/TokamakUI/Tokamak.git
Revision (git rev-parse @):
f1cbfcf073e2675566b0e9aa337441357d40d88a
SUCCESS checkout https://github.com/TokamakUI/Tokamak.git at 0.11.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/TokamakUI/Tokamak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/swiftwasm/JavaScriptKit.git
Fetching https://github.com/swiftwasm/OpenCombineJS.git
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/156] Fetching opencombinejs
[157/1642] Fetching opencombinejs, swift-benchmark
Fetched https://github.com/swiftwasm/OpenCombineJS.git from cache (0.32s)
[1/23801] Fetching javascriptkit
[2/32081] Fetching javascriptkit, opencombine
[7091/45308] Fetching javascriptkit, opencombine, swift-snapshot-testing
Fetched https://github.com/google/swift-benchmark from cache (2.31s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (2.31s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (2.32s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.37s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (2.76s)
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.76s)
Computing version for https://github.com/swiftwasm/OpenCombineJS.git
Computed https://github.com/swiftwasm/OpenCombineJS.git at 0.2.0 (1.12s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.33s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.30.0 (0.45s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.10s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.72s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.38s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.28s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.60s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.96s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/swiftwasm/OpenCombineJS.git
Working copy of https://github.com/swiftwasm/OpenCombineJS.git resolved at 0.2.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.30.0
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk+-3.0 gtk+-3.0
warning: you may be able to install gdk-3.0 using your system-packager:
apt-get install libgtk+-3.0 gtk+-3.0
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk+-3.0 gtk+-3.0
warning: you may be able to install gdk-3.0 using your system-packager:
apt-get install libgtk+-3.0 gtk+-3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin BridgeJSCommandPlugin
[3/3] Compiling plugin BridgeJS
[4/4] Compiling plugin PackageToJS
Building for debugging...
[4/58] Write sources
[21/58] Copying logo-header.png
[21/58] Write sources
[21/58] Copying logo-header.png
[25/58] Compiling _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[26/58] Compiling _CJavaScriptKit _CJavaScriptKit.c
In file included from /host/spi-builder-workspace/Sources/TokamakGTKCHelpers/type_check.c:1:
/host/spi-builder-workspace/Sources/TokamakGTKCHelpers/include/type_check.h:1:10: fatal error: 'termios.h' file not found
1 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[27/58] Compiling TokamakGTKCHelpers type_check.c
[27/58] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm