The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XAISDK, reference 1.2.0 (fc3bcc), with Swift 6.4 for Wasm on 25 Sep 2026 14:58:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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/DnV1eX/XAISDK.git
Reference: 1.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/DnV1eX/XAISDK
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at fc3bccb Drop Swift 6.0 support and regenerate sources
Submodule path 'xai-proto': checked out '543b901d69762b8e96f72450ac3619332eba698a'
Submodule 'xai-proto' (https://github.com/xai-org/xai-proto.git) registered for path 'xai-proto'
Cloning into '/host/spi-builder-workspace/xai-proto'...
Cloned https://github.com/DnV1eX/XAISDK.git
Revision (git rev-parse @):
fc3bccbbe11e841bee30b297997db68f90b60fa3
SUCCESS checkout https://github.com/DnV1eX/XAISDK.git at 1.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/DnV1eX/XAISDK.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift-2.git
[1/2639] Fetching grpc-swift-protobuf
[2640/33883] Fetching grpc-swift-protobuf, grpc-swift-2
[2641/40288] Fetching grpc-swift-protobuf, grpc-swift-2, grpc-swift-nio-transport
Fetched https://github.com/grpc/grpc-swift-protobuf.git (1.06s)
Fetched https://github.com/grpc/grpc-swift-nio-transport.git (1.06s)
Fetched https://github.com/grpc/grpc-swift-2.git (1.07s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.4.1 (1.31s)
Fetching https://github.com/apple/swift-protobuf.git
[1/54286] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git (3.83s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (4.05s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.3 (0.20s)
Fetching https://github.com/apple/swift-collections.git
[1/27723] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.86s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.10.0 (0.21s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2863] Fetching swift-nio-transport-services
[2864/10438] Fetching swift-nio-transport-services, swift-certificates
[3243/17128] Fetching swift-nio-transport-services, swift-certificates, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.62s)
[7484/10438] Fetching swift-nio-transport-services, swift-certificates
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-certificates.git (0.71s)
[1/16852] Fetching swift-nio-ssl
[2/18835] Fetching swift-nio-ssl, swift-asn1
Fetched https://github.com/apple/swift-nio-transport-services.git (1.04s)
[6366/104982] Fetching swift-nio-ssl, swift-asn1, swift-nio
[29531/117234] Fetching swift-nio-ssl, swift-asn1, swift-nio, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.06s)
[78277/104982] Fetching swift-nio-ssl, swift-asn1, swift-nio
Fetched https://github.com/apple/swift-asn1.git (3.06s)
Fetched https://github.com/apple/swift-nio-ssl.git (3.07s)
Fetched https://github.com/apple/swift-nio.git (3.10s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (3.30s)
Fetching https://github.com/apple/swift-atomics.git
[1/1881] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.75s)
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)
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
[1/6952] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.68s)
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.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.46s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.47s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.23s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (1.56s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-log.git
[1/1935] Fetching swift-http-types
[2/4778] Fetching swift-http-types, swift-service-lifecycle
[298/12943] Fetching swift-http-types, swift-service-lifecycle, swift-log
[6494/19088] Fetching swift-http-types, swift-service-lifecycle, swift-log, swift-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.63s)
[1/6732] Fetching swift-async-algorithms
[2/7985] Fetching swift-async-algorithms, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-types.git (1.12s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.12s)
Fetched https://github.com/apple/swift-algorithms.git (1.12s)
Fetched https://github.com/apple/swift-async-algorithms.git (1.12s)
Fetched https://github.com/apple/swift-log.git (1.12s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.21s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.64s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.79s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.27s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.22s)
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.18s)
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.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.30s)
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.103.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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.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.3
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.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-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/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.4.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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.1
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.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/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.10.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.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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.1
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.3
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1672]
[Planning 1181 / 1672]
[Planning deferred tasks]
[Constructing 965 / 4310]
[Starting]
[245 / 1312] _CertificateInternals
[262 / 1358] SwiftProtobuf
[273 / 1358] NIOConcurrencyHelpers
[285 / 1358] Logging
[287 / 1358] SwiftASN1
[298 / 1358] SwiftProtobuf
[301 / 1359] _NIOBase64
[308 / 1360] _CertificateInternals
[317 / 1361] SwiftProtobuf
[318 / 1361] SwiftProtobuf
[319 / 1361] SwiftProtobuf
[321 / 1361] SwiftASN1
[322 / 1361] SwiftASN1-product
[324 / 1361] SwiftASN1
[326 / 1361] NIOConcurrencyHelpers
[327 / 1361] NIOConcurrencyHelpers
[329 / 1361] NIOConcurrencyHelpers
[335 / 1362] Logging
[337 / 1362] SwiftASN1
[340 / 1362] Logging-product
[342 / 1362] NIOConcurrencyHelpers
[350 / 1375] InternalCollectionsUtilities
[352 / 1387] ConcurrencyHelpers
[353 / 1387] _NIOBase64
[357 / 1388] ConcurrencyHelpers
[366 / 1388] InternalCollectionsUtilities
[367 / 1388] InternalCollectionsUtilities
[375 / 1388] CryptoBoringWrapper
[376 / 1388] CryptoBoringWrapper
[385 / 1388] SpanPreview
[390 / 1388] CXKCP
[398 / 1399] CNIOWASI
[416 / 1400] CNIOLLHTTP
[417 / 1400] CNIOBoringSSLShims
[419 / 1400] CNIOBoringSSL
[420 / 1401] CNIOBoringSSL
[421 / 1401] CNIOBoringSSL
[423 / 1401] CNIOBoringSSL
[425 / 1401] CNIOBoringSSL
[428 / 1401] CNIOBoringSSL
[429 / 1401] CNIOBoringSSL
[430 / 1401] CNIOBoringSSL
[433 / 1401] CNIOBoringSSL
[437 / 1401] CNIOBoringSSL
[446 / 1401] CNIOBoringSSL
[447 / 1401] CNIOBoringSSL
[448 / 1401] CNIOBoringSSL
[451 / 1401] CNIOBoringSSL
[453 / 1401] CNIOBoringSSL
[455 / 1401] CNIOBoringSSL
[458 / 1401] CNIOBoringSSL
[461 / 1401] CNIOBoringSSL
[465 / 1401] CNIOBoringSSL
[470 / 1401] CNIOBoringSSL
[474 / 1401] CNIOBoringSSL
[478 / 1402] CNIOBoringSSL
[481 / 1402] CNIOBoringSSL
[486 / 1402] CNIOBoringSSL
[492 / 1402] CNIOBoringSSL
[494 / 1402] CNIOBoringSSL
[502 / 1402] CNIOBoringSSL
[505 / 1402] CNIOBoringSSL
[506 / 1402] CNIOBoringSSL
[507 / 1402] CNIOBoringSSL
[510 / 1402] CNIOBoringSSL
[511 / 1402] CNIOBoringSSL
[512 / 1402] CNIOBoringSSL
[516 / 1402] CNIOBoringSSL
[518 / 1402] CNIOBoringSSL
[521 / 1402] CNIOBoringSSL
[522 / 1402] CNIOBoringSSL
[523 / 1402] CNIOBoringSSL
[525 / 1402] CNIOBoringSSL
[528 / 1402] CNIOBoringSSL
[529 / 1402] CNIOBoringSSL
[532 / 1402] CNIOBoringSSL
[533 / 1402] CNIOBoringSSL
[535 / 1402] CNIOBoringSSL
[537 / 1402] CNIOBoringSSL
[539 / 1402] CNIOBoringSSL
[541 / 1402] CNIOBoringSSL
[542 / 1402] 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
[545 / 1402] CNIOBoringSSL
error: Build failed
BUILD FAILURE 6.4 wasm