The Swift Package Index logo.Swift Package Index

Build Information

Failed to build nostr-kit, reference 0.5.0 (f60503), with Swift 6.4 for Wasm on 19 Sep 2026 09:06:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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/tannerdsilva/nostr-kit.git
Reference: 0.5.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/tannerdsilva/nostr-kit
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at f60503e release v0.5.0
Cloned https://github.com/tannerdsilva/nostr-kit.git
Revision (git rev-parse @):
f60503e2ac73b41fd0bfa03ed8eb279c5d417113
SUCCESS checkout https://github.com/tannerdsilva/nostr-kit.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tannerdsilva/nostr-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/apple/swift-system.git
Fetching https://github.com/tannerdsilva/rawdog.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/tannerdsilva/QuickJSON.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift
Fetching https://github.com/apple/swift-crypto.git
[1/8096] Fetching swift-log
[2/8614] Fetching swift-log, quickjson
[2300/27156] Fetching swift-log, quickjson, swift-crypto
[9357/34054] Fetching swift-log, quickjson, swift-crypto, swift-system
[12234/36243] Fetching swift-log, quickjson, swift-crypto, swift-system, rawdog
Fetched https://github.com/tannerdsilva/rawdog.git (0.66s)
Fetched https://github.com/apple/swift-log.git (0.66s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-extras/swift-extras-base64.git
[9456/25958] Fetching quickjson, swift-crypto, swift-system
[15761/37045] Fetching quickjson, swift-crypto, swift-system, secp256k1.swift
[27290/37999] Fetching quickjson, swift-crypto, swift-system, secp256k1.swift, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-base64.git (0.48s)
[27511/37045] Fetching quickjson, swift-crypto, swift-system, secp256k1.swift
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-system.git (1.24s)
Fetching https://github.com/apple/swift-nio-ssl.git
[26711/30147] Fetching quickjson, swift-crypto, secp256k1.swift
[30148/116220] Fetching quickjson, swift-crypto, secp256k1.swift, swift-nio
Fetched https://github.com/tannerdsilva/QuickJSON.git (1.60s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift (1.61s)
Fetched https://github.com/apple/swift-crypto.git (1.62s)
[5165/86073] Fetching swift-nio
[17216/104991] Fetching swift-nio, swift-argument-parser
[34479/121056] Fetching swift-nio, swift-argument-parser, swift-nio-ssl
Fetched https://github.com/apple/swift-argument-parser.git (0.86s)
[59104/102138] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.20s)
[68859/86073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.97s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.7.0 (4.68s)
Computing version for https://github.com/tannerdsilva/rawdog.git
Computed https://github.com/tannerdsilva/rawdog.git at 0.0.7 (0.14s)
Computing version for https://github.com/tannerdsilva/QuickJSON.git
Computed https://github.com/tannerdsilva/QuickJSON.git at 0.1.1 (0.17s)
Fetching https://github.com/ibireme/yyjson.git
[1/4899] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git (0.98s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.7.0 (1.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.19s)
Computing version for https://github.com/swift-extras/swift-extras-base64.git
Computed https://github.com/swift-extras/swift-extras-base64.git at 0.7.0 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.18s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
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.32s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.52s)
[1/27352] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.28s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
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/swift-extras/swift-extras-base64.git
Working copy of https://github.com/swift-extras/swift-extras-base64.git resolved at 0.7.0
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift
Working copy of https://github.com/GigaBitcoin/secp256k1.swift resolved at 0.7.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.5
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.7.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.8.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/tannerdsilva/rawdog.git
Working copy of https://github.com/tannerdsilva/rawdog.git resolved at 0.0.7
Creating working copy for https://github.com/tannerdsilva/QuickJSON.git
Working copy of https://github.com/tannerdsilva/QuickJSON.git resolved at 0.1.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1466]
[Planning 1349 / 1466]
[Planning deferred tasks]
[Constructing 1791 / 3850]
[176 / 1252] CNIODarwin
[215 / 1267] secp256k1_implementation
[216 / 1267] secp256k1_implementation
[217 / 1267] secp256k1_implementation
[218 / 1267] _NIODataStructures
[225 / 1267] secp256k1_implementation
[225 / 1267] _NIODataStructures
[228 / 1267] secp256k1_implementation
[233 / 1267] secp256k1_implementation
[244 / 1284] _AtomicsShims
[252 / 1295] RAW
[263 / 1295] _NIODataStructures
[264 / 1295] _NIOBase64
[278 / 1296] RAW
[282 / 1297] SystemPackage
[286 / 1297] SystemPackage
[292 / 1297] QuickJSON-product
[298 / 1314] Logging
[306 / 1332] InternalCollectionsUtilities
[309 / 1335] ExtrasBase64
[311 / 1338] Atomics
[321 / 1351] secp256k1-product
[331 / 1351] NIOConcurrencyHelpers
[345 / 1352] NIOConcurrencyHelpers
[350 / 1352] Logging
[352 / 1352] InternalCollectionsUtilities
[359 / 1352] Logging
[361 / 1352] NIOConcurrencyHelpers
[367 / 1353] InternalCollectionsUtilities
[377 / 1353] Logging
[381 / 1354] Crypto
[384 / 1354] Logging
[388 / 1354] Atomics
[392 / 1356] InternalCollectionsUtilities
[409 / 1356] CNIOSHA1
[423 / 1356] CNIOFreeBSD
[430 / 1356] CNIOBoringSSLShims
[432 / 1356] CNIOBoringSSL
[435 / 1357] ArgumentParserToolInfo
[437 / 1358] CNIOBoringSSL
[439 / 1358] CNIOBoringSSL
[442 / 1358] CNIOBoringSSL
[450 / 1358] CNIOBoringSSL
[454 / 1359] CNIOBoringSSL
[456 / 1359] CNIOBoringSSL
[458 / 1359] CNIOBoringSSL
[461 / 1359] CNIOBoringSSL
[462 / 1359] CNIOBoringSSL
[463 / 1359] CNIOBoringSSL
[466 / 1359] CNIOBoringSSL
[470 / 1359] CNIOBoringSSL
[477 / 1359] CNIOBoringSSL
[479 / 1359] CNIOBoringSSL
[481 / 1359] CNIOBoringSSL
[485 / 1359] CNIOBoringSSL
[489 / 1359] CNIOBoringSSL
[493 / 1359] CNIOBoringSSL
[495 / 1359] CNIOBoringSSL
[497 / 1359] CNIOBoringSSL
[501 / 1359] CNIOBoringSSL
[502 / 1359] CNIOBoringSSL
[505 / 1359] CNIOBoringSSL
[509 / 1359] CNIOBoringSSL
[512 / 1359] CNIOBoringSSL
[514 / 1359] CNIOBoringSSL
[518 / 1359] CNIOBoringSSL
[520 / 1359] CNIOBoringSSL
[524 / 1359] CNIOBoringSSL
[525 / 1359] CNIOBoringSSL
[526 / 1359] CNIOBoringSSL
[528 / 1359] CNIOBoringSSL
[530 / 1359] CNIOBoringSSL
[531 / 1359] CNIOBoringSSL
[535 / 1359] CNIOBoringSSL
[536 / 1359] CNIOBoringSSL
[538 / 1359] CNIOBoringSSL
[540 / 1359] CNIOBoringSSL
[541 / 1359] CNIOBoringSSL
[543 / 1359] CNIOBoringSSL
[544 / 1359] CNIOBoringSSL
[546 / 1359] CNIOBoringSSL
[548 / 1359] CNIOBoringSSL
[549 / 1359] 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
error: Build failed
BUILD FAILURE 6.4 wasm