The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Tokamak, reference main (e0d8e9), 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-1":/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: 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/TokamakUI/Tokamak
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e0d8e9d fix replaceChild parameter order (#522)
Cloned https://github.com/TokamakUI/Tokamak.git
Revision (git rev-parse @):
e0d8e9db462938610337327ade58161aa3b698ac
SUCCESS checkout https://github.com/TokamakUI/Tokamak.git at main
========================================
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-1":/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/google/swift-benchmark
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/swiftwasm/JavaScriptKit.git
Fetching https://github.com/swiftwasm/OpenCombineJS.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/156] Fetching opencombinejs
[157/1642] Fetching opencombinejs, swift-benchmark
[1643/25443] Fetching opencombinejs, swift-benchmark, javascriptkit
[2358/33723] Fetching opencombinejs, swift-benchmark, javascriptkit, opencombine
[16899/46950] Fetching opencombinejs, swift-benchmark, javascriptkit, opencombine, swift-snapshot-testing
Fetched https://github.com/swiftwasm/OpenCombineJS.git from cache (0.96s)
Fetched https://github.com/google/swift-benchmark from cache (0.96s)
[36314/45308] Fetching javascriptkit, opencombine, swift-snapshot-testing
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.97s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (0.99s)
[4365/13227] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.16s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (2.52s)
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.72s)
Computing version for https://github.com/swiftwasm/OpenCombineJS.git
Computed https://github.com/swiftwasm/OpenCombineJS.git at 0.2.0 (1.10s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.45s)
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.43s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.13s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.74s)
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.34s)
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.29s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.62s)
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.59s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.94s)
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/swiftwasm/OpenCombineJS.git
Working copy of https://github.com/swiftwasm/OpenCombineJS.git resolved at 0.2.0
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/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.30.0
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/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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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
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
[14/58] Copying logo-header.png
[15/58] Write sources
[23/58] Copying logo-header.png
[24/58] Write sources
[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