The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MongoKitten, reference main (89c71c), with Swift 6.4 for Wasm on 12 Nov 2026 05:01:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/MongoKitten.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/orlandos-nl/MongoKitten
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 89c71c0 Check `ismaster` when deciding whether a node accepts writes (#385)
Cloned https://github.com/orlandos-nl/MongoKitten.git
Revision (git rev-parse @):
89c71c0882866d99cfd8c09f1a84413f69f57636
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orlandos-nl/MongoKitten.git at main
========================================
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-58779149-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:366b789e191e803aab570d7212596991386521d71ea439b0666be689b4886df3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/orlandos-nl/BSON.git
[1/6030] Fetching bson
[3258/7957] Fetching bson, swift-atomics
[3459/24908] Fetching bson, swift-atomics, swift-nio-ssl
[8517/31609] Fetching bson, swift-atomics, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/orlandos-nl/BSON.git (0.53s)
[5326/25579] Fetching swift-atomics, swift-nio-ssl, swift-distributed-tracing
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.63s)
Fetching https://github.com/apple/swift-log.git
[5487/18878] Fetching swift-atomics, swift-nio-ssl
[18879/22493] Fetching swift-atomics, swift-nio-ssl, swift-metrics
[22458/109356] Fetching swift-atomics, swift-nio-ssl, swift-metrics, swift-nio
Fetched https://github.com/apple/swift-metrics.git (0.49s)
[22354/114091] Fetching swift-atomics, swift-nio-ssl, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git (0.57s)
[38857/105741] Fetching swift-atomics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.27s)
[34935/88790] Fetching swift-atomics, swift-nio
Fetching https://github.com/orlandos-nl/DNSClient.git
[88791/90513] Fetching swift-atomics, swift-nio, dnsclient
Fetched https://github.com/apple/swift-atomics.git (4.07s)
Fetched https://github.com/orlandos-nl/DNSClient.git (0.43s)
Fetched https://github.com/apple/swift-nio.git (4.11s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.7.0 (4.25s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2881] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.48s)
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.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.16s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 8.2.2 (0.13s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.15s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.26s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7524] Fetching swift-system
[3763/37446] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.71s)
[2394/29922] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.18s)
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.6
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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.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.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.0
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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1397]
[Planning 1137 / 1397]
[Planning deferred tasks]
[Constructing 3186 / 3304]
[204 / 857]
[221 / 908] InternalCollectionsUtilities
[222 / 908] _NIOBase64
[239 / 908] _MongoKittenCrypto
[240 / 908] Instrumentation
[242 / 908] Logging
[257 / 908] _NIODataStructures
[259 / 908] _MongoKittenCrypto
[265 / 908] _CWASI
[269 / 909] _NIOBase64
[272 / 909] _NIODataStructures
[276 / 909] NIOConcurrencyHelpers
[284 / 910] _NIODataStructures
[288 / 911] _MongoKittenCrypto
[293 / 912] SpanPreview
[297 / 912] InternalCollectionsUtilities
[300 / 912] Instrumentation
[302 / 912] ServiceContextModule
[308 / 914] CoreMetrics
[326 / 920] Logging
[349 / 938] SpanPreview
[356 / 939] CNIOBoringSSL
[359 / 939] CoreMetrics
[364 / 939] CNIOBoringSSL
[370 / 940] CNIOBoringSSL
[372 / 940] CNIOBoringSSL
[377 / 940] CNIOBoringSSL
[380 / 940] CNIOBoringSSL
[382 / 940] CNIOBoringSSL
[383 / 940] CNIOBoringSSL
[386 / 940] Atomics
[392 / 940] CNIOBoringSSL
[395 / 940] CNIOBoringSSL
[398 / 940] CNIOBoringSSL
[400 / 940] CNIOBoringSSL
[407 / 940] CNIOBoringSSL
[414 / 940] CNIOBoringSSL
[418 / 940] CNIOBoringSSL
[420 / 940] CNIOBoringSSL
[423 / 940] CNIOBoringSSL
[425 / 940] CNIOBoringSSL
[427 / 940] CNIOBoringSSL
[428 / 940] CNIOBoringSSL
[430 / 940] CNIOBoringSSL
[432 / 940] CNIOBoringSSL
[434 / 940] CNIOBoringSSL
[436 / 940] CNIOBoringSSL
[440 / 940] CNIOBoringSSL
[443 / 940] CNIOBoringSSL
[446 / 940] CNIOBoringSSL
[448 / 940] CNIOBoringSSL
[449 / 940] CNIOBoringSSL
[454 / 940] CNIOBoringSSL
[456 / 940] CNIOBoringSSL
[459 / 940] CNIOBoringSSL
[462 / 940] CNIOBoringSSL
[464 / 940] CNIOBoringSSL
[465 / 940] CNIOBoringSSL
[468 / 940] CNIOBoringSSL
[470 / 940] CNIOBoringSSL
[472 / 940] CNIOBoringSSL
[473 / 940] CNIOBoringSSL
[475 / 940] CNIOBoringSSL
[476 / 940] CNIOBoringSSL
[479 / 940] CNIOBoringSSL
[481 / 940] CNIOBoringSSL
[484 / 940] CNIOBoringSSL
[485 / 940] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:31:10: fatal error: 'netdb.h' file not found
   31 | #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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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