The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Yorkie, reference main (d45d18), with Swift 6.4 for Wasm on 16 Oct 2026 08:44:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
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 d45d186 Apply updates from yorkie-js-sdk 0.7.25 (#279)
Cloned https://github.com/yorkie-team/yorkie-ios-sdk.git
Revision (git rev-parse @):
d45d18635ed70f5364d29091cdc430dc76a2d12f
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-54344846-2":/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:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/groue/Semaphore.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/connectrpc/connect-swift
[1/293] Fetching semaphore
[294/8598] Fetching semaphore, swift-log
[3450/18970] Fetching semaphore, swift-log, connect-swift
[8911/21315] Fetching semaphore, swift-log, connect-swift, swift-docc-plugin
Fetched https://github.com/connectrpc/connect-swift (0.57s)
[1/55453] Fetching swift-protobuf
Fetched https://github.com/groue/Semaphore.git (6.04s)
Fetched https://github.com/apple/swift-log.git (6.04s)
Fetched https://github.com/apple/swift-docc-plugin (6.04s)
Fetched https://github.com/apple/swift-protobuf.git (6.08s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (6.27s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3839] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.0.8 (0.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.14s)
Computing version for https://github.com/connectrpc/connect-swift
Computed https://github.com/connectrpc/connect-swift at 1.0.3 (0.19s)
Fetching https://github.com/apple/swift-nio.git
[1/86491] Fetching swift-nio
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[86492/98785] Fetching swift-nio, swift-nio-http2
[95344/115674] Fetching swift-nio, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git (1.51s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.52s)
Fetched https://github.com/apple/swift-nio.git (5.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (5.54s)
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/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.72s)
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.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.29s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7288] Fetching swift-system
[2990/36147] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.22s)
Fetched https://github.com/apple/swift-collections.git (1.23s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (1.41s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.23s)
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/groue/Semaphore.git
Working copy of https://github.com/groue/Semaphore.git resolved at 0.0.8
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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.104.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/connectrpc/connect-swift
Working copy of https://github.com/connectrpc/connect-swift resolved at 1.0.3
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
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]
[Provisioning 1 / 62]
[Pre-planning 1 / 1341]
[Planning 332 / 1341]
[Planning 981 / 1341]
[Planning deferred tasks]
[Constructing 195 / 3183]
[Constructing 2876 / 3183]
[Starting]
[36 / 816] NIOSSL
[176 / 816] CNIOOpenBSD
[206 / 828] InternalCollectionsUtilities
[209 / 835] Logging
[211 / 853] SwiftProtobuf
[212 / 853] _NIOBase64
[224 / 853] _NIODataStructures
[235 / 853] SwiftProtobuf
[236 / 853] Semaphore
[238 / 853] Semaphore
[242 / 853] _NIOBase64
[247 / 854] SwiftProtobuf
[252 / 855] _NIOBase64
[254 / 855] _NIOBase64
[259 / 855] _NIODataStructures
[261 / 855] Logging-product
[262 / 855] Semaphore
[263 / 856] InternalCollectionsUtilities
[266 / 856] Semaphore
[268 / 856] Semaphore
[269 / 857] Semaphore
[273 / 857] InternalCollectionsUtilities
[274 / 857] Logging
[280 / 857] CNIOWindows
[286 / 857] CNIOLinux
[293 / 857] CNIOBoringSSL
[295 / 858] CNIOBoringSSL
[296 / 858] CNIOBoringSSL
[299 / 858] CNIOBoringSSL
[301 / 858] CNIOBoringSSL
[302 / 858] CNIOBoringSSL
[303 / 858] CNIOBoringSSL
[305 / 858] CNIOBoringSSL
[311 / 858] CNIOBoringSSL
[315 / 858] CNIOBoringSSL
[317 / 858] CNIOBoringSSL
[318 / 858] CNIOBoringSSL
[321 / 858] CNIOBoringSSL
[322 / 858] CNIOBoringSSL
[324 / 858] CNIOBoringSSL
[325 / 858] CNIOBoringSSL
[328 / 858] CNIOBoringSSL
[331 / 858] CNIOBoringSSL
[333 / 858] CNIOBoringSSL
[334 / 858] CNIOBoringSSL
[337 / 858] CNIOBoringSSL
[341 / 858] CNIOBoringSSL
[343 / 858] CNIOBoringSSL
[345 / 858] CNIOBoringSSL
[349 / 858] CNIOBoringSSL
[351 / 858] CNIOBoringSSL
[352 / 858] CNIOBoringSSL
[354 / 858] CNIOBoringSSL
[357 / 858] CNIOBoringSSL
[358 / 858] CNIOBoringSSL
[359 / 858] CNIOBoringSSL
[362 / 858] CNIOBoringSSL
[366 / 859] CNIOBoringSSL
[367 / 859] CNIOBoringSSL
[369 / 859] CNIOBoringSSL
[372 / 859] CNIOBoringSSL
[373 / 859] CNIOBoringSSL
[375 / 859] CNIOBoringSSL
[379 / 859] CNIOBoringSSL
[383 / 859] CNIOBoringSSL
[386 / 859] CNIOBoringSSL
[389 / 859] CNIOBoringSSL
[391 / 859] CNIOBoringSSL
[393 / 859] CNIOBoringSSL
[396 / 859] CNIOBoringSSL
[397 / 859] CNIOBoringSSL
[399 / 859] CNIOBoringSSL
[401 / 859] CNIOBoringSSL
[404 / 859] CNIOBoringSSL
[406 / 859] CNIOBoringSSL
[407 / 859] CNIOBoringSSL
[410 / 859] 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.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