Build Information
Failed to build swift-kurrentdb, reference main (935ae6), with Swift 6.4 for Wasm on 18 Nov 2026 10:29:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-1":/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/gradyzhuo/swift-kurrentdb.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/gradyzhuo/swift-kurrentdb
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 935ae69 [UPDATE] TEMPORARY: run every headline cell and rebuild L10000 from the PR branch, to check the recalibrated ladders and the six-round rule
Cloned https://github.com/gradyzhuo/swift-kurrentdb.git
Revision (git rev-parse @):
935ae695a3d25f70834d63c1e1f5d90e4c352c99
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gradyzhuo/swift-kurrentdb.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/gradyzhuo/swift-kurrentdb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-1":/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:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2661] Fetching grpc-swift-protobuf
[214/11156] Fetching grpc-swift-protobuf, swift-log
Fetched https://github.com/grpc/grpc-swift-protobuf.git (0.42s)
[7901/8495] Fetching swift-log
Fetching https://github.com/grpc/grpc-swift-2.git
[8496/25461] Fetching swift-log, swift-nio-ssl
[9005/32021] Fetching swift-log, swift-nio-ssl, grpc-swift-nio-transport
[16753/88902] Fetching swift-log, swift-nio-ssl, grpc-swift-nio-transport, swift-protobuf
[33809/120151] Fetching swift-log, swift-nio-ssl, grpc-swift-nio-transport, swift-protobuf, grpc-swift-2
[47855/207079] Fetching swift-log, swift-nio-ssl, grpc-swift-nio-transport, swift-protobuf, grpc-swift-2, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.30s)
[97872/190113] Fetching swift-log, grpc-swift-nio-transport, swift-protobuf, grpc-swift-2, swift-nio
Fetched https://github.com/grpc/grpc-swift-2.git (1.22s)
[101470/158864] Fetching swift-log, grpc-swift-nio-transport, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git (4.68s)
Fetched https://github.com/grpc/grpc-swift-nio-transport.git (5.88s)
Fetched https://github.com/apple/swift-log.git (5.88s)
Fetched https://github.com/apple/swift-protobuf.git (5.93s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (6.20s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.4 (0.24s)
Fetching https://github.com/apple/swift-collections.git
[1/30175] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.32s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.5.0 (1.54s)
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.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.27s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1932] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.49s)
[1/7600] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.19s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.13.0 (0.19s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-certificates.git
[1/2881] Fetching swift-nio-transport-services
[2/4958] Fetching swift-nio-transport-services, swift-asn1
[525/11707] Fetching swift-nio-transport-services, swift-asn1, swift-nio-extras
[1077/19369] Fetching swift-nio-transport-services, swift-asn1, swift-nio-extras, swift-certificates
Fetched https://github.com/apple/swift-nio-transport-services.git (0.49s)
[8584/16488] Fetching swift-asn1, swift-nio-extras, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (0.49s)
[8516/14411] Fetching swift-nio-extras, swift-certificates
[14412/26844] Fetching swift-nio-extras, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git (0.59s)
[8117/19182] Fetching swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.99s)
Fetched https://github.com/apple/swift-nio-http2.git (0.99s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.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.17s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.19s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.22s)
Fetching https://github.com/apple/swift-crypto.git
[1/18948] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.38s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (1.68s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/1284] Fetching swift-http-structured-headers
[1042/3273] Fetching swift-http-structured-headers, swift-http-types
[1604/9449] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms
[1666/12347] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git (0.46s)
[4935/11063] Fetching swift-http-types, swift-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git (0.46s)
[3004/9074] Fetching swift-algorithms, swift-service-lifecycle
[3480/15927] Fetching swift-algorithms, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.54s)
[13029/13029] Fetching swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.60s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.60s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.49s)
Fetching https://github.com/apple/swift-numerics.git
[1/6858] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.73s)
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.16s)
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.18s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.15s)
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.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.27s)
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-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-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/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.13.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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.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-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-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-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-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/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.5.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.17.2
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.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.9.0
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.4.4
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/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-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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 2108]
[Planning 1112 / 2108]
[Planning 2012 / 2108]
[Planning deferred tasks]
[Constructing 584 / 5155]
[Starting]
[52 / 1437] swift-kurrentdb_OperationsTests
[331 / 1447] Logging
[341 / 1490] InternalCollectionsUtilities
[343 / 1507] _NIOBase64
[356 / 1510] ConcurrencyHelpers
[357 / 1510] _NIODataStructures
[379 / 1510] _CertificateInternals
[381 / 1510] InternalCollectionsUtilities
[392 / 1510] SwiftProtobuf
[393 / 1510] SwiftASN1
[400 / 1511] SwiftProtobuf
[409 / 1511] SwiftProtobuf-product
[411 / 1512] _CertificateInternals
[415 / 1513] _CertificateInternals
[420 / 1513] SwiftASN1
[421 / 1513] _NIODataStructures
[422 / 1513] SwiftASN1
[426 / 1513] NIOConcurrencyHelpers
[428 / 1513] NIOConcurrencyHelpers-product
[430 / 1513] NIOConcurrencyHelpers
[433 / 1513] Logging
[434 / 1513] Logging
[437 / 1514] Logging-product
[439 / 1514] NIOConcurrencyHelpers
[442 / 1514] Logging-product
[447 / 1515] SwiftASN1
[451 / 1515] Logging
[454 / 1516] SwiftASN1
[457 / 1516] CryptoBoringWrapper
[462 / 1516] Logging
[471 / 1517] CNIOWindows
[481 / 1518] CNIOOpenBSD
[493 / 1521] CryptoBoringWrapper
[499 / 1522] CNIOBoringSSLShims
[503 / 1529] UnixSignals
[505 / 1538] CNIOFreeBSD
[513 / 1538] UnixSignals
[523 / 1538] CNIOBoringSSL
[524 / 1538] CNIOBoringSSL
[526 / 1538] CNIOBoringSSL
[527 / 1538] CNIOBoringSSL
[530 / 1538] CNIOBoringSSL
[538 / 1538] CNIOBoringSSL
[541 / 1539] CNIOBoringSSL
[543 / 1539] CNIOBoringSSL
[544 / 1539] CNIOBoringSSL
[545 / 1539] Atomics
[553 / 1539] CNIOBoringSSL
[554 / 1539] CNIOBoringSSL
[557 / 1539] CNIOBoringSSL
[558 / 1539] CNIOBoringSSL
[560 / 1539] CNIOBoringSSL
[566 / 1539] CNIOBoringSSL
[574 / 1539] CNIOBoringSSL
[575 / 1539] CNIOBoringSSL
[578 / 1539] CNIOBoringSSL
[579 / 1539] CNIOBoringSSL
[581 / 1539] CNIOBoringSSL
[585 / 1539] CNIOBoringSSL
[586 / 1539] CNIOBoringSSL
[587 / 1539] CNIOBoringSSL
[591 / 1539] CNIOBoringSSL
[593 / 1539] CNIOBoringSSL
[595 / 1539] CNIOBoringSSL
[596 / 1539] CNIOBoringSSL
[598 / 1539] CNIOBoringSSL
[602 / 1539] CNIOBoringSSL
[605 / 1539] CNIOBoringSSL
[606 / 1539] CNIOBoringSSL
[610 / 1539] CNIOBoringSSL
[616 / 1539] CNIOBoringSSL
[618 / 1539] CNIOBoringSSL
[620 / 1539] CNIOBoringSSL
[623 / 1539] CNIOBoringSSL
[625 / 1539] CNIOBoringSSL
[626 / 1539] CNIOBoringSSL
[628 / 1539] CNIOBoringSSL
[632 / 1539] CNIOBoringSSL
[634 / 1539] CNIOBoringSSL
[635 / 1539] CNIOBoringSSL
[636 / 1539] CNIOBoringSSL
[637 / 1539] CNIOBoringSSL
[641 / 1539] 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