The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NyaruDB2, reference main (389909), with Swift 6.4 for Wasm on 26 Sep 2026 15:18:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.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/maltzsama/nyarudb2.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/maltzsama/nyarudb2
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3899095 docs: remove unsupported --hosting-base-url; serve at root base path
Cloned https://github.com/maltzsama/nyarudb2.git
Revision (git rev-parse @):
38990955f49dfe9a662c2875225d5c868b8332dd
SUCCESS checkout https://github.com/maltzsama/nyarudb2.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/maltzsama/nyarudb2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.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-log
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/galileostd/swift-msgpack
Fetching https://github.com/apple/swift-docc-plugin
[1/826] Fetching swift-msgpack
[720/8991] Fetching swift-msgpack, swift-log
[1644/27553] Fetching swift-msgpack, swift-log, swift-crypto
[4221/29898] Fetching swift-msgpack, swift-log, swift-crypto, swift-docc-plugin
Fetched https://github.com/galileostd/swift-msgpack (0.55s)
[9700/29072] Fetching swift-log, swift-crypto, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.61s)
[10207/26727] Fetching swift-log, swift-crypto
Fetched https://github.com/apple/swift-log (1.17s)
Fetched https://github.com/apple/swift-crypto (1.19s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.26s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.59s)
Computing version for https://github.com/galileostd/swift-msgpack
Computed https://github.com/galileostd/swift-msgpack at 1.4.0 (0.79s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.23s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.20s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.2 (1.18s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.71s)
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-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.2
Creating working copy for https://github.com/galileostd/swift-msgpack
Working copy of https://github.com/galileostd/swift-msgpack resolved at 1.4.0
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.6
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 363]
[Planning deferred tasks]
[Starting]
[6 / 466] Crypto-product
[58 / 469] swift-crypto_CXKCP
[65 / 494] Logging
[67 / 494] Logging
[69 / 494] Logging
[79 / 494] CCryptoBoringSSL
[79 / 494] SwiftMsgpack
[80 / 494] CXKCP
[86 / 494] CCryptoBoringSSL
[88 / 494] CCryptoBoringSSL
[89 / 494] CCryptoBoringSSL
[90 / 494] CCryptoBoringSSL
[91 / 494] CCryptoBoringSSL
[93 / 494] CCryptoBoringSSL
[94 / 494] CCryptoBoringSSL
[97 / 494] CCryptoBoringSSL
[98 / 494] CCryptoBoringSSL
[101 / 494] CCryptoBoringSSL
[102 / 494] CCryptoBoringSSL
[104 / 494] CCryptoBoringSSL
[105 / 494] CCryptoBoringSSL
[107 / 494] CCryptoBoringSSL
[107 / 494] Logging
[110 / 494] CCryptoBoringSSL
[112 / 494] CCryptoBoringSSL
[113 / 494] CCryptoBoringSSL
[114 / 494] CCryptoBoringSSL
[115 / 494] CCryptoBoringSSL
[118 / 494] CCryptoBoringSSL
[119 / 494] CCryptoBoringSSL
[121 / 494] CCryptoBoringSSL
[124 / 494] CCryptoBoringSSL
[126 / 494] CCryptoBoringSSL
[129 / 494] CCryptoBoringSSL
[131 / 494] CCryptoBoringSSL
[133 / 494] CCryptoBoringSSL
[136 / 494] CCryptoBoringSSL
[138 / 494] CCryptoBoringSSL
[139 / 494] CCryptoBoringSSL
[143 / 494] CCryptoBoringSSL
[144 / 494] CCryptoBoringSSL
[146 / 494] CCryptoBoringSSL
[151 / 494] CCryptoBoringSSL
[152 / 494] CCryptoBoringSSL
[154 / 494] CCryptoBoringSSL
[156 / 494] CCryptoBoringSSL
[157 / 494] CCryptoBoringSSL
[159 / 494] CCryptoBoringSSL
[162 / 494] CCryptoBoringSSL
[163 / 494] CCryptoBoringSSL
[168 / 494] CCryptoBoringSSL
[170 / 494] CCryptoBoringSSL
[173 / 494] CCryptoBoringSSL
[174 / 494] CCryptoBoringSSL
[176 / 494] CCryptoBoringSSL
[177 / 494] CCryptoBoringSSL
[181 / 494] CCryptoBoringSSL
[185 / 494] CCryptoBoringSSL
[190 / 494] CCryptoBoringSSL
[195 / 494] CCryptoBoringSSL
[201 / 494] CCryptoBoringSSL
[206 / 494] CCryptoBoringSSL
[214 / 494] CCryptoBoringSSL
[216 / 494] CCryptoBoringSSL
[220 / 494] CCryptoBoringSSL
[222 / 494] CCryptoBoringSSL
[223 / 494] CCryptoBoringSSL
[228 / 494] CCryptoBoringSSL
[229 / 494] CCryptoBoringSSL
[232 / 494] CCryptoBoringSSL
[235 / 494] CCryptoBoringSSL
[236 / 494] CCryptoBoringSSL
[240 / 494] CCryptoBoringSSL
[242 / 494] CCryptoBoringSSL
[243 / 494] CCryptoBoringSSL
[244 / 494] CCryptoBoringSSL
[249 / 494] CCryptoBoringSSL
[252 / 494] CCryptoBoringSSL
[253 / 494] CCryptoBoringSSL
[257 / 494] CCryptoBoringSSL
[259 / 494] CCryptoBoringSSL
[260 / 494] CCryptoBoringSSL
[263 / 494] CCryptoBoringSSL
[267 / 494] CCryptoBoringSSL
[269 / 494] CCryptoBoringSSL
[274 / 494] CCryptoBoringSSL
[275 / 494] CCryptoBoringSSL
[277 / 494] CCryptoBoringSSL
[280 / 494] CCryptoBoringSSL
[284 / 494] CCryptoBoringSSL
[287 / 494] CCryptoBoringSSL
[288 / 494] CCryptoBoringSSL
[290 / 494] CCryptoBoringSSL
[291 / 494] CCryptoBoringSSL
[299 / 494] CCryptoBoringSSL
[307 / 494] CCryptoBoringSSL
[310 / 494] CCryptoBoringSSL
[314 / 494] CCryptoBoringSSL
[318 / 494] CCryptoBoringSSL
[321 / 494] CCryptoBoringSSL
[323 / 494] CCryptoBoringSSL
[325 / 494] CCryptoBoringSSL
[329 / 494] CCryptoBoringSSL
[330 / 494] CCryptoBoringSSL
[331 / 494] CCryptoBoringSSL
[334 / 494] CCryptoBoringSSL
[337 / 494] CCryptoBoringSSL
[340 / 494] CCryptoBoringSSL
[343 / 494] CCryptoBoringSSL
[345 / 494] CCryptoBoringSSL
[346 / 494] CCryptoBoringSSL
[347 / 494] CCryptoBoringSSL
[351 / 494] CCryptoBoringSSL
[353 / 494] CCryptoBoringSSL
[354 / 494] CCryptoBoringSSL
[356 / 494] CCryptoBoringSSL
[358 / 494] CCryptoBoringSSL
[359 / 494] CCryptoBoringSSL
[361 / 494] CCryptoBoringSSL
[363 / 494] CCryptoBoringSSL
[365 / 494] CCryptoBoringSSL
[369 / 494] CCryptoBoringSSL
[373 / 494] CCryptoBoringSSL
[377 / 494] CCryptoBoringSSL
[383 / 494] CCryptoBoringSSL
[387 / 494] CCryptoBoringSSL
[389 / 494] CCryptoBoringSSL
[390 / 494] CCryptoBoringSSL
[393 / 494] CCryptoBoringSSL
[396 / 494] CCryptoBoringSSL
[399 / 494] CCryptoBoringSSL
[400 / 494] CCryptoBoringSSL
[402 / 494] CCryptoBoringSSL
[403 / 494] CCryptoBoringSSL
[404 / 494] CCryptoBoringSSL
[410 / 494] CCryptoBoringSSL
[414 / 494] CCryptoBoringSSL
[421 / 494] CCryptoBoringSSL
[426 / 494] CCryptoBoringSSL
[429 / 494] CCryptoBoringSSL
[434 / 494] CCryptoBoringSSL
[435 / 494] CCryptoBoringSSL
[436 / 494] CCryptoBoringSSL
[438 / 494] CCryptoBoringSSL
[442 / 494] CCryptoBoringSSL
[443 / 494] CCryptoBoringSSL
[444 / 494] CCryptoBoringSSL
[447 / 494] CCryptoBoringSSL
[449 / 494] CCryptoBoringSSL
[451 / 494] SwiftMsgpack
[453 / 494] SwiftMsgpack
[455 / 494] Logging
[459 / 494] Logging
[460 / 494] Logging-product
[464 / 494] CryptoBoringWrapper
[466 / 494] Crypto
[471 / 496] Crypto
[476 / 504] Crypto
[483 / 506] Crypto
[484 / 506] Logging
[485 / 507] Logging
[487 / 507] Crypto
[495 / 509] NyaruDB2
[501 / 517] NyaruDB2
[502 / 517] NyaruDB2
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/NyaruDB2/Support/Logger.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Logger.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/NyaruDB2/Support/Parallel.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Parallel.swift
/host/spi-builder-workspace/Sources/NyaruDB2/Serialization/Compression.swift:2:8: error: no such module 'zlib'
  1 | import Foundation
  2 | import zlib
    |        `- error: no such module 'zlib'
  3 |
  4 | #if canImport(Compression)
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/NyaruDB2/Collection.swift /host/spi-builder-workspace/Sources/NyaruDB2/CollectionEngine/CollectionCore.swift /host/spi-builder-workspace/Sources/NyaruDB2/CollectionEngine/CollectionMetrics.swift /host/spi-builder-workspace/Sources/NyaruDB2/Crypto/KeyDerivation.swift /host/spi-builder-workspace/Sources/NyaruDB2/Errors.swift /host/spi-builder-workspace/Sources/NyaruDB2/Index/OrderedIndex.swift /host/spi-builder-workspace/Sources/NyaruDB2/NyaruDB.swift /host/spi-builder-workspace/Sources/NyaruDB2/Partition/ShardActor.swift /host/spi-builder-workspace/Sources/NyaruDB2/Query/QueryBuilder.swift /host/spi-builder-workspace/Sources/NyaruDB2/Serialization/Binary.swift /host/spi-builder-workspace/Sources/NyaruDB2/Serialization/Compression.swift /host/spi-builder-workspace/Sources/NyaruDB2/Serialization/FieldValue.swift /host/spi-builder-workspace/Sources/NyaruDB2/Serialization/MsgPackExtractor.swift /host/spi-builder-workspace/Sources/NyaruDB2/Serialization/Serializer.swift /host/spi-builder-workspace/Sources/NyaruDB2/Storage/RawFile.swift /host/spi-builder-workspace/Sources/NyaruDB2/Storage/RecordPointer.swift /host/spi-builder-workspace/Sources/NyaruDB2/Storage/SlottedFile.swift /host/spi-builder-workspace/Sources/NyaruDB2/Support/BoundedTopK.swift -primary-file /host/spi-builder-workspace/Sources/NyaruDB2/Support/Logger.swift -primary-file /host/spi-builder-workspace/Sources/NyaruDB2/Support/Parallel.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Logger.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Logger.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Logger.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Logger.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Parallel.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Parallel.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Parallel.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Parallel.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /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 -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 -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /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/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /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/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NyaruDB2 -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/NyaruDB2_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Logger.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Parallel.o -index-unit-output-path /NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Logger.o -index-unit-output-path /NyaruDB2.build/Debug-webassembly-wasm32/NyaruDB2-t.build/Objects-normal/wasm32/Parallel.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[503 / 517] NyaruDB2
error: Build failed
BUILD FAILURE 6.4 wasm