The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnthropicAPI, reference 1.0.0 (5d9cf3), with Swift 6.4 for Wasm on 24 Sep 2026 06:44:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atacan/AnthropicAPI.git
Reference: 1.0.0
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/AnthropicAPI
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5d9cf39 Merge branch 'prepare-for-public'
Cloned https://github.com/atacan/AnthropicAPI.git
Revision (git rev-parse @):
5d9cf390be43f1d32ca1a2c164ba27033551719d
SUCCESS checkout https://github.com/atacan/AnthropicAPI.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/atacan/AnthropicAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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
[1/248] Fetching usefulthings
Fetched https://github.com/atacan/UsefulThings (0.47s)
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.46s)
[1/6945] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime.git (0.58s)
[1/18407] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator.git (1.00s)
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 (2.11s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/swift-server/async-http-client.git
[1/1935] Fetching swift-http-types
[1936/18144] Fetching swift-http-types, async-http-client
Fetched https://github.com/apple/swift-http-types (0.93s)
Fetched https://github.com/swift-server/async-http-client.git (0.93s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.1 (1.13s)
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.26s)
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
[1/6145] Fetching swift-algorithms
[63/18006] Fetching swift-algorithms, yams
[7333/36935] Fetching swift-algorithms, yams, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms (0.59s)
[1306/30790] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.16s)
Fetched https://github.com/jpsim/Yams (1.18s)
[1/175167] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit (5.43s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.62s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.81s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.21s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (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.36.1 (0.21s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1376] Fetching swift-service-context
[153/17441] Fetching swift-service-context, swift-nio-ssl
[443/20304] Fetching swift-service-context, swift-nio-ssl, swift-nio-transport-services
[5176/22185] Fetching swift-service-context, swift-nio-ssl, swift-nio-transport-services, swift-atomics
Fetched https://github.com/apple/swift-nio-transport-services.git (0.50s)
[3678/19322] Fetching swift-service-context, swift-nio-ssl, swift-atomics
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-service-context.git (0.56s)
Fetching https://github.com/apple/swift-configuration.git
[4452/17946] Fetching swift-nio-ssl, swift-atomics
[6541/30198] Fetching swift-nio-ssl, swift-atomics, swift-nio-http2
[30199/36888] Fetching swift-nio-ssl, swift-atomics, swift-nio-http2, swift-nio-extras
[30802/40667] Fetching swift-nio-ssl, swift-atomics, swift-nio-http2, swift-nio-extras, swift-configuration
[40668/47012] Fetching swift-nio-ssl, swift-atomics, swift-nio-http2, swift-nio-extras, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-configuration.git (0.57s)
[38919/43233] Fetching swift-nio-ssl, swift-atomics, swift-nio-http2, swift-nio-extras, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-extras.git (0.66s)
[33879/36543] Fetching swift-nio-ssl, swift-atomics, swift-nio-http2, swift-distributed-tracing
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.17s)
[19209/20478] Fetching swift-atomics, swift-nio-http2, swift-distributed-tracing
Fetched https://github.com/apple/swift-nio-http2.git (1.18s)
[7909/8226] Fetching swift-atomics, swift-distributed-tracing
Fetched https://github.com/apple/swift-atomics.git (1.23s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.67s)
[1/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.60s)
[1/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.07s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (4.39s)
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.18s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.26s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2843] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.52s)
[1/6916] Fetching swift-system
[6917/34609] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system (1.52s)
Fetched https://github.com/apple/swift-collections (1.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.70s)
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.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
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.17s)
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.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.95s)
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.21s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.29s)
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.19s)
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.22s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
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.31s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1983] Fetching swift-asn1
[140/3236] Fetching swift-asn1, swift-http-structured-headers
Fetched https://github.com/apple/swift-asn1.git (0.48s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.49s)
[1/7575] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git (0.66s)
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.85s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.20s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.23s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (1.48s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.15s)
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/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/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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.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/atacan/UsefulThings
Working copy of https://github.com/atacan/UsefulThings resolved at main (3ba180c)
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/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.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-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-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.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-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-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-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-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/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/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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 75]
[Pre-planning 1 / 1527]
[Planning 1079 / 1527]
[Planning deferred tasks]
[Constructing 2866 / 3634]
[36 / 885] SpanPreview
[215 / 885] SystemPackage
[232 / 903] NIOConcurrencyHelpers
[239 / 955] SystemPackage
[240 / 955] ServiceContextModule
[250 / 955] RealModule
[257 / 955] _NIODataStructures
[268 / 955] _CWASI
[270 / 955] Logging
[281 / 955] SystemPackage
[281 / 955] HTTPTypes
[292 / 955] SystemPackage
[294 / 956] _NIOBase64
[297 / 956] _NIOBase64
[300 / 956] ServiceContextModule
[302 / 956] ServiceContextModule-product
[305 / 956] RealModule
[308 / 957] ServiceContextModule
[310 / 958] ServiceContextModule
[316 / 958] _NIODataStructures
[317 / 958] RealModule
[320 / 959] NIOConcurrencyHelpers-product
[323 / 959] NIOConcurrencyHelpers
[325 / 959] Logging
[328 / 959] Logging
[329 / 959] Logging
[333 / 960] InternalCollectionsUtilities
[334 / 960] InternalCollectionsUtilities
[335 / 960] SpanPreview
[338 / 960] InternalCollectionsUtilities
[341 / 961] InternalCollectionsUtilities
[344 / 961] Instrumentation
[347 / 962] Logging
[351 / 962] Logging
[353 / 962] HTTPTypes-product
[359 / 962] CNIOOpenBSD
[363 / 967] _AtomicsShims
[366 / 967] SpanPreview
[379 / 967] CNIOExtrasZlib
[385 / 969] CNIOExtrasZlib
[388 / 969] CNIOExtrasZlib
[395 / 972] Instrumentation
[404 / 986] OpenAPIRuntime
[409 / 986] OpenAPIRuntime
[410 / 986] Instrumentation
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Decoding/URIValueFromNodeDecoder.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URIValueFromNodeDecoder.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIEncoder.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URIEncoder.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Keyed.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URIValueToNodeEncoder+Keyed.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Single.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URIValueToNodeEncoder+Single.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Unkeyed.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URIValueToNodeEncoder+Unkeyed.swift
[417 / 987] OpenAPIRuntime
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URIValueToNodeEncoder.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Parsing/URIParser.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URIParser.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Serialization/URISerializer.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URISerializer.swift
/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: note: while 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:
 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.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:
 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.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: 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.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: 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.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: note: while 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:
 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.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:
 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.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: 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 -c /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 -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Decoding/URIValueFromNodeDecoder.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIEncoder.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Keyed.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Single.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder+Unkeyed.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Encoding/URIValueToNodeEncoder.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Parsing/URIParser.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/URICoder/Serialization/URISerializer.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/supplementaryOutputs-24 -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 -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/URIValueFromNodeDecoder.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIEncoder.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder+Keyed.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder+Single.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder+Unkeyed.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIParser.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URISerializer.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueFromNodeDecoder.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIEncoder.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder+Keyed.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder+Single.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder+Unkeyed.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIValueToNodeEncoder.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URIParser.o -index-unit-output-path /swift-openapi-runtime.build/Debug-webassembly-wasm32/OpenAPIRuntime-t.build/Objects-normal/wasm32/URISerializer.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm