Build Information
Failed to build couchdb-swift, reference 3.2.0 (419f46), with Swift 6.4 for Wasm on 5 Nov 2026 17:17:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/makoni/couchdb-swift.git
Reference: 3.2.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/makoni/couchdb-swift
* tag 3.2.0 -> FETCH_HEAD
HEAD is now at 419f46d Merge pull request #49 from makoni/develop
Cloned https://github.com/makoni/couchdb-swift.git
Revision (git rev-parse @):
419f46d51783551e516fad42ef289c19b7be6276
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/makoni/couchdb-swift.git at 3.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/makoni/couchdb-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-testing.git
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin.git (0.56s)
[1/16603] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git (1.37s)
[1/46043] Fetching swift-testing
Fetched https://github.com/swiftlang/swift-testing.git (2.51s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.1.3 (2.73s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81623] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.63s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.37.0 (3.81s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
[1/2881] Fetching swift-nio-transport-services
[2/4427] Fetching swift-nio-transport-services, swift-service-context
[674/11137] Fetching swift-nio-transport-services, swift-service-context, swift-nio-extras
[2151/13063] Fetching swift-nio-transport-services, swift-service-context, swift-nio-extras, swift-atomics
[5014/19764] Fetching swift-nio-transport-services, swift-service-context, swift-nio-extras, swift-atomics, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git (0.44s)
[5396/18218] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-configuration.git
Fetched https://github.com/apple/swift-atomics.git (0.56s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git (0.58s)
Fetched https://github.com/apple/swift-nio-extras.git (0.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.58s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
[1/6159] Fetching swift-algorithms
[2/14499] Fetching swift-algorithms, swift-log
[270/31393] Fetching swift-algorithms, swift-log, swift-nio-ssl
[14926/43712] Fetching swift-algorithms, swift-log, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git (0.53s)
[10755/37553] Fetching swift-log, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-log.git (0.55s)
[3816/29213] Fetching swift-nio-ssl, swift-nio-http2
[23302/33415] Fetching swift-nio-ssl, swift-nio-http2, swift-configuration
[33374/120224] Fetching swift-nio-ssl, swift-nio-http2, swift-configuration, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git (0.97s)
Fetched https://github.com/apple/swift-configuration.git (0.98s)
[21235/103703] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.27s)
[52086/86809] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.22s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/6777] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.75s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
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.16s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.14s)
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/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (0.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3863] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.81s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2892] Fetching swift-service-lifecycle
[2893/10368] Fetching swift-service-lifecycle, swift-system
[9248/40020] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (1.23s)
Fetched https://github.com/apple/swift-system (1.23s)
Fetched https://github.com/apple/swift-collections (1.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (1.51s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.14s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.59s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.78s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.5 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
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.19s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.17s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.40s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/2055] Fetching swift-asn1
[22/3339] Fetching swift-asn1, swift-http-structured-headers
[35/5300] Fetching swift-asn1, swift-http-structured-headers, swift-http-types
[5301/12911] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (0.47s)
[3398/10856] Fetching swift-http-structured-headers, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (0.59s)
Fetched https://github.com/apple/swift-http-types.git (0.59s)
Fetched https://github.com/apple/swift-certificates.git (0.59s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.75s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.18s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18924] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (1.42s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.25s)
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/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-testing.git
Working copy of https://github.com/swiftlang/swift-testing.git resolved at 6.1.3
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.7
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.37.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.7.4
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
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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.4.0
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.46.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system 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.17.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.5
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.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.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.6
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.8.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.21.1
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.35.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1438]
[Planning 1256 / 1438]
[Planning deferred tasks]
[Constructing 2621 / 3443]
warning: no rule to process file '/host/spi-builder-workspace/Sources/CouchDBClient/Localizable.xcstrings' of type 'text.json.xcstrings' for architecture 'wasm32'
[169 / 860] CNIOFreeBSD
[225 / 898] NIOConcurrencyHelpers
[226 / 916] SystemPackage
[226 / 916] RealModule
[238 / 916] NIOConcurrencyHelpers
[250 / 916] SystemPackage
[262 / 916] _NIODataStructures
[272 / 916] RealModule
[275 / 917] _NIOBase64
[281 / 917] RealModule
[287 / 918] _NIODataStructures
[294 / 920] _NIODataStructures
[303 / 920] Logging
[307 / 920] NIOConcurrencyHelpers
[312 / 921] NIOConcurrencyHelpers
[319 / 930] CNIOWindows
[328 / 930] Instrumentation
[342 / 941] CNIOPosix
[360 / 942] Instrumentation
[363 / 942]
[369 / 942] CNIOExtrasZlib
[379 / 943] CNIOExtrasZlib
[380 / 943] CNIOLLHTTP
[382 / 943] CNIOBoringSSL
[383 / 943] CNIOBoringSSL
[387 / 943] CNIOBoringSSL
[387 / 943] Atomics
[395 / 943] CNIOBoringSSL
[398 / 943] CNIOBoringSSL
[406 / 943] CNIOBoringSSL
[406 / 944] CNIOBoringSSL
[408 / 944] CNIOBoringSSL
[414 / 944] CNIOBoringSSL
[417 / 944] CNIOBoringSSL
[420 / 944] CNIOBoringSSL
[422 / 944] CNIOBoringSSL
[431 / 944] CNIOBoringSSL
[433 / 944] CNIOBoringSSL
[435 / 944] CNIOBoringSSL
[439 / 944] CNIOBoringSSL
[440 / 944] CNIOBoringSSL
[442 / 944] CNIOBoringSSL
[444 / 944] CNIOBoringSSL
[446 / 944] CNIOBoringSSL
[449 / 944] CNIOBoringSSL
[451 / 944] CNIOBoringSSL
[453 / 944] CNIOBoringSSL
[454 / 944] CNIOBoringSSL
[458 / 944] CNIOBoringSSL
[459 / 944] CNIOBoringSSL
[463 / 944] CNIOBoringSSL
[464 / 944] CNIOBoringSSL
[466 / 944] CNIOBoringSSL
[469 / 944] CNIOBoringSSL
[471 / 944] CNIOBoringSSL
[473 / 944] CNIOBoringSSL
[478 / 944] CNIOBoringSSL
[481 / 944] CNIOBoringSSL
[483 / 944] CNIOBoringSSL
[485 / 944] CNIOBoringSSL
[487 / 944] CNIOBoringSSL
[489 / 944] CNIOBoringSSL
[492 / 944] CNIOBoringSSL
[494 / 944] CNIOBoringSSL
[495 / 944] CNIOBoringSSL
[496 / 944] CNIOBoringSSL
[498 / 944] CNIOBoringSSL
[501 / 944] CNIOBoringSSL
[503 / 944] CNIOBoringSSL
[505 / 944] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:31:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
31 | #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.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