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 Gdk, reference main (3df89d), with Swift 6.1 for Wasm on 30 May 2025 13:03:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 3df89d4 Use main branch on dependencies.
Cloned https://github.com/rhx/SwiftGdk.git
Revision (git rev-parse @):
3df89d40ca619c701873bc46ea8ddd2625ed1316
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-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/5539] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (0.87s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1641] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git from cache (0.57s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/1000] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git from cache (0.39s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.26s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/54365] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git from cache (25.22s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/1085] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git from cache (0.46s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1778] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git from cache (0.61s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4050] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git from cache (1.77s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/11714] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (2.30s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21683] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (8.81s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/144] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git from cache (0.30s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/2049] Fetching swift-docc-plugin
[227/12706] Fetching swift-docc-plugin, yams
[3649/28092] Fetching swift-docc-plugin, yams, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (0.56s)
[3541/26043] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.26s)
[8420/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.80s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (2.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.10s)
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/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.git resolved at main (0318374)
Creating working copy for https://github.com/rhx/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.git resolved at main (b382992)
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/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main (e127a94)
Creating working copy for https://github.com/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.git resolved at main (deee984)
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.3
Creating working copy for https://github.com/rhx/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.git resolved at main (2a3ceac)
Creating working copy for https://github.com/rhx/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main (69e7237)
Creating working copy for https://github.com/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.git resolved at main (3732e69)
Creating working copy for https://github.com/rhx/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main (d004249)
Creating working copy for https://github.com/rhx/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main (f3c2728)
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/rhx/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main (eeaa2f0)
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (1b9b259)
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 emitter.c
[10/21] Compiling scanner.c
[11/21] Compiling writer.c
[12/21] Write swift-version-24593BA9C3E375BF.txt
[14/45] Compiling Yams Mark.swift
[15/45] Compiling Yams Node.Mapping.swift
[16/46] Emitting module ArgumentParserToolInfo
[17/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/47] Wrapping AST for ArgumentParserToolInfo for debugging
[20/70] Compiling Yams YamlError.swift
[21/85] Compiling ArgumentParser OptionGroup.swift
[22/85] Compiling ArgumentParser AsyncParsableCommand.swift
[23/85] Compiling ArgumentParser CommandConfiguration.swift
[24/85] Compiling ArgumentParser CommandGroup.swift
[25/85] Compiling ArgumentParser EnumerableFlag.swift
[26/90] Compiling SwiftLibXML XMLPath.swift
[27/90] Compiling SwiftLibXML XMLNameSpace.swift
[28/90] Emitting module ArgumentParser
[29/90] Compiling SwiftLibXML EmptySequence.swift
[30/90] Emitting module SwiftLibXML
[31/90] Compiling SwiftLibXML XMLAttribute.swift
[32/90] Compiling SwiftLibXML XMLElement.swift
[33/90] Compiling SwiftLibXML XMLDocument.swift
[34/91] Compiling ArgumentParser ArgumentVisibility.swift
[35/91] Compiling ArgumentParser CompletionKind.swift
[36/91] Compiling ArgumentParser Errors.swift
[37/91] Compiling ArgumentParser Flag.swift
[38/91] Compiling ArgumentParser NameSpecification.swift
[39/91] Compiling ArgumentParser Option.swift
[49/91] Emitting module Yams
[49/91] Wrapping AST for SwiftLibXML for debugging
[52/91] Compiling ArgumentParser BashCompletionsGenerator.swift
[53/91] Compiling ArgumentParser CompletionsGenerator.swift
[54/91] Compiling ArgumentParser FishCompletionsGenerator.swift
[55/92] Wrapping AST for Yams for debugging
[57/92] Compiling ArgumentParser CollectionExtensions.swift
[58/92] Compiling ArgumentParser Platform.swift
[59/92] Compiling ArgumentParser SequenceExtensions.swift
[60/92] Compiling ArgumentParser StringExtensions.swift
[61/92] Compiling ArgumentParser Tree.swift
[62/92] Compiling ArgumentParser ArgumentDefinition.swift
[63/92] Compiling ArgumentParser ArgumentSet.swift
[64/92] Compiling ArgumentParser CommandParser.swift
[65/92] Compiling ArgumentParser InputKey.swift
[66/92] Compiling ArgumentParser InputOrigin.swift
[70/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
[71/92] Compiling ArgumentParser Argument.swift
[72/92] Compiling ArgumentParser ArgumentHelp.swift
[73/92] Compiling ArgumentParser ExpressibleByArgument.swift
[74/92] Compiling ArgumentParser ParsableArguments.swift
[75/92] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/92] Compiling ArgumentParser ParsableCommand.swift
[77/92] Compiling ArgumentParser ArgumentDecoder.swift
[78/92] Compiling ArgumentParser Name.swift
[79/92] Compiling ArgumentParser Parsed.swift
[80/92] Compiling ArgumentParser ParsedValues.swift
[81/92] Compiling ArgumentParser ParserError.swift
[82/92] Compiling ArgumentParser SplitArguments.swift
[83/92] Compiling ArgumentParser DumpHelpGenerator.swift
[84/92] Compiling ArgumentParser HelpCommand.swift
[85/92] Compiling ArgumentParser HelpGenerator.swift
[86/92] Compiling ArgumentParser MessageInfo.swift
[87/92] Compiling ArgumentParser UsageGenerator.swift
[88/93] Wrapping AST for ArgumentParser for debugging
[90/134] Compiling libgir2swift Character+Utilities.swift
[91/134] Compiling libgir2swift Collection+Utilities.swift
[92/134] Compiling libgir2swift Streams.swift
[93/134] Compiling libgir2swift String+Substring.swift
[94/134] Compiling libgir2swift String+Utilities.swift
[95/139] Emitting module libgir2swift
[96/139] Compiling libgir2swift System.swift
[97/139] Compiling libgir2swift XML+Utilities.swift
[98/139] Compiling libgir2swift generation.swift
[99/139] Compiling libgir2swift planning.swift
[100/139] Compiling libgir2swift postprocessing.swift
[101/139] Compiling libgir2swift GirRecord.swift
[102/139] Compiling libgir2swift GirSignal.swift
[103/139] Compiling libgir2swift GirThing.swift
[104/139] Compiling libgir2swift GirUnion.swift
[105/139] Compiling libgir2swift girtype+xml.swift
[106/139] Compiling libgir2swift GirEnumeration.swift
[107/139] Compiling libgir2swift GirField.swift
[108/139] Compiling libgir2swift GirFunction.swift
[109/139] Compiling libgir2swift GirInterface.swift
[110/139] Compiling libgir2swift GirMethod.swift
[111/139] Compiling libgir2swift GirProperty.swift
[112/139] Compiling libgir2swift CodeBuilder.swift
[113/139] Compiling libgir2swift c2swift.swift
[114/139] Compiling libgir2swift emit-class.swift
[115/139] Compiling libgir2swift emit-signals.swift
[116/139] Compiling libgir2swift gir+swift.swift
[117/139] Compiling libgir2swift girtypes+swift.swift
[118/139] Compiling libgir2swift gtk2swiftdoc.swift
[119/139] Compiling libgir2swift ConversionContext.swift
[120/139] Compiling libgir2swift Gir+Enums.swift
[121/139] Compiling libgir2swift Gir+KnowTypeSets.swift
[122/139] Compiling libgir2swift Gir+KnownTypes.swift
[123/139] Compiling libgir2swift Gir.swift
[124/139] Compiling libgir2swift Gir2Swift.swift
[125/139] Compiling libgir2swift GirType.swift
[126/139] Compiling libgir2swift TypeConversion.swift
[127/139] Compiling libgir2swift TypeReference.swift
[128/139] Compiling libgir2swift GirAlias.swift
[129/139] Compiling libgir2swift GirArgument.swift
[130/139] Compiling libgir2swift GirBitfield.swift
[131/139] Compiling libgir2swift GirCType.swift
[132/139] Compiling libgir2swift GirCallback.swift
[133/139] Compiling libgir2swift GirClass.swift
[134/139] Compiling libgir2swift GirConstant.swift
[135/139] Compiling libgir2swift GirDatatype.swift
[136/140] Wrapping AST for libgir2swift for debugging
[138/142] Compiling gir2swift main.swift
[139/142] Emitting module gir2swift
[140/143] Wrapping AST for gir2swift for debugging
[141/143] Write Objects.LinkFileList
[142/143] 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
Building for debugging...
[4/67] Write sources
[14/67] Compiling writer.c
[15/67] Compiling reader.c
[16/67] Compiling writer.c
[17/67] Compiling reader.c
[18/67] Compiling parser.c
[19/67] Compiling api.c
[19/67] Write sources
[22/67] Compiling emitter.c
[23/67] Compiling parser.c
[24/67] Compiling scanner.c
[25/67] Compiling api.c
[26/67] Compiling emitter.c
[26/67] Write swift-version-24593BA9C3E375BF.txt
[28/67] Compiling scanner.c
[30/94] Emitting module SwiftLibXML
[31/94] Emitting module ArgumentParserToolInfo
[34/96] Wrapping AST for ArgumentParserToolInfo for debugging
[35/96] Wrapping AST for SwiftLibXML for debugging
[37/97] Emitting module Yams
[38/98] Wrapping AST for Yams for debugging
[40/98] Emitting module ArgumentParser
[41/99] Wrapping AST for ArgumentParser for debugging
[43/100] Compiling ArgumentParserToolInfo ToolInfo.swift
[44/100] Compiling Yams Mark.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
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
 16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
 17 | #else
 18 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 19 | import Glibc
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
[45/100] Compiling Yams Node.Mapping.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
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
 16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
 17 | #else
 18 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 19 | import Glibc
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/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
[47/102] 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
[48/102] 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
[49/102] 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
[50/102] 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
[51/102] 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
[52/102] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 writer.c
[1/15] Compiling reader.c
[2/15] Compiling parser.c
[3/15] Compiling api.c
[4/15] Compiling emitter.c
[5/15] Compiling scanner.c
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/39] Compiling SwiftLibXML EmptySequence.swift
[9/39] Emitting module SwiftLibXML
[10/39] Compiling SwiftLibXML XMLElement.swift
[11/39] Compiling SwiftLibXML XMLNameSpace.swift
[12/39] Compiling SwiftLibXML XMLPath.swift
[13/39] Compiling Yams Mark.swift
[14/39] Compiling Yams Node.Mapping.swift
[15/39] Compiling Yams String+Yams.swift
[16/39] Compiling Yams Tag.swift
[17/40] Compiling SwiftLibXML XMLAttribute.swift
[18/40] Compiling SwiftLibXML XMLDocument.swift
[20/41] Emitting module ArgumentParserToolInfo
[21/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/42] Compiling Yams Representer.swift
[23/42] Compiling Yams Resolver.swift
[24/42] Wrapping AST for SwiftLibXML for debugging
[26/42] Compiling Yams YamlError.swift
[26/42] Wrapping AST for ArgumentParserToolInfo for debugging
[28/80] Compiling ArgumentParser Argument.swift
[29/80] Compiling ArgumentParser ArgumentHelp.swift
[30/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/80] Compiling ArgumentParser CompletionsGenerator.swift
[32/80] Compiling ArgumentParser ArgumentVisibility.swift
[33/80] Compiling ArgumentParser CompletionKind.swift
[34/80] Emitting module Yams
[35/80] Compiling ArgumentParser Errors.swift
[36/80] Compiling ArgumentParser Flag.swift
[37/81] Wrapping AST for Yams for debugging
[39/81] Emitting module ArgumentParser
[44/86] Compiling ArgumentParser NameSpecification.swift
[45/86] Compiling ArgumentParser Option.swift
[48/86] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/86] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/86] Compiling ArgumentParser CollectionExtensions.swift
[53/86] Compiling ArgumentParser Platform.swift
[54/86] Compiling ArgumentParser SequenceExtensions.swift
[55/86] Compiling ArgumentParser StringExtensions.swift
[56/86] Compiling ArgumentParser Tree.swift
[57/86] Compiling ArgumentParser OptionGroup.swift
[58/86] Compiling ArgumentParser AsyncParsableCommand.swift
[59/86] Compiling ArgumentParser CommandConfiguration.swift
[60/86] Compiling ArgumentParser CommandGroup.swift
[61/86] Compiling ArgumentParser EnumerableFlag.swift
[62/86] Compiling ArgumentParser ExpressibleByArgument.swift
[63/86] Compiling ArgumentParser ParsableArguments.swift
[64/86] Compiling ArgumentParser ParsableArgumentsValidation.swift
[65/86] Compiling ArgumentParser ParsableCommand.swift
[66/86] Compiling ArgumentParser ArgumentDecoder.swift
[67/86] Compiling ArgumentParser Name.swift
[68/86] Compiling ArgumentParser Parsed.swift
[69/86] Compiling ArgumentParser ParsedValues.swift
[70/86] Compiling ArgumentParser ParserError.swift
[71/86] Compiling ArgumentParser SplitArguments.swift
[72/86] Compiling ArgumentParser ArgumentDefinition.swift
[73/86] Compiling ArgumentParser ArgumentSet.swift
[74/86] Compiling ArgumentParser CommandParser.swift
[75/86] Compiling ArgumentParser InputKey.swift
[76/86] Compiling ArgumentParser InputOrigin.swift
[77/86] Compiling ArgumentParser DumpHelpGenerator.swift
[78/86] Compiling ArgumentParser HelpCommand.swift
[79/86] Compiling ArgumentParser HelpGenerator.swift
[80/86] Compiling ArgumentParser MessageInfo.swift
[81/86] Compiling ArgumentParser UsageGenerator.swift
[82/87] Wrapping AST for ArgumentParser for debugging
[84/128] Compiling libgir2swift Character+Utilities.swift
[85/128] Compiling libgir2swift Collection+Utilities.swift
[86/128] Compiling libgir2swift Streams.swift
[87/128] Compiling libgir2swift String+Substring.swift
[88/128] Compiling libgir2swift String+Utilities.swift
[89/133] Compiling libgir2swift GirEnumeration.swift
[90/133] Compiling libgir2swift GirField.swift
[91/133] Compiling libgir2swift GirFunction.swift
[92/133] Compiling libgir2swift GirInterface.swift
[93/133] Compiling libgir2swift GirMethod.swift
[94/133] Compiling libgir2swift GirProperty.swift
[95/133] Compiling libgir2swift GirBitfield.swift
[96/133] Compiling libgir2swift GirCType.swift
[97/133] Compiling libgir2swift GirCallback.swift
[98/133] Compiling libgir2swift GirClass.swift
[99/133] Compiling libgir2swift GirConstant.swift
[100/133] Compiling libgir2swift GirDatatype.swift
[101/133] Emitting module libgir2swift
[102/133] Compiling libgir2swift gtk2swiftdoc.swift
[103/133] Compiling libgir2swift ConversionContext.swift
[104/133] Compiling libgir2swift Gir+Enums.swift
[105/133] Compiling libgir2swift Gir+KnowTypeSets.swift
[106/133] Compiling libgir2swift Gir+KnownTypes.swift
[107/133] Compiling libgir2swift Gir.swift
[108/133] Compiling libgir2swift GirRecord.swift
[109/133] Compiling libgir2swift GirSignal.swift
[110/133] Compiling libgir2swift GirThing.swift
[111/133] Compiling libgir2swift GirUnion.swift
[112/133] Compiling libgir2swift girtype+xml.swift
[113/133] Compiling libgir2swift Gir2Swift.swift
[114/133] Compiling libgir2swift GirType.swift
[115/133] Compiling libgir2swift TypeConversion.swift
[116/133] Compiling libgir2swift TypeReference.swift
[117/133] Compiling libgir2swift GirAlias.swift
[118/133] Compiling libgir2swift GirArgument.swift
[119/133] Compiling libgir2swift System.swift
[120/133] Compiling libgir2swift XML+Utilities.swift
[121/133] Compiling libgir2swift generation.swift
[122/133] Compiling libgir2swift planning.swift
[123/133] Compiling libgir2swift postprocessing.swift
[124/133] Compiling libgir2swift CodeBuilder.swift
[125/133] Compiling libgir2swift c2swift.swift
[126/133] Compiling libgir2swift emit-class.swift
[127/133] Compiling libgir2swift emit-signals.swift
[128/133] Compiling libgir2swift gir+swift.swift
[129/133] Compiling libgir2swift girtypes+swift.swift
[130/134] Wrapping AST for libgir2swift for debugging
[132/136] Emitting module gir2swift
[133/136] Compiling gir2swift main.swift
[134/136] Write Objects.LinkFileList
[135/136] 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
Building for debugging...
[4/49] Compiling writer.c
[5/49] Compiling reader.c
[6/49] Compiling parser.c
[7/49] Compiling api.c
[8/49] Write swift-version-24593BA9C3E375BF.txt
[9/49] Compiling emitter.c
[10/49] Compiling scanner.c
[12/76] Emitting module ArgumentParserToolInfo
[14/77] 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
[15/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
[16/77] 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
[17/77] 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
[18/77] 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
[18/77] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/77] 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
[23/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
[24/79] Emitting module ArgumentParserToolInfo
/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
BUILD FAILURE 6.1 wasm