Build Information
Failed to build fluent-mongo-driver, reference 1.4.0 (79bf35), with Swift 6.4 for Wasm on 21 Sep 2026 07:09:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/vapor/fluent-mongo-driver.git
Reference: 1.4.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/vapor/fluent-mongo-driver
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 79bf354 Update For Swift 6 (#61)
Cloned https://github.com/vapor/fluent-mongo-driver.git
Revision (git rev-parse @):
79bf35430e72e4290b3d08ac1eb8784d4e389c32
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/fluent-mongo-driver.git at 1.4.0
========================================
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-54344847-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/14505] Fetching mongokitten
[292/16228] Fetching mongokitten, dnsclient
Fetched https://github.com/orlandos-nl/DNSClient.git (0.49s)
[8123/14505] Fetching mongokitten
[11751/28473] Fetching mongokitten, fluent-kit
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.84s)
Fetched https://github.com/apple/swift-nio.git (3.88s)
Computing version for https://github.com/orlandos-nl/MongoKitten.git
Computed https://github.com/orlandos-nl/MongoKitten.git at 6.7.15 (4.09s)
Fetching https://github.com/orlandos-nl/BSON.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/16065] Fetching swift-nio-ssl
[805/19573] Fetching swift-nio-ssl, swift-metrics
[806/27669] Fetching swift-nio-ssl, swift-metrics, swift-log
[2724/33699] Fetching swift-nio-ssl, swift-metrics, swift-log, bson
Fetched https://github.com/orlandos-nl/BSON.git (0.60s)
[15299/27669] Fetching swift-nio-ssl, swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics.git (1.01s)
Fetched https://github.com/apple/swift-log.git (1.01s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.02s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 7.0.31 (2.08s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.57.0 (0.19s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2843] Fetching swift-service-lifecycle
[485/4207] Fetching swift-service-lifecycle, swift-service-context
[2826/10565] Fetching swift-service-lifecycle, swift-service-context, sql-kit
[5544/16872] Fetching swift-service-lifecycle, swift-service-context, sql-kit, swift-distributed-tracing
Fetched https://github.com/vapor/sql-kit.git (0.54s)
[10325/10514] Fetching swift-service-lifecycle, swift-service-context, swift-distributed-tracing
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.58s)
Fetched https://github.com/apple/swift-service-context.git (0.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.58s)
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.78s)
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/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.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.83s)
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.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.43s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.17s)
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.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.73s)
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.34s)
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.92s)
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/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/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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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-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/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/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-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-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-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-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-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/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/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 76]
[Pre-planning 1 / 1579]
[Planning 1435 / 1579]
[Planning deferred tasks]
[Constructing 1992 / 3785]
[127 / 949] MongoCore
[264 / 1004] Logging
[264 / 1004] _NIOBase64
[276 / 1004] CoreMetrics
[280 / 1009] _NIODataStructures
[294 / 1009] _NIOBase64
[307 / 1009] _MongoKittenCrypto
[319 / 1009] _MongoKittenCrypto
[322 / 1009] _MongoKittenCrypto
[323 / 1009] ServiceContextModule
[326 / 1010] _NIOBase64
[332 / 1011] ServiceContextModule
[336 / 1011] NIOConcurrencyHelpers
[339 / 1012] Logging
[346 / 1013] Logging
[354 / 1013] InternalCollectionsUtilities
[355 / 1013] InternalCollectionsUtilities
[361 / 1014] NIOConcurrencyHelpers
[364 / 1014] Metrics
[375 / 1017] CNIOWASI
[389 / 1027] _RopeModule
[392 / 1036] CNIOBoringSSL
[393 / 1036] CNIOBoringSSL
[393 / 1037] CNIOBoringSSL
[396 / 1037] CNIOBoringSSL
[398 / 1038] CNIOBoringSSL
[399 / 1038] CNIOBoringSSL
[401 / 1038] CNIOBoringSSL
[409 / 1038] CNIOBoringSSL
[410 / 1038] CNIOBoringSSL
[411 / 1038] Atomics
[413 / 1038] CNIOBoringSSL
[419 / 1038] CNIOBoringSSL
[422 / 1038] CNIOBoringSSL
[424 / 1038] CNIOBoringSSL
[430 / 1038] CNIOBoringSSL
[433 / 1038] CNIOBoringSSL
[435 / 1038] CNIOBoringSSL
[436 / 1038] CNIOBoringSSL
[437 / 1038] CNIOBoringSSL
[438 / 1038] CNIOBoringSSL
[449 / 1038] CNIOBoringSSL
[451 / 1038] CNIOBoringSSL
[453 / 1038] CNIOBoringSSL
[454 / 1038] CNIOBoringSSL
[457 / 1038] CNIOBoringSSL
[460 / 1038] CNIOBoringSSL
[461 / 1038] CNIOBoringSSL
[462 / 1038] CNIOBoringSSL
[468 / 1038] CNIOBoringSSL
[470 / 1038] CNIOBoringSSL
[475 / 1038] CNIOBoringSSL
[478 / 1038] CNIOBoringSSL
[480 / 1038] CNIOBoringSSL
[482 / 1038] CNIOBoringSSL
[483 / 1038] CNIOBoringSSL
[486 / 1038] CNIOBoringSSL
[487 / 1038] CNIOBoringSSL
[491 / 1038] CNIOBoringSSL
[493 / 1038] CNIOBoringSSL
[495 / 1038] CNIOBoringSSL
[498 / 1038] CNIOBoringSSL
[500 / 1038] CNIOBoringSSL
[505 / 1038] CNIOBoringSSL
[506 / 1038] CNIOBoringSSL
[508 / 1038] CNIOBoringSSL
[509 / 1038] CNIOBoringSSL
[511 / 1038] CNIOBoringSSL
[513 / 1038] CNIOBoringSSL
[515 / 1038] CNIOBoringSSL
[516 / 1038] CNIOBoringSSL
[519 / 1038] 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