The Swift Package Index logo.Swift Package Index

Build Information

Failed to build fluent-mongo-driver, reference main (e4f8c5), with Swift 6.4 for Wasm on 21 Sep 2026 07:09:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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/vapor/fluent-mongo-driver.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/vapor/fluent-mongo-driver
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e4f8c5d Update API docs workflow
Cloned https://github.com/vapor/fluent-mongo-driver.git
Revision (git rev-parse @):
e4f8c5d7171d5430c2add868c6ba2261d6644e2a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/fluent-mongo-driver.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/vapor/fluent-mongo-driver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/orlandos-nl/DNSClient.git
Fetching https://github.com/orlandos-nl/MongoKitten.git
Fetching https://github.com/vapor/fluent-kit.git
[1/13968] Fetching fluent-kit
[2/15691] Fetching fluent-kit, dnsclient
[1843/30196] Fetching fluent-kit, dnsclient, mongokitten
Fetched https://github.com/orlandos-nl/DNSClient.git (0.53s)
[18686/28473] Fetching fluent-kit, mongokitten
Fetched https://github.com/vapor/fluent-kit.git (0.69s)
Fetched https://github.com/orlandos-nl/MongoKitten.git (0.69s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.3.0 (1.74s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
[1/2863] Fetching swift-nio-transport-services
[2864/88928] Fetching swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git (3.08s)
Fetched https://github.com/apple/swift-nio.git (3.12s)
Computing version for https://github.com/orlandos-nl/MongoKitten.git
Computed https://github.com/orlandos-nl/MongoKitten.git at 6.7.15 (3.32s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/orlandos-nl/BSON.git
[1/6030] Fetching bson
[966/9538] Fetching bson, swift-metrics
[7645/17634] Fetching bson, swift-metrics, swift-log
[11240/33699] Fetching bson, swift-metrics, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git (0.47s)
[9349/30191] Fetching bson, swift-log, swift-nio-ssl
Fetched https://github.com/orlandos-nl/BSON.git (0.99s)
Fetched https://github.com/apple/swift-log.git (1.00s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.00s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 7.0.31 (2.06s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.57.0 (0.18s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
[1175/4207] Fetching swift-service-context, swift-service-lifecycle
[2105/10514] Fetching swift-service-context, swift-service-lifecycle, swift-distributed-tracing
[5659/16872] Fetching swift-service-context, swift-service-lifecycle, swift-distributed-tracing, sql-kit
Fetched https://github.com/apple/swift-service-context.git (0.58s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.58s)
[8660/12665] Fetching swift-distributed-tracing, sql-kit
Fetched https://github.com/apple/swift-distributed-tracing.git (0.58s)
[2417/6358] Fetching sql-kit
Fetched https://github.com/vapor/sql-kit.git (0.68s)
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.87s)
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.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.18s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.82s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.22s)
Fetching https://github.com/apple/swift-collections.git
[1/27352] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.51s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.16s)
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)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.70s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.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.35s)
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.84s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.23s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-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-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/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/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at 7.0.31
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/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/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/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/orlandos-nl/DNSClient.git
Working copy of https://github.com/orlandos-nl/DNSClient.git resolved at 2.3.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/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/orlandos-nl/MongoKitten.git
Working copy of https://github.com/orlandos-nl/MongoKitten.git resolved at 6.7.15
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 76]
[Pre-planning 1 / 1579]
[Planning 1523 / 1579]
[Planning deferred tasks]
[Constructing 2226 / 3785]
[127 / 949] Metrics
[262 / 989] NIOConcurrencyHelpers
[263 / 989] ServiceContextModule
[266 / 989] _NIOBase64
[279 / 989] NIOConcurrencyHelpers
[280 / 989] Logging
[292 / 989] _MongoKittenCrypto
[293 / 989] _MongoKittenCrypto
[299 / 989] _MongoKittenCrypto
[303 / 990] _NIOBase64
[305 / 990] _NIOBase64
[311 / 991] _NIODataStructures
[317 / 992] _NIODataStructures
[322 / 992] Logging-product
[326 / 992] Instrumentation
[331 / 1010] CoreMetrics
[337 / 1014] Logging
[344 / 1014] ConcurrencyHelpers
[350 / 1014] Instrumentation
[353 / 1015] InternalCollectionsUtilities
[363 / 1015] ConcurrencyHelpers
[382 / 1025] CNIOWASI
[391 / 1025] ConcurrencyHelpers
[394 / 1026] CNIOBoringSSL
[394 / 1027] CNIOBoringSSL
[399 / 1028] CNIOBoringSSL
[401 / 1028] CNIOBoringSSL
[402 / 1028] CNIOBoringSSL
[411 / 1028] CNIOBoringSSL
[413 / 1028] CNIOBoringSSL
[414 / 1028] Atomics
[415 / 1028] CNIOBoringSSL
[426 / 1028] CNIOBoringSSL
[427 / 1028] CNIOBoringSSL
[429 / 1028] CNIOBoringSSL
[434 / 1028] CNIOBoringSSL
[436 / 1028] CNIOBoringSSL
[444 / 1028] CNIOBoringSSL
[446 / 1028] CNIOBoringSSL
[449 / 1028] CNIOBoringSSL
[451 / 1028] CNIOBoringSSL
[452 / 1028] CNIOBoringSSL
[454 / 1028] CNIOBoringSSL
[458 / 1028] CNIOBoringSSL
[461 / 1028] CNIOBoringSSL
[462 / 1028] CNIOBoringSSL
[465 / 1028] CNIOBoringSSL
[468 / 1028] CNIOBoringSSL
[471 / 1028] CNIOBoringSSL
[475 / 1028] CNIOBoringSSL
[477 / 1028] CNIOBoringSSL
[478 / 1028] CNIOBoringSSL
[482 / 1028] CNIOBoringSSL
[485 / 1028] CNIOBoringSSL
[488 / 1028] CNIOBoringSSL
[491 / 1028] CNIOBoringSSL
[492 / 1028] CNIOBoringSSL
[493 / 1028] CNIOBoringSSL
[495 / 1028] CNIOBoringSSL
[498 / 1028] CNIOBoringSSL
[499 / 1028] CNIOBoringSSL
[500 / 1028] CNIOBoringSSL
[503 / 1028] CNIOBoringSSL
[505 / 1028] CNIOBoringSSL
[506 / 1028] CNIOBoringSSL
[508 / 1028] CNIOBoringSSL
[510 / 1028] CNIOBoringSSL
[513 / 1028] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: fatal error: 'netdb.h' file not found
   30 | #include <netdb.h>
      |          ^~~~~~~~~
1 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