Build Information
Failed to build couchdb-swift, reference master (419f46), with Swift 6.4 for Wasm on 5 Nov 2026 17:34:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-54344846-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/swiftlang/swift-docc-plugin.git
Fetching https://github.com/swift-server/async-http-client.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.51s)
[1/16603] Fetching async-http-client
[16604/62689] Fetching async-http-client, swift-testing
Fetched https://github.com/swift-server/async-http-client.git (3.41s)
Fetched https://github.com/swiftlang/swift-testing.git (3.42s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.1.3 (3.62s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81623] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (4.08s)
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 (4.26s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1546] Fetching swift-service-context
[280/9886] Fetching swift-service-context, swift-log
[1631/12767] Fetching swift-service-context, swift-log, swift-nio-transport-services
Fetched https://github.com/apple/swift-service-context.git (0.38s)
[642/11221] Fetching swift-log, swift-nio-transport-services
Fetching https://github.com/apple/swift-nio-http2.git
[8273/15423] Fetching swift-log, swift-nio-transport-services, swift-configuration
Fetched https://github.com/apple/swift-nio-transport-services.git (0.47s)
[9139/12542] Fetching swift-log, swift-configuration
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-log.git (0.51s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1926] Fetching swift-atomics
[502/8085] Fetching swift-atomics, swift-algorithms
[600/20404] Fetching swift-atomics, swift-algorithms, swift-nio-http2
[7841/37298] Fetching swift-atomics, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git (0.47s)
[9084/35372] Fetching swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-algorithms.git (1.00s)
[4957/29213] Fetching swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio-http2.git (0.94s)
[11657/16894] Fetching swift-nio-ssl
[16895/23595] Fetching swift-nio-ssl, swift-distributed-tracing
[23596/30305] Fetching swift-nio-ssl, swift-distributed-tracing, swift-nio-extras
Fetched https://github.com/apple/swift-configuration.git (1.62s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.63s)
[17163/23604] Fetching swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.75s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.25s)
[1/86809] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.32s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.15s)
Fetching https://github.com/apple/swift-numerics.git
[1/6777] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.68s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.13s)
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.14s)
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.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.13s)
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.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3863] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.77s)
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
[1332/10377] Fetching swift-service-lifecycle, swift-system
[10378/40029] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/apple/swift-system (0.71s)
[4672/32544] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (1.56s)
Fetched https://github.com/apple/swift-collections (1.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (1.83s)
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.13s)
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.57s)
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.75s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.5 (0.22s)
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-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.14s)
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.17s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.16s)
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.38s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1284] Fetching swift-http-structured-headers
[245/3245] Fetching swift-http-structured-headers, swift-http-types
[324/5300] Fetching swift-http-structured-headers, swift-http-types, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git (0.40s)
Fetched https://github.com/apple/swift-http-types.git (0.40s)
[1/7611] Fetching swift-certificates
Fetched https://github.com/apple/swift-asn1.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.74s)
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.16s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.19s)
Fetching https://github.com/apple/swift-crypto.git
[1/18924] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (1.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.24s)
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-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/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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
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/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/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/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/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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.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.105.0
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/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-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-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/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-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
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-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-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/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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.5
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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.37.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1438]
[Planning 1298 / 1438]
[Planning deferred tasks]
[Constructing 2967 / 3443]
warning: no rule to process file '/host/spi-builder-workspace/Sources/CouchDBClient/Localizable.xcstrings' of type 'text.json.xcstrings' for architecture 'wasm32'
[188 / 860] Atomics
[226 / 916] Logging
[227 / 916] _NIOBase64
[237 / 916] _NumericsShims
[249 / 916] Logging
[250 / 916] SystemPackage
[261 / 916] SystemPackage-product
[263 / 916] InternalCollectionsUtilities
[270 / 916] SystemPackage
[275 / 918] _NIODataStructures
[286 / 918] NIOConcurrencyHelpers
[290 / 918] SystemPackage
[297 / 919] RealModule
[304 / 920] Logging-product
[308 / 921] NIOConcurrencyHelpers
[313 / 921] InternalCollectionsUtilities
[318 / 930] Instrumentation
[322 / 930] Instrumentation
[347 / 946] SpanPreview
[368 / 948] Instrumentation
[378 / 952] CNIOFreeBSD
[392 / 952] CNIOExtrasZlib
[401 / 952] CNIOBoringSSL
[402 / 952] CNIOBoringSSL
[405 / 952] CNIOBoringSSL
[409 / 952] CNIOBoringSSL
[416 / 952] Atomics
[426 / 953] CNIOBoringSSL
[427 / 953] CNIOBoringSSL
[428 / 953] CNIOBoringSSL
[430 / 953] CNIOBoringSSL
[435 / 953] CNIOBoringSSL
[436 / 953] CNIOBoringSSL
[437 / 953] CNIOBoringSSL
[441 / 953] CNIOBoringSSL
[447 / 953] CNIOBoringSSL
[452 / 953] CNIOBoringSSL
[454 / 953] CNIOBoringSSL
[455 / 953] CNIOBoringSSL
[459 / 953] CNIOBoringSSL
[461 / 953] CNIOBoringSSL
[463 / 953] CNIOBoringSSL
[467 / 953] CNIOBoringSSL
[470 / 953] CNIOBoringSSL
[475 / 953] CNIOBoringSSL
[478 / 953] CNIOBoringSSL
[482 / 953] CNIOBoringSSL
[484 / 953] CNIOBoringSSL
[486 / 953] CNIOBoringSSL
[487 / 953] CNIOBoringSSL
[490 / 953] CNIOBoringSSL
[492 / 953] CNIOBoringSSL
[496 / 953] CNIOBoringSSL
[499 / 953] CNIOBoringSSL
[500 / 953] CNIOBoringSSL
[504 / 953] CNIOBoringSSL
[506 / 953] CNIOBoringSSL
[508 / 953] CNIOBoringSSL
[510 / 953] CNIOBoringSSL
[511 / 953] CNIOBoringSSL
[513 / 953] CNIOBoringSSL
[514 / 953] CNIOBoringSSL
[516 / 953] CNIOBoringSSL
[519 / 953] CNIOBoringSSL
[521 / 953] CNIOBoringSSL
[523 / 953] CNIOBoringSSL
[525 / 953] 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