Build Information
Failed to build AssemblyAI, reference main (ed31d2), with Swift 6.4 for Wasm on 24 Sep 2026 06:55:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-3":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atacan/AssemblyAI.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/atacan/AssemblyAI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ed31d2f added 502 response
Cloned https://github.com/atacan/AssemblyAI.git
Revision (git rev-parse @):
ed31d2fbb08b69633e7d1bcc31bc4cf8eacc8718
SUCCESS checkout https://github.com/atacan/AssemblyAI.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/atacan/AssemblyAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-3":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/atacan/UsefulThings
[3/248] Fetching usefulthings
Fetched https://github.com/atacan/UsefulThings (0.49s)
Fetching https://github.com/apple/swift-openapi-generator.git
Fetching https://github.com/swift-server/swift-openapi-async-http-client
Fetching https://github.com/apple/swift-openapi-runtime.git
[1/650] Fetching swift-openapi-async-http-client
Fetched https://github.com/swift-server/swift-openapi-async-http-client (0.54s)
[1/6945] Fetching swift-openapi-runtime
[3891/25352] Fetching swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git (0.92s)
[5523/18407] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator.git (1.30s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client
Computed https://github.com/swift-server/swift-openapi-async-http-client at 1.5.0 (3.18s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-http-types (0.61s)
[1/16209] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git (1.31s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.1 (2.36s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.13.1 (0.57s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/11861] Fetching yams
[239/30790] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.28s)
[1/175167] Fetching openapikit
Fetching https://github.com/apple/swift-algorithms
[36787/181312] Fetching openapikit, swift-algorithms
Fetched https://github.com/apple/swift-algorithms (0.69s)
[47296/175167] Fetching openapikit
Fetched https://github.com/jpsim/Yams (7.62s)
Fetched https://github.com/mattpolzin/OpenAPIKit (7.69s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (9.57s)
Fetching https://github.com/apple/swift-numerics.git
[67/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.71s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (1.05s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.37s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.43s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.49s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/8165] Fetching swift-log
[165/11028] Fetching swift-log, swift-nio-transport-services
[574/17718] Fetching swift-log, swift-nio-transport-services, swift-nio-extras
[5826/19094] Fetching swift-log, swift-nio-transport-services, swift-nio-extras, swift-service-context
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-service-context.git (0.69s)
[15743/17718] Fetching swift-log, swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git (0.70s)
Fetching https://github.com/apple/swift-nio-ssl.git
[13013/14855] Fetching swift-log, swift-nio-extras
Fetching https://github.com/apple/swift-configuration.git
Fetched https://github.com/apple/swift-nio-extras.git (0.92s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-log.git (0.95s)
Fetching https://github.com/apple/swift-nio.git
[1/3779] Fetching swift-configuration
[417/10124] Fetching swift-configuration, swift-distributed-tracing
[645/26189] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl
[4572/38441] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
[10813/40322] Fetching swift-configuration, swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-atomics
Fetched https://github.com/apple/swift-configuration.git (0.84s)
[10662/36543] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.86s)
[13687/34662] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
[24061/120727] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git (2.03s)
Fetched https://github.com/apple/swift-distributed-tracing.git (2.04s)
[28115/102130] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (2.60s)
[53361/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (5.74s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (7.18s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.37s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.55s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
[1/2843] Fetching swift-service-lifecycle
[2844/9759] Fetching swift-service-lifecycle, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle (0.64s)
[208/6916] Fetching swift-system
[6917/34609] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system (0.84s)
[2216/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.80s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.47s)
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 (1.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.74s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.32s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.13s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.43s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.50s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.37s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.41s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.40s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.54s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1983] Fetching swift-asn1
[101/9558] Fetching swift-asn1, swift-certificates
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-certificates.git (0.77s)
[13/1253] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-asn1.git (1.15s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.53s)
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 (1.59s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.46s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.36s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (2.25s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.25s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.0
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.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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.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.5
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
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/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
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.36.1
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.1
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.3
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.3.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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.0
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.0
Creating working copy for https://github.com/swift-server/swift-openapi-async-http-client
Working copy of https://github.com/swift-server/swift-openapi-async-http-client resolved at 1.5.0
Creating working copy for https://github.com/atacan/UsefulThings
Working copy of https://github.com/atacan/UsefulThings resolved at main (3ba180c)
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.5
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.13.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1527]
[Planning 482 / 1527]
[Planning 1096 / 1527]
[Planning 1349 / 1527]
[Planning deferred tasks]
[Constructing 196 / 3634]
[Constructing 2214 / 3634]
[Starting]
[39 / 885] RealModule
[206 / 885] AssemblyAI
[235 / 917] RealModule
[237 / 935] SystemPackage
[238 / 935] ServiceContextModule
[248 / 935] Logging
[256 / 935] RealModule
[267 / 935] SystemPackage
[270 / 935] SystemPackage
[280 / 936] SystemPackage
[282 / 936] _NIOBase64
[284 / 936] _NIOBase64
[286 / 936] ServiceContextModule
[289 / 937] ServiceContextModule-product
[292 / 937] ServiceContextModule
[294 / 937] ServiceContextModule
[298 / 938] ServiceContextModule
[300 / 938] ServiceContextModule
[301 / 938] RealModule
[303 / 938] RealModule
[305 / 938] NIOConcurrencyHelpers
[307 / 938] NIOConcurrencyHelpers
[310 / 939] RealModule
[312 / 939] RealModule
[314 / 939] Logging-product
[317 / 939] Logging
[317 / 939] Instrumentation
[318 / 941] InternalCollectionsUtilities
[320 / 949] NIOConcurrencyHelpers
[322 / 950] NIOConcurrencyHelpers
[326 / 950] InternalCollectionsUtilities
[327 / 950] InternalCollectionsUtilities
[329 / 951] SystemPackage
[330 / 951] InternalCollectionsUtilities
[333 / 952] HTTPTypes
[335 / 961] CSystem
[339 / 961] HTTPTypes
[340 / 961] CNIOWindows
[343 / 962] HTTPTypes
[346 / 962] Logging
[347 / 962] InternalCollectionsUtilities
[349 / 962] InternalCollectionsUtilities
[351 / 963] InternalCollectionsUtilities
[355 / 963] InternalCollectionsUtilities
[356 / 963] SpanPreview
[365 / 963] CNIOLinux
[369 / 963] CNIOLLHTTP
[370 / 963] SpanPreview
[373 / 968] SpanPreview
[375 / 968] SpanPreview
[380 / 968]
[388 / 978] Atomics
[390 / 986] CNIOExtrasZlib
[397 / 986] CNIOExtrasZlib
[399 / 986] CNIOExtrasZlib
[404 / 986] Instrumentation
[414 / 986] HTTPTypes
[418 / 987] OpenAPIRuntime
[421 / 987] HTTPTypes
[425 / 988] Instrumentation
[426 / 988] Instrumentation
[432 / 999] Atomics
[435 / 1008] OpenAPIRuntime
[437 / 1008] CNIOBoringSSL
[438 / 1008] CNIOBoringSSL
[439 / 1008] CNIOBoringSSL
[440 / 1008] Tracing
[442 / 1008] Tracing
[448 / 1008] CNIOBoringSSL
[449 / 1008] CNIOBoringSSL
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
[450 / 1008] CNIOBoringSSL
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: [1;39mnote: [1;39mwhile building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:[0;0m
[0;36m26 |[0;0m #include <setjmp.h>
[0;36m27 |[0;0m #endif
[0;36m28 |[0;0m #include <signal.h>
[0;36m|[0;0m `- [1;39mnote: [1;39mwhile building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:[0;0m
[0;36m29 |[0;0m #include <stddef.h>
[0;36m30 |[0;0m #include <stdio.h>
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "signal.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: [1;31merror: [1;39m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0;0m
[0;36m1 |[0;0m #ifndef _WASI_EMULATED_SIGNAL
[0;36m2 |[0;0m #error "wasm lacks signal support; to enable minimal signal emulation, \
[0;36m|[0;0m `- [1;31merror: [1;39m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0;0m
[0;36m3 |[0;0m compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
[0;36m4 |[0;0m #else
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "CoreFoundation.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: [1;31merror: [1;39mcould not build module 'wasi_emulated_signal'[0;0m
[0;36m26 |[0;0m #include <setjmp.h>
[0;36m27 |[0;0m #endif
[0;36m28 |[0;0m #include <signal.h>
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build module 'wasi_emulated_signal'[0;0m
[0;36m29 |[0;0m #include <stddef.h>
[0;36m30 |[0;0m #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: [1;39mnote: [1;39mwhile building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:[0;0m
[0;36m84 |[0;0m #undef _WASI_EMULATED_MMAN
[0;36m85 |[0;0m #define _WASI_EMULATED_MMAN
[0;36m86 |[0;0m #include <sys/mman.h>
[0;36m|[0;0m `- [1;39mnote: [1;39mwhile building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:[0;0m
[0;36m87 |[0;0m #elif TARGET_OS_LINUX
[0;36m88 |[0;0m #include <errno.h>
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "sys/mman.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: [1;31merror: [1;39m"WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"[0;0m
[0;36m1 |[0;0m #ifndef _WASI_EMULATED_MMAN
[0;36m2 |[0;0m #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
[0;36m|[0;0m `- [1;31merror: [1;39m"WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"[0;0m
[0;36m3 |[0;0m compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
[0;36m4 |[0;0m #else
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:22:8: [1;31merror: [1;39mcould not build C module 'CoreFoundation'[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m #if canImport(CoreFoundation) && (FullFoundation || canImport(Darwin))
[0;36m22 |[0;0m import CoreFoundation
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build C module 'CoreFoundation'[0;0m
[0;36m23 |[0;0m #endif
[0;36m24 |[0;0m
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/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.12.1 -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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