Build Information
Failed to build swift-openapi-lambda, reference main (97b2e6), with Swift 6.4 for Wasm on 23 Sep 2026 06:30:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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/awslabs/swift-openapi-lambda.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/awslabs/swift-openapi-lambda
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 97b2e6d Add support for Lambda functions exposed behind an Application Load Balancer (ALB) (#29)
Cloned https://github.com/awslabs/swift-openapi-lambda.git
Revision (git rev-parse @):
97b2e6d017b9d7404b144ab59bd92b0fc6316a2e
SUCCESS checkout https://github.com/awslabs/swift-openapi-lambda.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/awslabs/swift-openapi-lambda.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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/awslabs/swift-aws-lambda-runtime.git
Fetching https://github.com/awslabs/swift-aws-lambda-events.git
Fetching https://github.com/apple/swift-openapi-runtime.git
[1/2841] Fetching swift-aws-lambda-events
[2814/9779] Fetching swift-aws-lambda-events, swift-openapi-runtime
Fetched https://github.com/awslabs/swift-aws-lambda-events.git (0.56s)
Fetched https://github.com/apple/swift-openapi-runtime.git (0.56s)
[1/18033] Fetching swift-aws-lambda-runtime
Fetched https://github.com/awslabs/swift-aws-lambda-runtime.git (1.87s)
Computing version for https://github.com/awslabs/swift-aws-lambda-events.git
Computed https://github.com/awslabs/swift-aws-lambda-events.git at 1.5.0 (2.08s)
Fetching https://github.com/apple/swift-http-types.git
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.56s)
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.89s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.1 (0.29s)
Computing version for https://github.com/awslabs/swift-aws-lambda-runtime.git
Computed https://github.com/awslabs/swift-aws-lambda-runtime.git at 2.11.0 (0.31s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/soto-project/soto-core.git
Fetching https://github.com/apple/swift-nio.git
[1/8148] Fetching swift-log
[7579/10991] Fetching swift-log, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.65s)
[1/27693] Fetching swift-collections
[10248/100336] Fetching swift-collections, soto-core
[18035/186401] Fetching swift-collections, soto-core, swift-nio
Fetched https://github.com/apple/swift-log.git (2.48s)
Fetched https://github.com/apple/swift-collections.git (2.50s)
Fetched https://github.com/soto-project/soto-core.git (3.85s)
Fetched https://github.com/apple/swift-nio.git (3.86s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 7.15.0 (4.07s)
Fetching https://github.com/jmespath/jmespath.swift.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
[187/19202] Fetching swift-crypto, jmespath.swift
[784/35267] Fetching swift-crypto, jmespath.swift, swift-nio-ssl
[1173/38130] Fetching swift-crypto, jmespath.swift, swift-nio-ssl, swift-nio-transport-services
[1213/41646] Fetching swift-crypto, jmespath.swift, swift-nio-ssl, swift-nio-transport-services, swift-metrics
Fetched https://github.com/jmespath/jmespath.swift.git (0.46s)
[1661/40993] Fetching swift-crypto, swift-nio-ssl, swift-nio-transport-services, swift-metrics
Fetching https://github.com/apple/swift-distributed-tracing.git
[13958/57190] Fetching swift-crypto, swift-nio-ssl, swift-nio-transport-services, swift-metrics, async-http-client
[56079/63510] Fetching swift-crypto, swift-nio-ssl, swift-nio-transport-services, swift-metrics, async-http-client, swift-distributed-tracing
Fetched https://github.com/apple/swift-nio-transport-services.git (1.26s)
Fetched https://github.com/apple/swift-metrics.git (1.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.81s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.28s)
Fetched https://github.com/swift-server/async-http-client.git (1.36s)
Fetched https://github.com/apple/swift-crypto.git (1.37s)
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.55s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (2.01s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.33s)
Computing version for https://github.com/jmespath/jmespath.swift.git
Computed https://github.com/jmespath/jmespath.swift.git at 1.0.3 (1.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
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.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.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.20s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.47s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.36s)
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.70s)
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.94s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/3779] Fetching swift-configuration
[266/10469] Fetching swift-configuration, swift-nio-extras
[343/16614] Fetching swift-configuration, swift-nio-extras, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.60s)
Fetched https://github.com/apple/swift-configuration.git (0.60s)
Fetched https://github.com/apple/swift-nio-extras.git (0.60s)
[1/12252] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.00s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.19s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.56s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (1.56s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.17s)
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.21s)
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.21s)
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.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
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.49s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1253] Fetching swift-http-structured-headers
[1254/8828] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (0.51s)
[606/7575] Fetching swift-certificates
[7576/9558] Fetching swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.96s)
Fetched https://github.com/apple/swift-certificates.git (0.96s)
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.17s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.23s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.26s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.32s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.19s)
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-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/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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
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/awslabs/swift-aws-lambda-runtime.git
Working copy of https://github.com/awslabs/swift-aws-lambda-runtime.git resolved at 2.11.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.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/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at 1.0.3
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-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-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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/awslabs/swift-aws-lambda-events.git
Working copy of https://github.com/awslabs/swift-aws-lambda-events.git resolved at 1.5.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.2.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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 7.15.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.15.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.5
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/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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 988]
[Planning deferred tasks]
[86 / 328] NIOConcurrencyHelpers
[163 / 351] NIOConcurrencyHelpers
[169 / 378] _NIOBase64
[177 / 378] ConcurrencyHelpers
[181 / 378] ConcurrencyHelpers
[190 / 378] _AtomicsShims
[192 / 378] _NIODataStructures
[194 / 378] _NIODataStructures
[208 / 378] HTTPTypes
[209 / 378] _NIODataStructures
[211 / 378] _NIODataStructures
[217 / 378] Logging
[219 / 379] _NIOBase64
[220 / 379] _NIODataStructures
[227 / 380] _NIODataStructures
[229 / 380] _NIODataStructures
[232 / 381] NIOConcurrencyHelpers
[234 / 381] SpanPreview
[238 / 381] InternalCollectionsUtilities
[239 / 381] InternalCollectionsUtilities
[241 / 382] Logging
[243 / 382] HTTPTypes
[244 / 382] Logging
[246 / 382] Logging
[248 / 382] HTTPTypes-product
[249 / 382] HTTPTypes-product
[251 / 382] HTTPTypes
[252 / 382] ConcurrencyHelpers
[253 / 382] UnixSignals
[256 / 392] Atomics
[257 / 392] CNIOOpenBSD
[261 / 392] ConcurrencyHelpers
[265 / 393] ConcurrencyHelpers
[266 / 394] InternalCollectionsUtilities
[269 / 394] ConcurrencyHelpers
[272 / 394] InternalCollectionsUtilities
[273 / 394] InternalCollectionsUtilities
[277 / 394] CNIOLLHTTP
[277 / 394] HTTPTypes
[282 / 395] CNIOAtomics
[282 / 395] Atomics
[284 / 395] HTTPTypes
[289 / 399] OrderedCollections
[291 / 406] SpanPreview
[292 / 415] OrderedCollections
[293 / 415] SpanPreview
[295 / 415] UnixSignals
[306 / 424] OpenAPIRuntime
[307 / 424] SpanPreview
[307 / 425] CNIOAtomics
[311 / 425] UnixSignals
[314 / 426] SpanPreview
[315 / 426] CNIOAtomics
[317 / 426] SpanPreview
[319 / 426] Atomics
[320 / 426] OrderedCollections
[327 / 426] Atomics
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/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