The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-web, reference main (6edadb), with Swift 6.4 for Wasm on 28 Sep 2026 00:38:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/swift-web.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/1amageek/swift-web
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6edadb6 Support official Swift 6.4.0 toolchains
Cloned https://github.com/1amageek/swift-web.git
Revision (git rev-parse @):
6edadb6cfa92e3a4b26a1e669329be38f45212f4
SUCCESS checkout https://github.com/1amageek/swift-web.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/1amageek/swift-web.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/1amageek/swift-tls-nio.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/18562] Fetching swift-crypto
[373/18660] Fetching swift-crypto, swift-tls-nio
[1956/46439] Fetching swift-crypto, swift-tls-nio, swift-collections
[22428/47825] Fetching swift-crypto, swift-tls-nio, swift-collections, swift-service-context
[23369/134017] Fetching swift-crypto, swift-tls-nio, swift-collections, swift-service-context, swift-nio
[70932/214086] Fetching swift-crypto, swift-tls-nio, swift-collections, swift-service-context, swift-nio, swift-syntax
Fetched https://github.com/apple/swift-collections.git (1.36s)
Fetching https://github.com/apple/swift-http-api-proposal.git
[82806/186307] Fetching swift-crypto, swift-tls-nio, swift-service-context, swift-nio, swift-syntax
Fetched https://github.com/apple/swift-crypto.git (1.39s)
Fetching https://github.com/apple/swift-nio-extras.git
[66769/167745] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax
[126939/171621] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, swift-http-api-proposal
[131172/178314] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, swift-http-api-proposal, swift-nio-extras
Fetched https://github.com/apple/swift-http-api-proposal.git (0.66s)
Fetching https://github.com/swift-server/swift-http-server
[145024/174438] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.69s)
Fetching https://github.com/1amageek/swift-actor-system.git
[145660/167745] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax
[167580/172246] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, swift-http-server
[168256/172530] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, swift-http-server, swift-actor-system
Fetched https://github.com/1amageek/swift-actor-system.git (0.57s)
Fetching https://github.com/1amageek/JavaScriptKit.git
Fetched https://github.com/swift-server/swift-http-server (0.71s)
Fetching https://github.com/swift-server/async-http-client.git
[167580/185830] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, javascriptkit
[176080/202228] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, javascriptkit, async-http-client
Fetched https://github.com/1amageek/JavaScriptKit.git (1.58s)
Fetching https://github.com/1amageek/swift-html.git
Fetched https://github.com/swift-server/async-http-client.git (1.62s)
Fetching https://github.com/1amageek/swift-tls.git
[167580/168702] Fetching swift-tls-nio, swift-service-context, swift-nio, swift-syntax, swift-html
Fetched https://github.com/1amageek/swift-tls-nio.git (4.83s)
[168419/168604] Fetching swift-service-context, swift-nio, swift-syntax, swift-html
Fetching https://github.com/apple/swift-http-types
[168439/169971] Fetching swift-service-context, swift-nio, swift-syntax, swift-html, swift-tls
Fetched https://github.com/1amageek/swift-html.git (0.63s)
[167577/169014] Fetching swift-service-context, swift-nio, swift-syntax, swift-tls
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio.git (4.92s)
[82561/82822] Fetching swift-service-context, swift-syntax, swift-tls
Fetched https://github.com/1amageek/swift-tls.git (0.58s)
Fetched https://github.com/apple/swift-service-context.git (5.19s)
Fetched https://github.com/swiftlang/swift-syntax.git (5.21s)
[1/1939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.50s)
[1/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.56s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (6.63s)
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.17s)
Computing version for https://github.com/1amageek/swift-tls-nio.git
Computed https://github.com/1amageek/swift-tls-nio.git at 0.1.1 (0.15s)
Computing version for https://github.com/1amageek/swift-tls.git
Computed https://github.com/1amageek/swift-tls.git at 2.1.0 (0.20s)
Fetching https://github.com/1amageek/swift-networking.git
Fetching https://github.com/1amageek/swift-ssl.git
[1/100] Fetching swift-networking
Fetched https://github.com/1amageek/swift-networking.git (0.43s)
[1/3439] Fetching swift-ssl
Fetched https://github.com/1amageek/swift-ssl.git (0.69s)
Computing version for https://github.com/1amageek/swift-actor-system.git
Computed https://github.com/1amageek/swift-actor-system.git at 0.2.0 (0.86s)
Fetching https://github.com/1amageek/swift-actor-runtime.git
[1/250] Fetching swift-actor-runtime
Fetched https://github.com/1amageek/swift-actor-runtime.git (0.57s)
Computing version for https://github.com/1amageek/JavaScriptKit.git
Computed https://github.com/1amageek/JavaScriptKit.git at 0.57.3 (0.80s)
Computing version for https://github.com/1amageek/swift-html.git
Computed https://github.com/1amageek/swift-html.git at 0.16.1 (0.18s)
Computing version for https://github.com/1amageek/swift-networking.git
Computed https://github.com/1amageek/swift-networking.git at 0.1.0 (0.16s)
Computing version for https://github.com/1amageek/swift-ssl.git
Computed https://github.com/1amageek/swift-ssl.git at 0.4.0 (1.15s)
Computing version for https://github.com/1amageek/swift-actor-runtime.git
Computed https://github.com/1amageek/swift-actor-runtime.git at 0.6.0 (0.14s)
Computing version for https://github.com/apple/swift-http-api-proposal.git
Computed https://github.com/apple/swift-http-api-proposal.git at 0.2.1 (0.24s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/3813] Fetching swift-configuration
[3776/11397] Fetching swift-configuration, swift-certificates
[3890/18134] Fetching swift-configuration, swift-certificates, swift-async-algorithms
[13529/30389] Fetching swift-configuration, swift-certificates, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git (0.62s)
Fetched https://github.com/apple/swift-configuration.git (0.62s)
[9434/18992] Fetching swift-async-algorithms, swift-nio-http2
[18993/35861] Fetching swift-async-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-async-algorithms.git (1.57s)
Fetched https://github.com/apple/swift-nio-http2.git (1.57s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.58s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.35.0 (1.80s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
[1/2867] Fetching swift-nio-transport-services
[2868/4752] Fetching swift-nio-transport-services, swift-atomics
[2982/11114] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing
[7026/17273] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git (0.60s)
Fetched https://github.com/apple/swift-nio-transport-services.git (0.64s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.64s)
Fetched https://github.com/apple/swift-algorithms.git (0.65s)
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.89s)
Computing version for https://github.com/swift-server/swift-http-server
Computed https://github.com/swift-server/swift-http-server at 0.2.0 (0.24s)
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.32s)
Fetching https://github.com/swift-server/swift-service-lifecycle.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
Fetched https://github.com/apple/swift-http-structured-headers.git (0.45s)
[1/2843] Fetching swift-service-lifecycle
[2844/4829] Fetching swift-service-lifecycle, swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.00s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.00s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (1.26s)
Fetching https://github.com/apple/swift-system
[1/6986] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.65s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.84s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.89s)
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/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
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-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-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.25s)
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-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-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
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.18s)
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 (0.17s)
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.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.21s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
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-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-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-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-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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/1amageek/swift-html.git
Working copy of https://github.com/1amageek/swift-html.git resolved at 0.16.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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-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/1amageek/swift-ssl.git
Working copy of https://github.com/1amageek/swift-ssl.git resolved at 0.4.0
Creating working copy for https://github.com/1amageek/swift-actor-runtime.git
Working copy of https://github.com/1amageek/swift-actor-runtime.git resolved at 0.6.0
Creating working copy for https://github.com/1amageek/JavaScriptKit.git
Working copy of https://github.com/1amageek/JavaScriptKit.git resolved at 0.57.3
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/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/1amageek/swift-networking.git
Working copy of https://github.com/1amageek/swift-networking.git resolved at 0.1.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/swift-server/swift-http-server
Working copy of https://github.com/swift-server/swift-http-server resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/1amageek/swift-actor-system.git
Working copy of https://github.com/1amageek/swift-actor-system.git resolved at 0.2.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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/1amageek/swift-tls-nio.git
Working copy of https://github.com/1amageek/swift-tls-nio.git resolved at 0.1.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.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.35.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/1amageek/swift-tls.git
Working copy of https://github.com/1amageek/swift-tls.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-http-api-proposal.git
Working copy of https://github.com/apple/swift-http-api-proposal.git resolved at 0.2.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
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 249]
[Constructing description]
[Pre-planning 1 / 5154]
[Planning 1 / 5154]
[Planning 1579 / 5154]
[Planning 2322 / 5154]
[Planning 3090 / 5154]
[Planning 3822 / 5154]
[Planning 4302 / 5154]
[Planning 4955 / 5154]
[Planning deferred tasks]
[Constructing 1 / 11756]
[Constructing 2307 / 11756]
[Constructing 10439 / 11756]
[Starting]
[6 / 2516]
[73 / 2516] TLSNIO
[230 / 2516] SwiftSyntax601
[404 / 2516] SSLDTLS
[597 / 2516] DequeModule
[744 / 2516] ActorSystemCore
[768 / 2533] _NumericsShims
[779 / 2544] SystemPackage
[801 / 2552] SwiftSyntax602
[811 / 2552] _CertificateInternals
[822 / 2552] _NIODataStructures
[824 / 2552] SystemPackage
[834 / 2552] SystemPackage
[838 / 2553] _CertificateInternals
[842 / 2554] _CertificateInternals
[846 / 2554] _NIOBase64
[849 / 2556] SwiftSyntax602
[857 / 2557]
[866 / 2568] SwiftSyntax601
[874 / 2572] SwiftSyntax600
[888 / 2576] SwiftSyntax509
[906 / 2578] SwiftSyntax509
[910 / 2579] SwiftSyntax509
[917 / 2580] SwiftSyntax510
[921 / 2581] SwiftSyntax600
[924 / 2581] SwiftSyntax510
[926 / 2582] SwiftSyntax603
[934 / 2607] SwiftASN1
[936 / 2616] ServiceContextModule
[944 / 2625] SSLCryptoContracts
[956 / 2643] NetworkingCore
[969 / 2647] NIOConcurrencyHelpers
[977 / 2663] Logging
[988 / 2676] CryptoBoringWrapper
[997 / 2694] SwiftSyntax602
[1006 / 2694] SwiftASN1
[1006 / 2694] SwiftSyntax509
[1008 / 2695] SwiftSyntax510
[1015 / 2695] Logging
[1016 / 2695] CryptoBoringWrapper
[1018 / 2695] CryptoBoringWrapper
[1020 / 2695] CryptoBoringWrapper
[1030 / 2695] ServiceContextModule
[1032 / 2695] InternalCollectionsUtilities
[1040 / 2695] SwiftASN1
[1046 / 2695] ServiceContextModule
[1048 / 2696] SwiftASN1
[1053 / 2696] SSLCryptoContracts
[1054 / 2696] ServiceContextModule
[1058 / 2696] RealModule-product
[1064 / 2697] SSLCryptoContracts
[1069 / 2698] SSLCryptoContracts
[1073 / 2698] NetworkingTime
[1079 / 2698] NetworkingCore
[1083 / 2700] TLSTypes
[1088 / 2700] NetworkingCore
[1094 / 2700] NetworkTypes
[1097 / 2701] NetworkTypes
[1099 / 2701] NetworkTypes
[1102 / 2701] NetworkTypes
[1103 / 2701] NetworkTypes
[1104 / 2701] Logging-product
[1108 / 2702] Logging
[1113 / 2703] Logging
[1117 / 2703] SpanPreview
[1120 / 2703] InternalCollectionsUtilities
[1122 / 2703] InternalCollectionsUtilities
[1122 / 2703] Instrumentation
[1125 / 2703] HTTPTypes-product
[1126 / 2703] HTTPTypes-product
[1128 / 2703] SwiftWebHost
[1131 / 2704] Logging
[1131 / 2704] DTLSRecordCore
[1132 / 2704] HTTPTypes
[1136 / 2704] Logging
[1139 / 2704] Crypto
[1143 / 2709] RealModule
[1147 / 2709] CXKCP
[1151 / 2720] CSwiftWebSignals
In file included from /host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:4:
/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"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
/host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:7:17: error: unknown type name 'sig_atomic_t'
    7 | static volatile sig_atomic_t swift_web_termination_requested = 0;
      |                 ^
/host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:15:22: error: variable has incomplete type 'struct sigaction'
   15 |     struct sigaction action;
      |                      ^
/host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:15:12: note: forward declaration of 'struct sigaction'
   15 |     struct sigaction action;
      |            ^
/host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:18:5: error: call to undeclared function 'sigemptyset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   18 |     sigemptyset(&action.sa_mask);
      |     ^
/host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:21:9: error: call to undeclared function 'sigaction'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   21 |     if (sigaction(SIGINT, &action, NULL) != 0) {
      |         ^
/host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:21:19: error: use of undeclared identifier 'SIGINT'
   21 |     if (sigaction(SIGINT, &action, NULL) != 0) {
      |                   ^~~~~~
/host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c:24:19: error: use of undeclared identifier 'SIGTERM'
   24 |     if (sigaction(SIGTERM, &action, NULL) != 0) {
      |                   ^~~~~~~
7 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-web.build/Debug-webassembly-wasm32/CSwiftWebSignals-t.build/Objects-normal/wasm32/CSwiftWebSignals.o /host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-web.build/Debug-webassembly-wasm32/CSwiftWebSignals-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --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 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-web.build/Debug-webassembly-wasm32/CSwiftWebSignals-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-web.build/Debug-webassembly-wasm32/CSwiftWebSignals-t.build/Objects-normal/wasm32/CSwiftWebSignals.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-web.build/Debug-webassembly-wasm32/CSwiftWebSignals-t.build/Objects-normal/wasm32/CSwiftWebSignals.dia -c /host/spi-builder-workspace/Sources/CSwiftWebSignals/CSwiftWebSignals.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-web.build/Debug-webassembly-wasm32/CSwiftWebSignals-t.build/Objects-normal/wasm32/CSwiftWebSignals.o
error: Build failed
BUILD FAILURE 6.4 wasm