Build Information
Failed to build vapor-pagination, reference main (1af7e1), with Swift 6.4 for Wasm on 26 Sep 2026 21:06:35 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/studio-falkland/vapor-pagination.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/studio-falkland/vapor-pagination
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1af7e16 fix: cursor returns the current cursor
Cloned https://github.com/studio-falkland/vapor-pagination.git
Revision (git rev-parse @):
1af7e16120d018e932b40be56520ccc1c6caee71
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/studio-falkland/vapor-pagination.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/studio-falkland/vapor-pagination.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/vapor/fluent.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
Fetching https://github.com/studio-falkland/vapor-utilities.git
Fetching https://github.com/vapor/vapor.git
[1/1373] Fetching fluent-sqlite-driver
[1374/14890] Fetching fluent-sqlite-driver, fluent
[5565/15089] Fetching fluent-sqlite-driver, fluent, vapor-utilities
Fetched https://github.com/vapor/fluent.git (0.66s)
[1/82781] Fetching vapor
Fetched https://github.com/studio-falkland/vapor-utilities.git (1.60s)
Fetched https://github.com/vapor/fluent-sqlite-driver.git (1.60s)
Fetched https://github.com/vapor/vapor.git (1.61s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.122.2 (1.82s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-certificates.git
[1/6159] Fetching swift-algorithms
[125/12437] Fetching swift-algorithms, multipart-kit
[1681/13823] Fetching swift-algorithms, multipart-kit, swift-service-context
[9179/15708] Fetching swift-algorithms, multipart-kit, swift-service-context, swift-atomics
Fetched https://github.com/apple/swift-algorithms.git (0.52s)
[3472/9549] Fetching multipart-kit, swift-service-context, swift-atomics
Fetching https://github.com/vapor/websocket-kit.git
[4208/17127] Fetching multipart-kit, swift-service-context, swift-atomics, swift-certificates
Fetched https://github.com/apple/swift-atomics.git (0.61s)
[8400/15242] Fetching multipart-kit, swift-service-context, swift-certificates
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-service-context.git (0.67s)
Fetched https://github.com/apple/swift-certificates.git (0.68s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-http2.git
[1634/8264] Fetching multipart-kit, swift-asn1
[3620/10945] Fetching multipart-kit, swift-asn1, websocket-kit
[6275/14468] Fetching multipart-kit, swift-asn1, websocket-kit, swift-metrics
Fetched https://github.com/vapor/websocket-kit.git (0.58s)
[10202/11787] Fetching multipart-kit, swift-asn1, swift-metrics
Fetching https://github.com/apple/swift-nio-ssl.git
[11788/19952] Fetching multipart-kit, swift-asn1, swift-metrics, swift-log
Fetched https://github.com/apple/swift-asn1.git (1.19s)
Fetched https://github.com/apple/swift-metrics.git (0.59s)
[8075/14443] Fetching multipart-kit, swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/vapor/multipart-kit.git (1.22s)
[3756/8165] Fetching swift-log
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/apple/swift-log.git (0.61s)
Fetching https://github.com/apple/swift-crypto.git
[1/12255] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (0.98s)
Fetching https://github.com/vapor/routing-kit.git
[1/6843] Fetching console-kit
Fetched https://github.com/vapor/console-kit.git (0.53s)
Fetching https://github.com/apple/swift-nio-extras.git
[1/18562] Fetching swift-crypto
[1858/35431] Fetching swift-crypto, swift-nio-ssl
[5047/56986] Fetching swift-crypto, swift-nio-ssl, routing-kit
[5600/143154] Fetching swift-crypto, swift-nio-ssl, routing-kit, swift-nio
[34656/149847] Fetching swift-crypto, swift-nio-ssl, routing-kit, swift-nio, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.68s)
[73587/143154] Fetching swift-crypto, swift-nio-ssl, routing-kit, swift-nio
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/vapor/routing-kit.git (0.91s)
[72316/121599] Fetching swift-crypto, swift-nio-ssl, swift-nio
Fetching https://github.com/swift-server/async-http-client.git
[92303/124113] Fetching swift-crypto, swift-nio-ssl, swift-nio, async-kit
Fetched https://github.com/vapor/async-kit.git (0.54s)
Fetched https://github.com/apple/swift-crypto.git (1.73s)
[75464/103037] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (2.02s)
[61180/86168] Fetching swift-nio
[68936/102404] Fetching swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git (1.23s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/6362] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git (0.64s)
Fetched https://github.com/apple/swift-nio.git (4.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (5.92s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.03s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.60s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (0.76s)
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.16s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.15s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.68s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.16.1 (0.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.15s)
Fetching https://github.com/apple/swift-collections.git
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (1.44s)
Computing version for https://github.com/studio-falkland/vapor-utilities.git
Computed https://github.com/studio-falkland/vapor-utilities.git at 1.6.0 (0.16s)
Fetching https://github.com/pgvector/pgvector-swift.git
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/soto-project/soto.git
Fetching https://github.com/vapor/sql-kit.git
[1/6358] Fetching sql-kit
[6232/20326] Fetching sql-kit, fluent-kit
[20327/20802] Fetching sql-kit, fluent-kit, pgvector-swift
[20803/165089] Fetching sql-kit, fluent-kit, pgvector-swift, soto
Fetched https://github.com/pgvector/pgvector-swift.git (41.35s)
Fetched https://github.com/vapor/sql-kit.git (41.35s)
Fetched https://github.com/vapor/fluent-kit.git (41.35s)
Fetched https://github.com/soto-project/soto.git (41.63s)
Computing version for https://github.com/pgvector/pgvector-swift.git
Computed https://github.com/pgvector/pgvector-swift.git at 0.1.0 (41.83s)
Fetching https://github.com/vapor/postgres-nio
Fetching https://github.com/codewinsdotcom/PostgresClientKit
[1/1926] Fetching postgresclientkit
Fetched https://github.com/codewinsdotcom/PostgresClientKit (0.52s)
[1/15500] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio (1.48s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (1.65s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.57.0 (0.17s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2843] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.54s)
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.73s)
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)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6737] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.60s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.82s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.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-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.34s)
Fetching https://github.com/apple/swift-system.git
[1/6983] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.65s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.82s)
Computing version for https://github.com/codewinsdotcom/PostgresClientKit
Computed https://github.com/codewinsdotcom/PostgresClientKit at 1.5.0 (0.18s)
Fetching https://github.com/Kitura/BlueSSLService
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
[31/5019] Fetching bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSSLService (0.52s)
Fetched https://github.com/Kitura/BlueSocket.git (0.52s)
Computing version for https://github.com/Kitura/BlueSSLService
Computed https://github.com/Kitura/BlueSSLService at 2.0.2 (0.73s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.43s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.49s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.19s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.07s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.24s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.13.0 (0.16s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.9.0 (0.16s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2197] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git (0.58s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (0.75s)
Fetching https://github.com/vapor/sqlite-nio.git
[1/2014] Fetching sqlite-nio
Fetched https://github.com/vapor/sqlite-nio.git (1.64s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (1.83s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 7.15.0 (3.21s)
Fetching https://github.com/soto-project/soto-core.git
[1/72695] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git (3.14s)
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.54s)
Fetching https://github.com/jmespath/jmespath.swift.git
[1/653] Fetching jmespath.swift
Fetched https://github.com/jmespath/jmespath.swift.git (1.55s)
Computing version for https://github.com/jmespath/jmespath.swift.git
Computed https://github.com/jmespath/jmespath.swift.git at 1.0.3 (2.87s)
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.2 (1.29s)
Fetching https://github.com/apple/swift-configuration.git
[1/3813] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git (1.39s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (1.88s)
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.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.26s)
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.33s)
Fetching https://github.com/apple/swift-http-types.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.41s)
[1/1939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.49s)
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.69s)
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.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.30s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.13.0 (0.21s)
Computing version for https://github.com/vapor/postgres-nio
Computed https://github.com/vapor/postgres-nio at 1.33.1 (0.19s)
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/soto-project/soto.git
Working copy of https://github.com/soto-project/soto.git resolved at 7.15.0
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.6
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-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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.36.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/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.57.0
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
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/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.16.1
Creating working copy for https://github.com/vapor/sqlite-kit.git
Working copy of https://github.com/vapor/sqlite-kit.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.122.2
Creating working copy for https://github.com/studio-falkland/vapor-utilities.git
Working copy of https://github.com/studio-falkland/vapor-utilities.git resolved at 1.6.0
Creating working copy for https://github.com/vapor/postgres-nio
Working copy of https://github.com/vapor/postgres-nio resolved at 1.33.1
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/codewinsdotcom/PostgresClientKit
Working copy of https://github.com/codewinsdotcom/PostgresClientKit resolved at 1.5.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/vapor/fluent-sqlite-driver.git
Working copy of https://github.com/vapor/fluent-sqlite-driver.git resolved at 4.9.0
Creating working copy for https://github.com/Kitura/BlueSSLService
Working copy of https://github.com/Kitura/BlueSSLService resolved at 2.0.2
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.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/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/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-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/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 4.13.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.2
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.13.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/pgvector/pgvector-swift.git
Working copy of https://github.com/pgvector/pgvector-swift.git resolved at 0.1.0
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.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
warning: 'openssl': you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 141]
[Constructing description]
[Pre-planning 1 / 2775]
[Planning 1 / 2775]
[Planning 1261 / 2775]
[Planning 2065 / 2775]
[Planning 2667 / 2775]
[Planning deferred tasks]
[Constructing 1 / 6764]
[Constructing 954 / 6764]
[Constructing 3877 / 6764]
[Starting]
[6 / 1710] AsyncAlgorithms-product
[177 / 1710] NIOHTTP1
[349 / 1710] CNIOLLHTTP
[416 / 1715]
[427 / 1745] SwiftASN1
[428 / 1745] ServiceContextModule
[430 / 1748] _CertificateInternals
[437 / 1748] _CertificateInternals
[449 / 1762] CoreMetrics
[450 / 1762] _NIODataStructures
[467 / 1765] _CWASI
[474 / 1765] SwiftASN1
[477 / 1765] SwiftASN1
[489 / 1766] _CertificateInternals
[494 / 1766] ServiceContextModule
[494 / 1767] ServiceContextModule
[498 / 1767] _NIOBase64
[500 / 1767] _NIOBase64
[502 / 1768] RealModule
[507 / 1768] ServiceContextModule
[511 / 1769] _NIODataStructures
[514 / 1769] RealModule
[519 / 1770] RoutingKit
[523 / 1770] CoreMetrics
[524 / 1770] Logging
[526 / 1770] ConcurrencyHelpers
[529 / 1771]
[532 / 1782] Atomics
[534 / 1801] SwiftASN1
[536 / 1801] CNIOLinux
[541 / 1802] CNIODarwin
[546 / 1803] SystemPackage
[547 / 1803] SystemPackage
[548 / 1803] CoreMetrics
[553 / 1804] SystemPackage
[556 / 1804] InternalCollectionsUtilities
[562 / 1804] SystemPackage
[564 / 1804] Logging
[568 / 1804] SwiftASN1
[571 / 1804] Logging
[572 / 1804] _RopeModule
[574 / 1804] InternalCollectionsUtilities
[575 / 1804] InternalCollectionsUtilities
[576 / 1804] InternalCollectionsUtilities
[577 / 1804] HeapModule
[582 / 1804] BitCollections
[587 / 1804] Atomics
[591 / 1804] Atomics
[593 / 1804] Atomics-product
[595 / 1805] SystemPackage
[597 / 1806] NIOConcurrencyHelpers
[601 / 1813] Atomics
[604 / 1813] CXKCP
[607 / 1813] CSystem
[621 / 1813] CNIOFreeBSD
[628 / 1814] CNIOExtrasZlib
[631 / 1814] CNIOExtrasZlib
[637 / 1814] CNIOBoringSSL
[646 / 1814] CNIOBoringSSL
[647 / 1814] CNIOLLHTTP
[649 / 1814] CNIOBoringSSL
[651 / 1814] CNIOBoringSSL
[652 / 1815] Atomics
[656 / 1815] CNIOBoringSSL
[661 / 1815] CNIOBoringSSL
[662 / 1815] CNIOBoringSSL
[665 / 1815] CNIOBoringSSL
[666 / 1815] CNIOBoringSSL
[668 / 1815] CNIOBoringSSL
[671 / 1815] CNIOBoringSSL
[672 / 1815] CNIOBoringSSL
[674 / 1815] CNIOBoringSSL
[675 / 1815] CNIOBoringSSL
[678 / 1815] CNIOBoringSSL
[680 / 1815] CNIOBoringSSL
[682 / 1815] CNIOBoringSSL
[687 / 1815] CNIOBoringSSL
[692 / 1815] CNIOBoringSSL
[693 / 1815] CNIOBoringSSL
[695 / 1815] CNIOBoringSSL
[696 / 1815] CNIOBoringSSL
[699 / 1815] CNIOBoringSSL
[702 / 1815] CNIOBoringSSL
[703 / 1815] CNIOBoringSSL
[705 / 1815] CNIOBoringSSL
[707 / 1815] CNIOBoringSSL
[710 / 1815] CNIOBoringSSL
[711 / 1815] CNIOBoringSSL
[712 / 1815] CNIOBoringSSL
[713 / 1815] CNIOBoringSSL
[716 / 1815] CNIOBoringSSL
[719 / 1815] CNIOBoringSSL
[721 / 1815] CNIOBoringSSL
[722 / 1815] CNIOBoringSSL
[723 / 1815] CNIOBoringSSL
[724 / 1815] CNIOBoringSSL
[727 / 1815] CNIOBoringSSL
[729 / 1815] CNIOBoringSSL
[731 / 1815] CNIOBoringSSL
[732 / 1815] CNIOBoringSSL
[734 / 1815] CNIOBoringSSL
[736 / 1815] CNIOBoringSSL
[738 / 1815] CNIOBoringSSL
[740 / 1815] CNIOBoringSSL
[743 / 1815] CNIOBoringSSL
[745 / 1815] CNIOBoringSSL
[747 / 1815] CNIOBoringSSL
[748 / 1815] CNIOBoringSSL
[750 / 1815] CNIOBoringSSL
[751 / 1815] CNIOBoringSSL
[754 / 1815] CNIOBoringSSL
[756 / 1815] CNIOBoringSSL
[758 / 1815] CNIOBoringSSL
[759 / 1815] CNIOBoringSSL
[760 / 1815] CNIOBoringSSL
[761 / 1815] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
30 | #include <netdb.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc 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-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-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-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -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 -w -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 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -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-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o
error: Build failed
BUILD FAILURE 6.4 wasm