Build Information
Failed to build Yorkie, reference main (f20a3f), with Swift 6.4 for Wasm on 7 Nov 2026 17:29:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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/yorkie-team/yorkie-ios-sdk.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/yorkie-team/yorkie-ios-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f20a3fe Apply updates from yorkie-js-sdk 0.7.26 (#280)
Cloned https://github.com/yorkie-team/yorkie-ios-sdk.git
Revision (git rev-parse @):
f20a3fe8d5ca9d66afde3f7d57f0991f3f4f7cfa
SUCCESS checkout https://github.com/yorkie-team/yorkie-ios-sdk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/yorkie-team/yorkie-ios-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/connectrpc/connect-swift
Fetching https://github.com/groue/Semaphore.git
[1/293] Fetching semaphore
[294/2638] Fetching semaphore, swift-docc-plugin
Fetched https://github.com/groue/Semaphore.git (0.37s)
[71/2345] Fetching swift-docc-plugin
[517/12774] Fetching swift-docc-plugin, connect-swift
Fetched https://github.com/apple/swift-docc-plugin (0.51s)
[2608/10429] Fetching connect-swift
[10430/66688] Fetching connect-swift, swift-protobuf
Fetching https://github.com/apple/swift-log.git
[66689/75028] Fetching connect-swift, swift-protobuf, swift-log
Fetched https://github.com/connectrpc/connect-swift (4.82s)
Fetched https://github.com/apple/swift-log.git (0.50s)
Fetched https://github.com/apple/swift-protobuf.git (4.86s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (5.04s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3864] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.54s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.0.8 (0.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.13s)
Computing version for https://github.com/connectrpc/connect-swift
Computed https://github.com/connectrpc/connect-swift at 1.0.3 (0.17s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
[1/16894] Fetching swift-nio-ssl
[677/29213] Fetching swift-nio-ssl, swift-nio-http2
[29214/116028] Fetching swift-nio-ssl, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git (3.68s)
Fetched https://github.com/apple/swift-nio-ssl.git (3.69s)
Fetched https://github.com/apple/swift-nio.git (3.71s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.90s)
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)
Fetching https://github.com/apple/swift-atomics.git
[1/1926] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.57s)
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-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.24s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/7485] Fetching swift-system
[2771/37356] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.67s)
[5975/29871] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.21s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (1.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.21s)
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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.39.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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/groue/Semaphore.git
Working copy of https://github.com/groue/Semaphore.git resolved at 0.0.8
Creating working copy for https://github.com/connectrpc/connect-swift
Working copy of https://github.com/connectrpc/connect-swift resolved at 1.0.3
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1341]
[Planning deferred tasks]
[Writing build description]
[198 / 828] Yorkie_YorkieBenchmarkTests
[210 / 851] SwiftProtobuf
[211 / 851] _NIOBase64
[228 / 851] SwiftProtobuf
[229 / 860] InternalCollectionsUtilities
[241 / 860] SwiftProtobuf
[242 / 861] SwiftProtobuf
[251 / 861] _NIODataStructures
[252 / 861] SwiftProtobuf-product
[256 / 862] _NIODataStructures
[258 / 862] _NIODataStructures
[260 / 862] Logging-product
[262 / 862] InternalCollectionsUtilities
[263 / 863] Semaphore
[264 / 863] SwiftProtobuf
[267 / 863] Semaphore
[270 / 863] InternalCollectionsUtilities
[271 / 863] InternalCollectionsUtilities
[273 / 864] Logging
[289 / 882] Atomics
[290 / 882] CNIOLinux
[292 / 882] CNIOLinux
[301 / 882] NIOConcurrencyHelpers
[304 / 882] CNIOBoringSSL
[304 / 883] SwiftProtobuf
[306 / 883] CNIOBoringSSL
[307 / 883] CNIOBoringSSL
[309 / 883] CNIOBoringSSL
[312 / 883] CNIOBoringSSL
[316 / 883] Atomics
[322 / 883] CNIOBoringSSL
[325 / 883] CNIOBoringSSL
[330 / 883] CNIOBoringSSL
[333 / 883] CNIOBoringSSL
[335 / 883] CNIOBoringSSL
[337 / 883] CNIOBoringSSL
[340 / 883] CNIOBoringSSL
[342 / 883] CNIOBoringSSL
[346 / 883] CNIOBoringSSL
[347 / 883] CNIOBoringSSL
[350 / 883] CNIOBoringSSL
[355 / 883] CNIOBoringSSL
[359 / 883] CNIOBoringSSL
[363 / 883] CNIOBoringSSL
[365 / 883] CNIOBoringSSL
[369 / 883] CNIOBoringSSL
[371 / 883] CNIOBoringSSL
[373 / 884] CNIOBoringSSL
[377 / 884] CNIOBoringSSL
[378 / 884] CNIOBoringSSL
[381 / 884] CNIOBoringSSL
[385 / 884] CNIOBoringSSL
[386 / 884] CNIOBoringSSL
[391 / 884] CNIOBoringSSL
[392 / 884] CNIOBoringSSL
[394 / 884] CNIOBoringSSL
[395 / 884] CNIOBoringSSL
[396 / 884] CNIOBoringSSL
[404 / 884] CNIOBoringSSL
[410 / 884] CNIOBoringSSL
[411 / 884] CNIOBoringSSL
[412 / 884] CNIOBoringSSL
[415 / 884] CNIOBoringSSL
[417 / 884] CNIOBoringSSL
[419 / 884] CNIOBoringSSL
[421 / 884] CNIOBoringSSL
[422 / 884] CNIOBoringSSL
[424 / 884] CNIOBoringSSL
[427 / 884] CNIOBoringSSL
[428 / 884] 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
[430 / 884] CNIOBoringSSL
error: Build failed
BUILD FAILURE 6.4 wasm