Build Information
Failed to build Gtk, reference main (133d37), with Swift 6.2 for Wasm on 9 Mar 2026 23:49:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/rhx/swiftgtk.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/rhx/swiftgtk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 133d37d Stabilise CI on development
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
133d37d714fa01fa134ccc85049af547eab663f5
SUCCESS checkout https://github.com/rhx/swiftgtk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rhx/swiftgtk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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/rhx/gir2swift.git
[1/5583] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (0.50s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3969] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (1.38s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6124] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (6.31s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/316] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.23s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/26136] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (3.44s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1669] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git from cache (0.46s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/1000] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git from cache (0.47s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21843] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (11.20s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/59779] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git from cache (21.30s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/15504] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git from cache (1.49s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1803] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git from cache (0.45s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4075] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git from cache (1.41s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/172] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git from cache (0.27s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/2171] Fetching swift-docc-plugin
[219/19353] Fetching swift-docc-plugin, swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[19354/30858] Fetching swift-docc-plugin, swift-argument-parser, yams
Fetched https://github.com/apple/swift-docc-plugin from cache (0.90s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.91s)
[461/11505] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.53s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (2.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3668] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.40s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/rhx/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.git resolved at main (0318374)
Creating working copy for https://github.com/rhx/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main (9a2ee26)
Creating working copy for https://github.com/rhx/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.git resolved at main (a0fee7d)
Creating working copy for https://github.com/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.git resolved at main (87cd2aa)
Creating working copy for https://github.com/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at main (6ce71a6)
Creating working copy for https://github.com/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.git resolved at main (a959fc9)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (19deabb)
Creating working copy for https://github.com/rhx/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main (eecf947)
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/rhx/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.git resolved at main (acaaa7f)
Creating working copy for https://github.com/rhx/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main (788b7a6)
Creating working copy for https://github.com/rhx/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main (1670dc5)
Creating working copy for https://github.com/rhx/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main (3a5f1ed)
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.6
Creating working copy for https://github.com/rhx/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.git resolved at main (10e8466)
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install harfbuzz-gobject using your system-packager:
apt-get install libharfbuzz-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gio-unix-2.0 using your system-packager:
apt-get install libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pango using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install cairo using your system-packager:
apt-get install libcairo2-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pangocairo using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
apt-get install libgdk-pixbuf2.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install atk using your system-packager:
apt-get install libatk1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
[0/21] Write sources
[6/21] Write swift-version-24593BA9C3E375BF.txt
[7/21] Compiling writer.c
[8/21] Compiling reader.c
[9/21] Compiling api.c
[10/21] Compiling parser.c
[11/24] Compiling emitter.c
[12/30] Compiling scanner.c
[14/45] Emitting module SwiftLibXML
[15/45] Emitting module ArgumentParserToolInfo
[16/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/46] Wrapping AST for ArgumentParserToolInfo for debugging
[19/92] Compiling SwiftLibXML XMLPath.swift
[20/92] Compiling SwiftLibXML EmptySequence.swift
[21/92] Compiling SwiftLibXML XMLAttribute.swift
[22/92] Compiling SwiftLibXML XMLNameSpace.swift
[23/92] Compiling SwiftLibXML XMLElement.swift
[24/92] Emitting module Yams
[25/92] Compiling ArgumentParser Option.swift
[26/92] Compiling ArgumentParser OptionGroup.swift
[27/93] Compiling ArgumentParser ArgumentHelp.swift
[28/93] Compiling ArgumentParser ArgumentVisibility.swift
[29/93] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/93] Compiling ArgumentParser CompletionsGenerator.swift
[31/93] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/93] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/93] Compiling ArgumentParser Flag.swift
[34/93] Compiling ArgumentParser NameSpecification.swift
[35/93] Compiling ArgumentParser Argument.swift
[36/93] Compiling ArgumentParser ArgumentDiscussion.swift
[37/93] Compiling ArgumentParser CompletionKind.swift
[38/93] Compiling ArgumentParser Errors.swift
[39/93] Compiling SwiftLibXML XMLDocument.swift
[40/94] Wrapping AST for SwiftLibXML for debugging
[42/94] Compiling ArgumentParser Foundation.swift
[43/94] Compiling ArgumentParser Mutex.swift
[44/94] Compiling ArgumentParser Platform.swift
[45/94] Compiling ArgumentParser SequenceExtensions.swift
[46/94] Compiling ArgumentParser StringExtensions.swift
[47/94] Compiling ArgumentParser SwiftExtensions.swift
[48/100] Compiling Yams YamlError.swift
[49/101] Wrapping AST for Yams for debugging
[58/101] Compiling ArgumentParser Tree.swift
[59/101] Compiling ArgumentParser CodingKeyValidator.swift
[60/101] Compiling ArgumentParser NonsenseFlagsValidator.swift
[61/101] Compiling ArgumentParser ParsableArgumentsValidation.swift
[62/101] Compiling ArgumentParser PositionalArgumentsValidator.swift
[63/101] Compiling ArgumentParser UniqueNamesValidator.swift
[64/101] Compiling ArgumentParser InputOrigin.swift
[65/101] Compiling ArgumentParser Name.swift
[66/101] Compiling ArgumentParser Parsed.swift
[67/101] Compiling ArgumentParser ParsedValues.swift
[68/101] Compiling ArgumentParser ParserError.swift
[69/101] Compiling ArgumentParser SplitArguments.swift
[70/101] Compiling ArgumentParser DumpHelpGenerator.swift
[71/101] Compiling ArgumentParser HelpCommand.swift
[72/101] Compiling ArgumentParser HelpGenerator.swift
[73/101] Compiling ArgumentParser MessageInfo.swift
[74/101] Compiling ArgumentParser UsageGenerator.swift
[75/101] Compiling ArgumentParser CollectionExtensions.swift
[76/101] Emitting module ArgumentParser
[84/101] Compiling ArgumentParser ParentCommand.swift
[85/101] Compiling ArgumentParser AsyncParsableCommand.swift
[86/101] Compiling ArgumentParser CommandConfiguration.swift
[87/101] Compiling ArgumentParser CommandGroup.swift
[88/101] Compiling ArgumentParser EnumerableFlag.swift
[89/101] Compiling ArgumentParser ExpressibleByArgument.swift
[90/101] Compiling ArgumentParser ParsableArguments.swift
[91/101] Compiling ArgumentParser ParsableCommand.swift
[92/101] Compiling ArgumentParser ArgumentDecoder.swift
[93/101] Compiling ArgumentParser ArgumentDefinition.swift
[94/101] Compiling ArgumentParser ArgumentSet.swift
[95/101] Compiling ArgumentParser CommandParser.swift
[96/101] Compiling ArgumentParser InputKey.swift
[97/102] Wrapping AST for ArgumentParser for debugging
[99/143] Compiling libgir2swift Character+Utilities.swift
[100/143] Compiling libgir2swift Collection+Utilities.swift
[101/143] Compiling libgir2swift Streams.swift
[102/143] Compiling libgir2swift String+Substring.swift
[103/143] Compiling libgir2swift String+Utilities.swift
[104/143] Compiling libgir2swift GirEnumeration.swift
[105/143] Compiling libgir2swift GirField.swift
[106/143] Compiling libgir2swift GirFunction.swift
[107/143] Compiling libgir2swift GirInterface.swift
[108/143] Compiling libgir2swift GirMethod.swift
[109/143] Compiling libgir2swift GirProperty.swift
[110/148] Compiling libgir2swift gtk2swiftdoc.swift
[111/148] Compiling libgir2swift ConversionContext.swift
[112/148] Compiling libgir2swift Gir+Enums.swift
[113/148] Compiling libgir2swift Gir+KnowTypeSets.swift
[114/148] Compiling libgir2swift Gir+KnownTypes.swift
[115/148] Compiling libgir2swift Gir.swift
[116/148] Compiling libgir2swift GirRecord.swift
[117/148] Compiling libgir2swift GirSignal.swift
[118/148] Compiling libgir2swift GirThing.swift
[119/148] Compiling libgir2swift GirUnion.swift
[120/148] Compiling libgir2swift girtype+xml.swift
[121/148] Compiling libgir2swift GirBitfield.swift
[122/148] Compiling libgir2swift GirCType.swift
[123/148] Compiling libgir2swift GirCallback.swift
[124/148] Compiling libgir2swift GirClass.swift
[125/148] Compiling libgir2swift GirConstant.swift
[126/148] Compiling libgir2swift GirDatatype.swift
[127/148] Compiling libgir2swift Gir2Swift.swift
[128/148] Compiling libgir2swift GirType.swift
[129/148] Compiling libgir2swift TypeConversion.swift
[130/148] Compiling libgir2swift TypeReference.swift
[131/148] Compiling libgir2swift GirAlias.swift
[132/148] Compiling libgir2swift GirArgument.swift
[133/148] Compiling libgir2swift System.swift
[134/148] Compiling libgir2swift XML+Utilities.swift
[135/148] Compiling libgir2swift generation.swift
[136/148] Compiling libgir2swift planning.swift
[137/148] Compiling libgir2swift postprocessing.swift
[138/148] Compiling libgir2swift CodeBuilder.swift
[139/148] Compiling libgir2swift c2swift.swift
[140/148] Compiling libgir2swift emit-class.swift
[141/148] Compiling libgir2swift emit-signals.swift
[142/148] Compiling libgir2swift gir+swift.swift
[143/148] Compiling libgir2swift girtypes+swift.swift
[144/148] Emitting module libgir2swift
[145/149] Wrapping AST for libgir2swift for debugging
[147/151] Compiling gir2swift main.swift
[148/151] Emitting module gir2swift
[149/152] Wrapping AST for gir2swift for debugging
[150/152] Write Objects.LinkFileList
[151/152] Linking gir2swift-tool
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install harfbuzz-gobject using your system-packager:
apt-get install libharfbuzz-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gio-unix-2.0 using your system-packager:
apt-get install libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pango using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install cairo using your system-packager:
apt-get install libcairo2-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install pangocairo using your system-packager:
apt-get install libpango1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
apt-get install libgdk-pixbuf2.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gdk-3.0 using your system-packager:
apt-get install libgtk-3-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install atk using your system-packager:
apt-get install libatk1.0-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin gir2swift-plugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/73] Write sources
[12/73] Compiling writer.c
[13/73] Compiling reader.c
[14/73] Write sources
In file included from /host/spi-builder-workspace/Sources/GtkCHelpers/gtk_dialog.c:1:
/host/spi-builder-workspace/Sources/GtkCHelpers/include/gtk_dialog.h:1:10: fatal error: 'termios.h' file not found
1 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[18/73] Compiling GtkCHelpers gtk_dialog.c
[18/73] Compiling writer.c
[18/73] Compiling emitter.c
[18/73] Compiling api.c
[18/73] Compiling parser.c
[18/73] Compiling scanner.c
[18/73] Compiling api.c
[18/73] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm