The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mongodb-vapor, reference v1.1.0 (588e2f), with Swift 6.3 for Wasm on 13 Apr 2026 07:26:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mongodb/mongodb-vapor.git
Reference: v1.1.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/mongodb/mongodb-vapor
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 588e2f4 1.1.0
Cloned https://github.com/mongodb/mongodb-vapor.git
Revision (git rev-parse @):
588e2f480abd4800f92a5c5f5674164063849dce
SUCCESS checkout https://github.com/mongodb/mongodb-vapor.git at v1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mongodb/mongodb-vapor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/vapor/vapor
Fetching https://github.com/mongodb/mongo-swift-driver
[1/77267] Fetching vapor
[2/117173] Fetching vapor, mongo-swift-driver
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/vapor/vapor from cache (4.99s)
[37911/39906] Fetching mongo-swift-driver
[39109/59723] Fetching mongo-swift-driver, nimble
Fetched https://github.com/Quick/Nimble.git from cache (4.22s)
Fetched https://github.com/mongodb/mongo-swift-driver from cache (12.21s)
Computing version for https://github.com/mongodb/mongo-swift-driver
Computed https://github.com/mongodb/mongo-swift-driver at 1.3.1 (13.26s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
[1/3384] Fetching swift-bson
[340/5204] Fetching swift-bson, swift-atomics
[5205/88315] Fetching swift-bson, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (1.02s)
[5047/86495] Fetching swift-bson, swift-nio
Fetched https://github.com/mongodb/swift-bson from cache (10.77s)
Fetched https://github.com/apple/swift-nio from cache (11.03s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (12.16s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/833] Fetching swift-extras-base64
[418/1927] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.49s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.52s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (1.41s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.80s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.77s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.88s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.1 (1.36s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/23537] Fetching swift-collections
[1649/29138] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.88s)
[3531/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (4.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (6.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.44s)
Computing version for https://github.com/vapor/vapor
Computed https://github.com/vapor/vapor at 4.121.4 (0.89s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-asn1.git
[1/1796] Fetching swift-asn1
[1528/7854] Fetching swift-asn1, swift-algorithms
[3130/10512] Fetching swift-asn1, swift-algorithms, websocket-kit
Fetched https://github.com/apple/swift-asn1.git from cache (0.49s)
[5517/8716] Fetching swift-algorithms, websocket-kit
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/vapor/websocket-kit.git from cache (0.67s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.86s)
Fetching https://github.com/vapor/multipart-kit.git
[1/5727] Fetching swift-distributed-tracing
Fetching https://github.com/apple/swift-log.git
[3151/8866] Fetching swift-distributed-tracing, swift-metrics
[8867/16011] Fetching swift-distributed-tracing, swift-metrics, swift-certificates
[8868/17247] Fetching swift-distributed-tracing, swift-metrics, swift-certificates, swift-service-context
[13176/20910] Fetching swift-distributed-tracing, swift-metrics, swift-certificates, swift-service-context, multipart-kit
[16235/27431] Fetching swift-distributed-tracing, swift-metrics, swift-certificates, swift-service-context, multipart-kit, swift-log
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.47s)
[13090/21704] Fetching swift-metrics, swift-certificates, swift-service-context, multipart-kit, swift-log
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-metrics.git from cache (1.48s)
[10835/18565] Fetching swift-certificates, swift-service-context, multipart-kit, swift-log
Fetching https://github.com/apple/swift-nio-http2.git
[16552/25075] Fetching swift-certificates, swift-service-context, multipart-kit, swift-log, swift-nio-extras
[18245/37177] Fetching swift-certificates, swift-service-context, multipart-kit, swift-log, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-service-context.git from cache (2.69s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-log.git from cache (2.73s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.44s)
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/apple/swift-crypto.git
[20896/22910] Fetching swift-certificates, multipart-kit, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.70s)
Fetching https://github.com/vapor/console-kit.git
[8830/10808] Fetching swift-certificates, multipart-kit
[10663/28139] Fetching swift-certificates, multipart-kit, swift-crypto
[11010/49548] Fetching swift-certificates, multipart-kit, swift-crypto, routing-kit
[34371/64966] Fetching swift-certificates, multipart-kit, swift-crypto, routing-kit, swift-nio-ssl
[37774/71637] Fetching swift-certificates, multipart-kit, swift-crypto, routing-kit, swift-nio-ssl, console-kit
Fetched https://github.com/apple/swift-certificates.git from cache (5.59s)
Fetching https://github.com/vapor/async-kit.git
[46410/64492] Fetching multipart-kit, swift-crypto, routing-kit, swift-nio-ssl, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (2.58s)
[41106/57821] Fetching multipart-kit, swift-crypto, routing-kit, swift-nio-ssl
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/multipart-kit.git from cache (5.81s)
[39400/54158] Fetching swift-crypto, routing-kit, swift-nio-ssl
[44351/56654] Fetching swift-crypto, routing-kit, swift-nio-ssl, async-kit
[50334/72340] Fetching swift-crypto, routing-kit, swift-nio-ssl, async-kit, async-http-client
Fetched https://github.com/vapor/async-kit.git from cache (0.62s)
[48457/69844] Fetching swift-crypto, routing-kit, swift-nio-ssl, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (4.55s)
[47356/48435] Fetching swift-crypto, swift-nio-ssl, async-http-client
Fetched https://github.com/apple/swift-crypto.git from cache (4.59s)
[30488/31104] Fetching swift-nio-ssl, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (2.26s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.03s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (10.39s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.75s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (1.38s)
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.81s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (24.39s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.84s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2843] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.78s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.88s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (3.89s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (0.52s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.16.0 (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.66s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.63s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.71s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (0.99s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.88s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.99s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/2719] Fetching swift-service-lifecycle
[83/3961] Fetching swift-service-lifecycle, swift-http-structured-headers
[396/4974] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-http-types
[2277/11198] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.64s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.65s)
[4898/8943] Fetching swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.04s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.04s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.88s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.80s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.84s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.75s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (1.01s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.95s)
Fetching https://github.com/apple/swift-configuration.git
[1/3178] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.60s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (1.54s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.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.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.42.0
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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/mongodb/mongo-swift-driver
Working copy of https://github.com/mongodb/mongo-swift-driver resolved at 1.3.1
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/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.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.36.1
Creating working copy for https://github.com/vapor/vapor
Working copy of https://github.com/vapor/vapor resolved at 4.121.4
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.33.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.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.3
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.0
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
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.5.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.6.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.33.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.3.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/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.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.11.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.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.4.1
Building for debugging...
[0/999] Write sources
[13/999] Compiling _NumericsShims _NumericsShims.c
[14/999] Compiling _CWASI _CWASI.c
[15/999] Compiling _AtomicsShims.c
[16/999] Compiling bson-memory.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-async.c:20:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-async-private.h:23:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
   32 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
[17/999] Compiling mongoc-async.c
[17/999] Write sources
[17/999] Write swift-version-24593BA9C3E375BF.txt
[17/999] Write sources
BUILD FAILURE 6.3 wasm