The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MongoKitten, reference 7.16.3 (e3ba79), with Swift 6.4 for Wasm on 25 Sep 2026 07:40:54 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/MongoKitten.git
Reference: 7.16.3
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/orlandos-nl/MongoKitten
 * tag               7.16.3     -> FETCH_HEAD
HEAD is now at e3ba79a Add ping command (#381)
Cloned https://github.com/orlandos-nl/MongoKitten.git
Revision (git rev-parse @):
e3ba79a943e6751a4903d831f861fb85211a495e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orlandos-nl/MongoKitten.git at 7.16.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/orlandos-nl/MongoKitten.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/apple/swift-atomics.git
Fetching https://github.com/orlandos-nl/DNSClient.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/orlandos-nl/BSON.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio.git
[1/1881] Fetching swift-atomics
[114/3604] Fetching swift-atomics, dnsclient
[706/19669] Fetching swift-atomics, dnsclient, swift-nio-ssl
[4230/26014] Fetching swift-atomics, dnsclient, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-atomics.git (0.58s)
[7388/24133] Fetching dnsclient, swift-nio-ssl, swift-distributed-tracing
Fetching https://github.com/apple/swift-metrics.git
[24134/30163] Fetching dnsclient, swift-nio-ssl, swift-distributed-tracing, bson
[24557/116254] Fetching dnsclient, swift-nio-ssl, swift-distributed-tracing, bson, swift-nio
[26942/119777] Fetching dnsclient, swift-nio-ssl, swift-distributed-tracing, bson, swift-nio, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.49s)
Fetching https://github.com/apple/swift-log.git
[31350/116254] Fetching dnsclient, swift-nio-ssl, swift-distributed-tracing, bson, swift-nio
Fetched https://github.com/orlandos-nl/DNSClient.git (1.22s)
Fetched https://github.com/orlandos-nl/BSON.git (1.22s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.22s)
[47058/102156] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.23s)
[31854/86091] Fetching swift-nio
[57682/94256] Fetching swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git (0.53s)
[59403/86091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.12s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.7.0 (3.29s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2863] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.51s)
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.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.17s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 8.2.2 (0.15s)
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.17s)
Fetching https://github.com/apple/swift-service-context.git
[1/1383] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.50s)
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.68s)
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.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/6952] Fetching swift-system
[2157/34664] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.76s)
[2217/27712] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.34s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
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-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.22s)
Creating working copy for https://github.com/orlandos-nl/DNSClient.git
Working copy of https://github.com/orlandos-nl/DNSClient.git resolved at 2.7.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/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-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-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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at 8.2.2
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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1398]
[Planning 1394 / 1398]
[Planning deferred tasks]
[Starting]
[28 / 847] _CWASI
[219 / 877] Logging
[222 / 886] ServiceContextModule
[231 / 886] _NIODataStructures
[244 / 886] _MongoKittenCrypto
[256 / 886] _MongoKittenCrypto
[259 / 886] ServiceContextModule
[263 / 887] _NIOBase64
[267 / 888] ServiceContextModule
[272 / 888] ServiceContextModule
[276 / 889] _NIODataStructures
[285 / 893] Logging
[294 / 907] InternalCollectionsUtilities
[296 / 907] InternalCollectionsUtilities
[297 / 907] InternalCollectionsUtilities
[300 / 907] CoreMetrics
[309 / 908] Logging
[319 / 909] Atomics
[331 / 918] CNIOFreeBSD
[334 / 918] Atomics
[337 / 918] InternalCollectionsUtilities
[346 / 918] CNIOBoringSSL
[348 / 918] CNIOBoringSSL
[349 / 920] Atomics
[350 / 920] CNIOBoringSSL
[351 / 920] CNIOBoringSSL
[353 / 920] CNIOBoringSSL
[356 / 920] CNIOBoringSSL
[358 / 920] CNIOBoringSSL
[363 / 920] CNIOBoringSSL
[371 / 920] CNIOBoringSSL
[373 / 920] CNIOBoringSSL
[375 / 920] CNIOBoringSSL
[377 / 921] CNIOBoringSSL
[379 / 921] CNIOBoringSSL
[381 / 921] CNIOBoringSSL
[384 / 921] CNIOBoringSSL
[387 / 921] CNIOBoringSSL
[392 / 921] CNIOBoringSSL
[395 / 921] CNIOBoringSSL
[402 / 921] CNIOBoringSSL
[403 / 921] CNIOBoringSSL
[405 / 921] CNIOBoringSSL
[408 / 921] CNIOBoringSSL
[410 / 921] CNIOBoringSSL
[413 / 921] CNIOBoringSSL
[417 / 921] CNIOBoringSSL
[419 / 921] CNIOBoringSSL
[421 / 921] CNIOBoringSSL
[425 / 921] CNIOBoringSSL
[426 / 921] CNIOBoringSSL
[432 / 921] CNIOBoringSSL
[433 / 921] CNIOBoringSSL
[435 / 921] CNIOBoringSSL
[436 / 921] CNIOBoringSSL
[438 / 921] CNIOBoringSSL
[445 / 921] CNIOBoringSSL
[448 / 921] CNIOBoringSSL
[449 / 921] CNIOBoringSSL
[451 / 921] CNIOBoringSSL
[453 / 921] CNIOBoringSSL
[454 / 921] CNIOBoringSSL
[455 / 921] CNIOBoringSSL
[456 / 921] CNIOBoringSSL
[460 / 921] CNIOBoringSSL
[462 / 921] CNIOBoringSSL
[463 / 921] CNIOBoringSSL
[464 / 921] CNIOBoringSSL
[467 / 921] CNIOBoringSSL
[468 / 921] 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