The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-slack, reference main (40af16), with Swift 6.4 for Wasm on 25 Nov 2026 15:28:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ainame/swift-slack.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/ainame/swift-slack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 40af16a Recommend 2027.1.0-beta.5 in the README
Submodule path 'vendor/java-slack-sdk': checked out '43fad0e0943e53991d9298d08588915116a7a0aa'
Submodule path 'vendor/slack-api-ref': checked out '0ae4e986fbdb824fd4af8ca175ca45142377c8c3'
Submodule 'vendor/java-slack-sdk' (https://github.com/slackapi/java-slack-sdk.git) registered for path 'vendor/java-slack-sdk'
Submodule 'vendor/slack-api-ref' (https://github.com/slack-ruby/slack-api-ref.git) registered for path 'vendor/slack-api-ref'
Cloning into '/host/spi-builder-workspace/vendor/java-slack-sdk'...
Cloning into '/host/spi-builder-workspace/vendor/slack-api-ref'...
Cloned https://github.com/ainame/swift-slack.git
Revision (git rev-parse @):
40af16a5edf2fe92a21d05d6cc3f4c647b1e4155
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ainame/swift-slack.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ainame/swift-slack.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/hummingbird-project/swift-websocket
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/swift-server/swift-openapi-async-http-client.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/1170] Fetching swift-websocket
[25/1819] Fetching swift-websocket, swift-openapi-async-http-client
[1820/4226] Fetching swift-websocket, swift-openapi-async-http-client, swift-docc-plugin
Fetched https://github.com/swift-server/swift-openapi-async-http-client.git (0.39s)
[1267/3577] Fetching swift-websocket, swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/hummingbird-project/swift-websocket (0.41s)
Fetching https://github.com/apple/swift-crypto
[241/2407] Fetching swift-docc-plugin
[2408/10991] Fetching swift-docc-plugin, swift-log
[3353/13917] Fetching swift-docc-plugin, swift-log, swift-service-lifecycle
[5328/32940] Fetching swift-docc-plugin, swift-log, swift-service-lifecycle, swift-crypto
[15440/120094] Fetching swift-docc-plugin, swift-log, swift-service-lifecycle, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-log.git (0.61s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.05s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.05s)
[2775/106177] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto (1.52s)
[67109/87154] Fetching swift-nio
Fetching https://github.com/apple/swift-openapi-runtime.git
[87155/94501] Fetching swift-nio, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime.git (0.63s)
Fetched https://github.com/apple/swift-nio (4.33s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (5.27s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3867] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.75s)
Computing version for https://github.com/hummingbird-project/swift-websocket
Computed https://github.com/hummingbird-project/swift-websocket at 1.6.2 (0.17s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/700] Fetching compress-nio
[701/3581] Fetching compress-nio, swift-nio-transport-services
Fetched https://github.com/adam-fowler/compress-nio.git (0.39s)
[29/2881] Fetching swift-nio-transport-services
[146/4871] Fetching swift-nio-transport-services, swift-http-types
[2614/11661] Fetching swift-nio-transport-services, swift-http-types, swift-nio-extras
Fetched https://github.com/apple/swift-http-types.git (0.48s)
Fetched https://github.com/apple/swift-nio-transport-services.git (0.48s)
[1970/6790] Fetching swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-extras.git (0.58s)
[1/16994] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.23s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client.git
Computed https://github.com/swift-server/swift-openapi-async-http-client.git at 1.5.0 (2.73s)
Fetching https://github.com/swift-server/async-http-client.git
[1/16811] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git (0.84s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.5.0 (1.00s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.2 (0.24s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.41s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.13.4 (0.59s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.19s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.105.2 (0.31s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1936] Fetching swift-atomics
[1937/9537] Fetching swift-atomics, swift-system
[8322/40059] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.74s)
[8041/32458] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.38s)
Fetched https://github.com/apple/swift-collections.git (1.40s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.57s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.3 (0.27s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1284] Fetching swift-http-structured-headers
[1285/8975] Fetching swift-http-structured-headers, swift-certificates
[5669/15163] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms
[6347/22200] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms, swift-async-algorithms
[16272/34643] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git (0.65s)
Fetched https://github.com/apple/swift-algorithms.git (0.65s)
[17342/27171] Fetching swift-certificates, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-async-algorithms.git (0.67s)
[10429/20134] Fetching swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git (1.06s)
Fetched https://github.com/apple/swift-nio-http2.git (1.06s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.25s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.64s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.79s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.15s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.19s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.16s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.19s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.7 (0.21s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.19s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.17s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.37.1 (0.19s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-service-context.git
[1/1575] Fetching swift-service-context
[1576/8316] Fetching swift-service-context, swift-distributed-tracing
[1577/12584] Fetching swift-service-context, swift-distributed-tracing, swift-configuration
Fetched https://github.com/apple/swift-service-context.git (0.60s)
Fetched https://github.com/apple/swift-configuration.git (0.60s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.63s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.80s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.16s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.22s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.13.4
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.37.1
Creating working copy for https://github.com/swift-server/swift-openapi-async-http-client.git
Working copy of https://github.com/swift-server/swift-openapi-async-http-client.git resolved at 1.5.0
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.7
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.105.2
Creating working copy for https://github.com/hummingbird-project/swift-websocket
Working copy of https://github.com/hummingbird-project/swift-websocket resolved at 1.6.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 2412]
[Planning 654 / 2412]
[Planning 1483 / 2412]
[Planning 1823 / 2412]
[Planning 2008 / 2412]
[Planning deferred tasks]
[Constructing 1 / 5818]
[Constructing 758 / 5818]
[Constructing 3212 / 5818]
[Starting]
[11 / 1513]
[165 / 1513] NIOPosix
[311 / 1513]
[329 / 1533] RealModule
[332 / 1543] SystemPackage
[333 / 1551] SystemPackage
[334 / 1551] _NIOBase64
[346 / 1551] RealModule
[347 / 1551] SystemPackage
[359 / 1551] SystemPackage
[366 / 1552] _NIOBase64
[368 / 1552] _NIOBase64
[370 / 1552] RealModule
[374 / 1552] RealModule
[375 / 1553] _NIODataStructures
[380 / 1553] RealModule
[383 / 1553] Logging
[386 / 1553] Logging-product
[388 / 1554] RealModule
[393 / 1556] NIOConcurrencyHelpers
[397 / 1565] HTTPTypes
[400 / 1591] Instrumentation
[401 / 1591] HTTPTypes
[403 / 1592] SystemPackage
[405 / 1592] SystemPackage
[413 / 1592] NIOConcurrencyHelpers
[414 / 1592] InternalCollectionsUtilities
[416 / 1592] InternalCollectionsUtilities
[420 / 1593] NIOConcurrencyHelpers
[427 / 1593] InternalCollectionsUtilities
[428 / 1594] NIOConcurrencyHelpers
[431 / 1594] InternalCollectionsUtilities
[434 / 1594] Instrumentation
[435 / 1594] ServiceContextModule
[439 / 1594] HTTPTypes
[441 / 1594] HTTPTypes
[454 / 1594] HTTPTypes
[456 / 1595] OpenAPIRuntime
[461 / 1600] SpanPreview
[464 / 1600] SpanPreview
[473 / 1604] SpanPreview
[479 / 1604]
[486 / 1620] ConcurrencyHelpers
[489 / 1620] Tracing
[492 / 1620] ConcurrencyHelpers
[499 / 1620] ServiceContextModule
[504 / 1621]
[513 / 1627] Tracing
[525 / 1636] CXKCP
[527 / 1646] UnixSignals
[530 / 1646] OrderedCollections
[531 / 1646] OrderedCollections
[532 / 1647] UnixSignals
[537 / 1648] OrderedCollections
[539 / 1648] OrderedCollections
[540 / 1648] OpenAPIRuntime
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/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-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:22:8: error: could not build C module 'CoreFoundation'
 20 |
 21 | #if canImport(CoreFoundation) && (FullFoundation || canImport(Darwin))
 22 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 23 | #endif
 24 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/Acceptable.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/Base64EncodedData.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/ByteUtilities.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/ContentDisposition.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/CopyOnWriteBox.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/Lock.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIMIMEType.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/PrettyStringConvertible.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/UndocumentedPayload.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/WarningSuppressingAnnotations.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/CodableExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/Configuration.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/Converter+Client.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/Converter+Common.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/Converter+Server.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/Converter.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/CurrencyExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/ErrorExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/FoundationExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/ParameterStyles.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/ServerVariable.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Deprecated/Deprecated.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Errors/ClientError.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Errors/CodingErrors.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Errors/ProblemDetails.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Errors/RuntimeError.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Errors/ServerError.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEvents.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/AsyncSequenceCommon.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/ClientTransport.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/CurrencyTypes.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/HTTPBody.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/QuerySpaceNormalizingMiddleware.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/SendableMetatype.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/ServerTransport.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/UniversalClient.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Interface/UniversalServer.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartBoundaryGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartBytesToFramesSequence.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartFramesToBytesSequence.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartFramesToRawPartsSequence.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartInternalTypes.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartPublicTypes.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartPublicTypesExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartRawPartsToFramesSequence.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/MultipartValidation.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Multipart/OpenAPIMIMEType+Multipart.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Common/URICodeCodingKey.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Common/URICoderConfiguration.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Common/URIEncodedNode.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Common/URIParsedTypes.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Decoding/URIDecoder.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Decoding/URIValueFromNodeDecoder+Keyed.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Decoding/URIValueFromNodeDecoder+Single.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Decoding/URIValueFromNodeDecoder+Unkeyed.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Decoding/URIValueFromNodeDecoder.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIEncoder.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Keyed.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Single.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Unkeyed.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Parsing/URIParser.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Serialization/URISerializer.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D FullFoundation -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 1.13.4 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenAPIRuntime -package-name swift_openapi_runtime -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/OpenAPIRuntime_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/Modules/OpenAPIRuntime.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/Modules/OpenAPIRuntime.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/OpenAPIRuntime-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/OpenAPIRuntime-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/OpenAPIRuntime-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/Modules/OpenAPIRuntime.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm