Build Information
Failed to build Gdk, reference main (6ce71a), with Swift 6.1 for Wasm on 9 Mar 2026 11:00:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/SwiftGdk.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/SwiftGdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6ce71a6 Update README with current swift --version output and tested library versions
Cloned https://github.com/rhx/SwiftGdk.git
Revision (git rev-parse @):
6ce71a6d51dd5aee942d9c4499a6e6083adb1188
SUCCESS checkout https://github.com/rhx/SwiftGdk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rhx/SwiftGdk.git
https://github.com/rhx/SwiftGdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "gir2swift",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/rhx/gir2swift.git"
},
{
"identity" : "swiftgdkpixbuf",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/rhx/SwiftGdkPixbuf.git"
},
{
"identity" : "swiftpangocairo",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/rhx/SwiftPangoCairo.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Gdk",
"name" : "Gdk",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Gdk",
"targets" : [
"Gdk"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GdkTests",
"module_type" : "SwiftTarget",
"name" : "GdkTests",
"path" : "Tests/GdkTests",
"sources" : [
"GdkTests.swift"
],
"target_dependencies" : [
"Gdk"
],
"type" : "test"
},
{
"c99name" : "Gdk",
"module_type" : "SwiftTarget",
"name" : "Gdk",
"path" : "Sources/Gdk",
"product_dependencies" : [
"gir2swift",
"GdkPixBuf",
"PangoCairo",
"gir2swift-plugin"
],
"product_memberships" : [
"Gdk"
],
"sources" : [
"Gdk.swift"
],
"target_dependencies" : [
"CGdk"
],
"type" : "library"
},
{
"c99name" : "CGdk",
"module_type" : "SystemLibraryTarget",
"name" : "CGdk",
"path" : "Sources/CGdk",
"product_memberships" : [
"Gdk"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/rhx/gir2swift.git
[1/5562] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (0.42s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1669] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git from cache (0.71s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/1000] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git from cache (1.93s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/316] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.25s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/59779] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git from cache (19.77s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/15504] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git from cache (2.79s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1803] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git from cache (2.26s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4075] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git from cache (1.54s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/26136] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (3.08s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21843] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (6.65s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/172] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git from cache (0.32s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/2171] Fetching swift-docc-plugin
[219/19353] Fetching swift-docc-plugin, swift-argument-parser
[220/30858] Fetching swift-docc-plugin, swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.89s)
[10225/13676] Fetching swift-docc-plugin, yams
Fetched https://github.com/apple/swift-docc-plugin from cache (2.99s)
Fetched https://github.com/jpsim/Yams.git from cache (3.06s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (3.98s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (1.18s)
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.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (4.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (1.26s)
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/rhx/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main (1670dc5)
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/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main (eecf947)
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/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (19deabb)
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 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/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.git resolved at main (10e8466)
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/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main (788b7a6)
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)
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 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 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 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 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
[0/21] Write sources
[6/21] Compiling reader.c
[7/21] Compiling parser.c
[8/21] Compiling api.c
[9/21] Compiling scanner.c
[10/21] Compiling emitter.c
[11/21] Compiling writer.c
[12/21] Write swift-version-24593BA9C3E375BF.txt
[14/45] Compiling Yams Node.Scalar.swift
[15/45] Compiling Yams Node.Sequence.swift
[16/46] Emitting module ArgumentParserToolInfo
[17/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/47] Compiling Yams Mark.swift
[19/47] Compiling Yams Node.Mapping.swift
[20/47] Emitting module SwiftLibXML
[21/47] Wrapping AST for ArgumentParserToolInfo for debugging
[23/51] Compiling Yams YamlError.swift
[24/93] Compiling SwiftLibXML XMLNameSpace.swift
[25/93] Compiling SwiftLibXML XMLPath.swift
[26/93] Compiling SwiftLibXML XMLDocument.swift
[27/93] Compiling SwiftLibXML XMLElement.swift
[28/93] Compiling SwiftLibXML EmptySequence.swift
[29/93] Compiling SwiftLibXML XMLAttribute.swift
[31/94] Compiling ArgumentParser AsyncParsableCommand.swift
[32/94] Compiling ArgumentParser CommandConfiguration.swift
[32/94] Wrapping AST for SwiftLibXML for debugging
[34/94] Compiling ArgumentParser NameSpecification.swift
[35/94] Compiling ArgumentParser Option.swift
[36/94] Compiling ArgumentParser OptionGroup.swift
[37/94] Compiling ArgumentParser ParentCommand.swift
[38/94] Compiling ArgumentParser ExpressibleByArgument.swift
[39/94] Compiling ArgumentParser ParsableArguments.swift
[40/94] Compiling ArgumentParser CommandGroup.swift
[41/94] Compiling ArgumentParser EnumerableFlag.swift
[42/94] Emitting module Yams
[44/95] Compiling ArgumentParser Foundation.swift
[45/95] Compiling ArgumentParser Mutex.swift
[46/95] Compiling ArgumentParser Platform.swift
[47/95] Compiling ArgumentParser SequenceExtensions.swift
[48/95] Compiling ArgumentParser StringExtensions.swift
[49/95] Compiling ArgumentParser SwiftExtensions.swift
[49/101] Wrapping AST for Yams for debugging
[51/101] Compiling ArgumentParser InputOrigin.swift
[52/101] Compiling ArgumentParser Name.swift
[53/101] Compiling ArgumentParser Parsed.swift
[54/101] Compiling ArgumentParser ParsedValues.swift
[55/101] Compiling ArgumentParser ParserError.swift
[56/101] Compiling ArgumentParser SplitArguments.swift
[57/101] Compiling ArgumentParser DumpHelpGenerator.swift
[58/101] Compiling ArgumentParser HelpCommand.swift
[59/101] Compiling ArgumentParser HelpGenerator.swift
[60/101] Compiling ArgumentParser MessageInfo.swift
[61/101] Compiling ArgumentParser UsageGenerator.swift
[62/101] Compiling ArgumentParser CollectionExtensions.swift
[63/101] Compiling ArgumentParser ArgumentVisibility.swift
[64/101] Compiling ArgumentParser CompletionKind.swift
[65/101] Compiling ArgumentParser Errors.swift
[66/101] Compiling ArgumentParser Flag.swift
[70/101] Compiling ArgumentParser Tree.swift
[71/101] Compiling ArgumentParser CodingKeyValidator.swift
[72/101] Compiling ArgumentParser NonsenseFlagsValidator.swift
[73/101] Compiling ArgumentParser ParsableArgumentsValidation.swift
[74/101] Compiling ArgumentParser PositionalArgumentsValidator.swift
[75/101] Compiling ArgumentParser UniqueNamesValidator.swift
[83/101] Compiling ArgumentParser BashCompletionsGenerator.swift
[84/101] Compiling ArgumentParser CompletionsGenerator.swift
[85/101] Compiling ArgumentParser FishCompletionsGenerator.swift
[86/101] Compiling ArgumentParser ZshCompletionsGenerator.swift
[87/101] Compiling ArgumentParser Argument.swift
[88/101] Compiling ArgumentParser ArgumentDiscussion.swift
[89/101] Compiling ArgumentParser ArgumentHelp.swift
[90/101] Emitting module ArgumentParser
[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] Emitting module libgir2swift
[100/148] Compiling libgir2swift GirRecord.swift
[101/148] Compiling libgir2swift GirSignal.swift
[102/148] Compiling libgir2swift GirThing.swift
[103/148] Compiling libgir2swift GirUnion.swift
[104/148] Compiling libgir2swift girtype+xml.swift
[105/148] Compiling libgir2swift Character+Utilities.swift
[106/148] Compiling libgir2swift Collection+Utilities.swift
[107/148] Compiling libgir2swift Streams.swift
[108/148] Compiling libgir2swift String+Substring.swift
[109/148] Compiling libgir2swift String+Utilities.swift
[110/148] Compiling libgir2swift GirBitfield.swift
[111/148] Compiling libgir2swift GirCType.swift
[112/148] Compiling libgir2swift GirCallback.swift
[113/148] Compiling libgir2swift GirClass.swift
[114/148] Compiling libgir2swift GirConstant.swift
[115/148] Compiling libgir2swift GirDatatype.swift
[116/148] Compiling libgir2swift Gir2Swift.swift
[117/148] Compiling libgir2swift GirType.swift
[118/148] Compiling libgir2swift TypeConversion.swift
[119/148] Compiling libgir2swift TypeReference.swift
[120/148] Compiling libgir2swift GirAlias.swift
[121/148] Compiling libgir2swift GirArgument.swift
[122/148] Compiling libgir2swift System.swift
[123/148] Compiling libgir2swift XML+Utilities.swift
[124/148] Compiling libgir2swift generation.swift
[125/148] Compiling libgir2swift planning.swift
[126/148] Compiling libgir2swift postprocessing.swift
[127/148] Compiling libgir2swift gtk2swiftdoc.swift
[128/148] Compiling libgir2swift ConversionContext.swift
[129/148] Compiling libgir2swift Gir+Enums.swift
[130/148] Compiling libgir2swift Gir+KnowTypeSets.swift
[131/148] Compiling libgir2swift Gir+KnownTypes.swift
[132/148] Compiling libgir2swift Gir.swift
[133/148] Compiling libgir2swift GirEnumeration.swift
[134/148] Compiling libgir2swift GirField.swift
[135/148] Compiling libgir2swift GirFunction.swift
[136/148] Compiling libgir2swift GirInterface.swift
[137/148] Compiling libgir2swift GirMethod.swift
[138/148] Compiling libgir2swift GirProperty.swift
[139/148] Compiling libgir2swift CodeBuilder.swift
[140/148] Compiling libgir2swift c2swift.swift
[141/148] Compiling libgir2swift emit-class.swift
[142/148] Compiling libgir2swift emit-signals.swift
[143/148] Compiling libgir2swift gir+swift.swift
[144/148] Compiling libgir2swift girtypes+swift.swift
[145/149] Wrapping AST for libgir2swift for debugging
[147/151] Emitting module gir2swift
[148/151] Compiling gir2swift main.swift
[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 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 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 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 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 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
[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/68] Write sources
[15/68] Compiling writer.c
[17/68] Compiling reader.c
[18/68] Compiling parser.c
[19/68] Compiling reader.c
[20/68] Compiling api.c
[20/68] Write sources
[23/68] Write swift-version-24593BA9C3E375BF.txt
[24/68] Compiling emitter.c
[25/68] Compiling parser.c
[26/68] Compiling scanner.c
[27/70] Compiling api.c
[28/70] Compiling emitter.c
[30/79] Emitting module SwiftLibXML
[31/80] Emitting module ArgumentParserToolInfo
[32/81] Compiling scanner.c
[34/82] Wrapping AST for ArgumentParserToolInfo for debugging
[35/97] Wrapping AST for SwiftLibXML for debugging
[37/98] Emitting module Yams
[38/99] Wrapping AST for Yams for debugging
[40/99] Emitting module ArgumentParser
[41/100] Wrapping AST for ArgumentParser for debugging
[43/101] Compiling SwiftLibXML XMLPath.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[44/101] Compiling SwiftLibXML XMLNameSpace.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[45/101] Compiling SwiftLibXML XMLDocument.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[46/101] Compiling SwiftLibXML XMLElement.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[47/101] Compiling SwiftLibXML XMLAttribute.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/101] Emitting module SwiftLibXML
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[49/101] Compiling SwiftLibXML EmptySequence.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[50/101] Emitting module ArgumentParserToolInfo
[51/101] Compiling ArgumentParserToolInfo ToolInfo.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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 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 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 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 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
[0/15] Compiling reader.c
[1/15] Compiling parser.c
[2/15] Compiling writer.c
[3/15] Compiling scanner.c
[4/15] Compiling emitter.c
[5/15] Compiling api.c
[5/15] Write swift-version-24593BA9C3E375BF.txt
[8/39] Compiling SwiftLibXML XMLPath.swift
[9/39] Compiling SwiftLibXML XMLNameSpace.swift
[10/39] Compiling SwiftLibXML XMLElement.swift
[11/39] Compiling Yams String+Yams.swift
[12/39] Compiling Yams Tag.swift
[13/40] Compiling SwiftLibXML XMLAttribute.swift
[14/40] Compiling SwiftLibXML XMLDocument.swift
[15/40] Compiling SwiftLibXML EmptySequence.swift
[16/40] Emitting module SwiftLibXML
[18/41] Compiling Yams Representer.swift
[19/41] Compiling Yams Resolver.swift
[20/41] Compiling Yams Mark.swift
[21/41] Compiling Yams Node.Mapping.swift
[22/41] Compiling Yams YamlError.swift
[22/41] Wrapping AST for SwiftLibXML for debugging
[24/41] Compiling Yams Node.Scalar.swift
[25/41] Compiling Yams Node.Sequence.swift
[26/41] Compiling Yams Node.swift
[27/41] Compiling Yams Parser.swift
[28/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/41] Emitting module ArgumentParserToolInfo
[30/42] Compiling Yams Emitter.swift
[31/42] Compiling Yams Encoder.swift
[33/42] Emitting module Yams
[34/42] Compiling Yams Constructor.swift
[35/42] Compiling Yams Decoder.swift
[35/43] Wrapping AST for ArgumentParserToolInfo for debugging
[37/89] Wrapping AST for Yams for debugging
[39/89] Compiling ArgumentParser ParentCommand.swift
[40/89] Compiling ArgumentParser AsyncParsableCommand.swift
[41/89] Compiling ArgumentParser CommandConfiguration.swift
[42/89] Compiling ArgumentParser CommandGroup.swift
[43/89] Compiling ArgumentParser EnumerableFlag.swift
[44/89] Compiling ArgumentParser ExpressibleByArgument.swift
[45/89] Compiling ArgumentParser ParsableArguments.swift
[46/95] Emitting module ArgumentParser
[47/95] Compiling ArgumentParser Foundation.swift
[48/95] Compiling ArgumentParser Mutex.swift
[49/95] Compiling ArgumentParser Platform.swift
[50/95] Compiling ArgumentParser SequenceExtensions.swift
[51/95] Compiling ArgumentParser StringExtensions.swift
[52/95] Compiling ArgumentParser SwiftExtensions.swift
[53/95] Compiling ArgumentParser InputOrigin.swift
[54/95] Compiling ArgumentParser Name.swift
[55/95] Compiling ArgumentParser Parsed.swift
[56/95] Compiling ArgumentParser ParsedValues.swift
[57/95] Compiling ArgumentParser ParserError.swift
[58/95] Compiling ArgumentParser SplitArguments.swift
[59/95] Compiling ArgumentParser Tree.swift
[60/95] Compiling ArgumentParser CodingKeyValidator.swift
[61/95] Compiling ArgumentParser NonsenseFlagsValidator.swift
[62/95] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/95] Compiling ArgumentParser PositionalArgumentsValidator.swift
[64/95] Compiling ArgumentParser UniqueNamesValidator.swift
[65/95] Compiling ArgumentParser ArgumentVisibility.swift
[66/95] Compiling ArgumentParser CompletionKind.swift
[67/95] Compiling ArgumentParser Errors.swift
[68/95] Compiling ArgumentParser Flag.swift
[69/95] Compiling ArgumentParser NameSpecification.swift
[70/95] Compiling ArgumentParser Option.swift
[71/95] Compiling ArgumentParser OptionGroup.swift
[72/95] Compiling ArgumentParser DumpHelpGenerator.swift
[73/95] Compiling ArgumentParser HelpCommand.swift
[74/95] Compiling ArgumentParser HelpGenerator.swift
[75/95] Compiling ArgumentParser MessageInfo.swift
[76/95] Compiling ArgumentParser UsageGenerator.swift
[77/95] Compiling ArgumentParser CollectionExtensions.swift
[78/95] Compiling ArgumentParser ParsableCommand.swift
[79/95] Compiling ArgumentParser ArgumentDecoder.swift
[80/95] Compiling ArgumentParser ArgumentDefinition.swift
[81/95] Compiling ArgumentParser ArgumentSet.swift
[82/95] Compiling ArgumentParser CommandParser.swift
[83/95] Compiling ArgumentParser InputKey.swift
[84/95] Compiling ArgumentParser BashCompletionsGenerator.swift
[85/95] Compiling ArgumentParser CompletionsGenerator.swift
[86/95] Compiling ArgumentParser FishCompletionsGenerator.swift
[87/95] Compiling ArgumentParser ZshCompletionsGenerator.swift
[88/95] Compiling ArgumentParser Argument.swift
[89/95] Compiling ArgumentParser ArgumentDiscussion.swift
[90/95] Compiling ArgumentParser ArgumentHelp.swift
[91/96] Wrapping AST for ArgumentParser for debugging
[93/137] Compiling libgir2swift Character+Utilities.swift
[94/137] Compiling libgir2swift Collection+Utilities.swift
[95/137] Compiling libgir2swift Streams.swift
[96/137] Compiling libgir2swift String+Substring.swift
[97/137] Compiling libgir2swift String+Utilities.swift
[98/137] Compiling libgir2swift GirBitfield.swift
[99/137] Compiling libgir2swift GirCType.swift
[100/137] Compiling libgir2swift GirCallback.swift
[101/137] Compiling libgir2swift GirClass.swift
[102/137] Compiling libgir2swift GirConstant.swift
[103/137] Compiling libgir2swift GirDatatype.swift
[104/137] Compiling libgir2swift GirRecord.swift
[105/137] Compiling libgir2swift GirSignal.swift
[106/137] Compiling libgir2swift GirThing.swift
[107/137] Compiling libgir2swift GirUnion.swift
[108/137] Compiling libgir2swift girtype+xml.swift
[109/142] Compiling libgir2swift GirEnumeration.swift
[110/142] Compiling libgir2swift GirField.swift
[111/142] Compiling libgir2swift GirFunction.swift
[112/142] Compiling libgir2swift GirInterface.swift
[113/142] Compiling libgir2swift GirMethod.swift
[114/142] Compiling libgir2swift GirProperty.swift
[115/142] Compiling libgir2swift gtk2swiftdoc.swift
[116/142] Compiling libgir2swift ConversionContext.swift
[117/142] Compiling libgir2swift Gir+Enums.swift
[118/142] Compiling libgir2swift Gir+KnowTypeSets.swift
[119/142] Compiling libgir2swift Gir+KnownTypes.swift
[120/142] Compiling libgir2swift Gir.swift
[121/142] Compiling libgir2swift Gir2Swift.swift
[122/142] Compiling libgir2swift GirType.swift
[123/142] Compiling libgir2swift TypeConversion.swift
[124/142] Compiling libgir2swift TypeReference.swift
[125/142] Compiling libgir2swift GirAlias.swift
[126/142] Compiling libgir2swift GirArgument.swift
[127/142] Emitting module libgir2swift
[128/142] Compiling libgir2swift System.swift
[129/142] Compiling libgir2swift XML+Utilities.swift
[130/142] Compiling libgir2swift generation.swift
[131/142] Compiling libgir2swift planning.swift
[132/142] Compiling libgir2swift postprocessing.swift
[133/142] Compiling libgir2swift CodeBuilder.swift
[134/142] Compiling libgir2swift c2swift.swift
[135/142] Compiling libgir2swift emit-class.swift
[136/142] Compiling libgir2swift emit-signals.swift
[137/142] Compiling libgir2swift gir+swift.swift
[138/142] Compiling libgir2swift girtypes+swift.swift
[139/143] Wrapping AST for libgir2swift for debugging
[141/145] Compiling gir2swift main.swift
[142/145] Emitting module gir2swift
[143/145] Write Objects.LinkFileList
[144/145] Linking gir2swift-tool
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 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 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 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 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
[0/1] Planning build
[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/50] Compiling writer.c
[6/50] Compiling parser.c
[7/50] Compiling reader.c
[8/50] Compiling api.c
[9/50] Compiling emitter.c
[10/50] Write swift-version-24593BA9C3E375BF.txt
[11/50] Compiling scanner.c
[13/77] Compiling SwiftLibXML EmptySequence.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[14/77] Emitting module ArgumentParserToolInfo
[15/78] Compiling SwiftLibXML XMLNameSpace.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[16/78] Compiling SwiftLibXML XMLPath.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[17/78] Compiling SwiftLibXML XMLElement.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[19/78] Emitting module SwiftLibXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[21/79] Compiling SwiftLibXML XMLDocument.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[22/79] Compiling SwiftLibXML XMLAttribute.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 | import CLibXML2
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | import libxml2
14 | #endif
[23/79] Emitting module ArgumentParserToolInfo
[23/79] Wrapping AST for ArgumentParserToolInfo for debugging
BUILD FAILURE 6.1 wasm