Build Information
Failed to build NyaruDB2, reference 0.3.1 (1d64ce), with Swift 6.4 for Wasm on 26 Sep 2026 15:18:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maltzsama/nyarudb2.git
Reference: 0.3.1
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
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at 1d64ce9 Merge branch 'develop'
Cloned https://github.com/maltzsama/nyarudb2.git
Revision (git rev-parse @):
1d64ce9394e869ba5bae93d5de13c0811671b170
SUCCESS checkout https://github.com/maltzsama/nyarudb2.git at 0.3.1
========================================
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-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/galileostd/swift-msgpack
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/apple/swift-log
[1/18562] Fetching swift-crypto
[2/19388] Fetching swift-crypto, swift-msgpack
[1376/27553] Fetching swift-crypto, swift-msgpack, swift-log
Fetched https://github.com/galileostd/swift-msgpack (0.50s)
[2050/26727] Fetching swift-crypto, swift-log
Fetched https://github.com/apple/swift-log (1.18s)
Fetched https://github.com/apple/swift-crypto (1.19s)
Computing version for https://github.com/galileostd/swift-msgpack
Computed https://github.com/galileostd/swift-msgpack at 1.4.0 (1.39s)
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.16s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.70s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 363]
[Planning deferred tasks]
[66 / 494] Logging
[77 / 494] CXKCP
[78 / 494] CCryptoBoringSSLShims
[79 / 494] SwiftMsgpack-product
[81 / 494] CryptoBoringWrapper
[83 / 494] CryptoBoringWrapper
[87 / 494] Logging
[89 / 494] Logging
[92 / 494] Logging
[94 / 494] CryptoBoringWrapper
[96 / 494] CryptoBoringWrapper
[100 / 495] SwiftMsgpack
[104 / 495] CCryptoBoringSSL
[105 / 495] CCryptoBoringSSL
[109 / 496] CryptoBoringWrapper
[110 / 496] CCryptoBoringSSL
[111 / 496] CCryptoBoringSSL
[111 / 497] CCryptoBoringSSL
[114 / 497] CCryptoBoringSSL
[115 / 497] CCryptoBoringSSL
[120 / 497] CCryptoBoringSSL
[123 / 497] CCryptoBoringSSL
[126 / 497] CCryptoBoringSSL
[127 / 497] CCryptoBoringSSL
[129 / 497] CCryptoBoringSSL
[131 / 497] CCryptoBoringSSL
[133 / 497] CCryptoBoringSSL
[135 / 497] CCryptoBoringSSL
[137 / 497] CCryptoBoringSSL
[139 / 497] CCryptoBoringSSL
[140 / 497] CCryptoBoringSSL
[144 / 497] CCryptoBoringSSL
[148 / 497] CCryptoBoringSSL
[152 / 497] CCryptoBoringSSL
[155 / 497] CCryptoBoringSSL
[156 / 497] CCryptoBoringSSL
[158 / 497] CCryptoBoringSSL
[160 / 497] CCryptoBoringSSL
[161 / 497] CCryptoBoringSSL
[165 / 497] CCryptoBoringSSL
[167 / 497] CCryptoBoringSSL
[169 / 497] CCryptoBoringSSL
[172 / 497] CCryptoBoringSSL
[174 / 497] CCryptoBoringSSL
[175 / 497] CCryptoBoringSSL
[178 / 497] CCryptoBoringSSL
[179 / 497] CCryptoBoringSSL
[181 / 497] CCryptoBoringSSL
[184 / 497] CCryptoBoringSSL
[185 / 497] CCryptoBoringSSL
[186 / 497] CCryptoBoringSSL
[190 / 497] CCryptoBoringSSL
[191 / 497] CCryptoBoringSSL
[193 / 497] CCryptoBoringSSL
[194 / 497] CCryptoBoringSSL
[197 / 497] CCryptoBoringSSL
[198 / 497] CCryptoBoringSSL
[200 / 497] CCryptoBoringSSL
[202 / 497] CCryptoBoringSSL
[204 / 497] CCryptoBoringSSL
[209 / 497] CCryptoBoringSSL
[214 / 497] CCryptoBoringSSL
[217 / 497] CCryptoBoringSSL
[222 / 497] CCryptoBoringSSL
[227 / 497] CCryptoBoringSSL
[232 / 497] CCryptoBoringSSL
[235 / 497] CCryptoBoringSSL
[236 / 497] CCryptoBoringSSL
[237 / 497] CCryptoBoringSSL
[239 / 497] CCryptoBoringSSL
[242 / 497] CCryptoBoringSSL
[243 / 497] CCryptoBoringSSL
[245 / 497] CCryptoBoringSSL
[246 / 497] CCryptoBoringSSL
[252 / 497] CCryptoBoringSSL
[253 / 497] CCryptoBoringSSL
[255 / 497] CCryptoBoringSSL
[258 / 497] CCryptoBoringSSL
[259 / 497] CCryptoBoringSSL
[260 / 497] CCryptoBoringSSL
[262 / 497] CCryptoBoringSSL
[263 / 497] CCryptoBoringSSL
[265 / 497] CCryptoBoringSSL
[266 / 497] CCryptoBoringSSL
[270 / 497] CCryptoBoringSSL
[271 / 497] CCryptoBoringSSL
[273 / 497] CCryptoBoringSSL
[276 / 497] CCryptoBoringSSL
[277 / 497] CCryptoBoringSSL
[279 / 497] CCryptoBoringSSL
[280 / 497] CCryptoBoringSSL
[281 / 497] CCryptoBoringSSL
[284 / 497] CCryptoBoringSSL
[288 / 497] CCryptoBoringSSL
[292 / 497] CCryptoBoringSSL
[295 / 497] CCryptoBoringSSL
[296 / 497] CCryptoBoringSSL
[297 / 497] CCryptoBoringSSL
[301 / 497] CCryptoBoringSSL
[306 / 497] CCryptoBoringSSL
[307 / 497] CCryptoBoringSSL
[309 / 497] CCryptoBoringSSL
[310 / 497] CCryptoBoringSSL
[311 / 497] CCryptoBoringSSL
[315 / 497] CCryptoBoringSSL
[323 / 497] CCryptoBoringSSL
[331 / 497] CCryptoBoringSSL
[334 / 497] CCryptoBoringSSL
[336 / 497] CCryptoBoringSSL
[339 / 497] CCryptoBoringSSL
[344 / 497] CCryptoBoringSSL
[345 / 497] CCryptoBoringSSL
[348 / 497] CCryptoBoringSSL
[350 / 497] CCryptoBoringSSL
[352 / 497] CCryptoBoringSSL
[356 / 497] CCryptoBoringSSL
[359 / 497] CCryptoBoringSSL
[363 / 497] CCryptoBoringSSL
[366 / 497] CCryptoBoringSSL
[369 / 497] CCryptoBoringSSL
[371 / 497] CCryptoBoringSSL
[373 / 497] CCryptoBoringSSL
[375 / 497] CCryptoBoringSSL
[376 / 497] CCryptoBoringSSL
[380 / 497] CCryptoBoringSSL
[383 / 497] CCryptoBoringSSL
[385 / 497] CCryptoBoringSSL
[389 / 497] CCryptoBoringSSL
[393 / 497] CCryptoBoringSSL
[395 / 497] CCryptoBoringSSL
[401 / 497] CCryptoBoringSSL
[406 / 497] CCryptoBoringSSL
[409 / 497] CCryptoBoringSSL
[411 / 497] CCryptoBoringSSL
[413 / 497] CCryptoBoringSSL
[416 / 497] CCryptoBoringSSL
[418 / 497] CCryptoBoringSSL
[420 / 497] CCryptoBoringSSL
[424 / 497] CCryptoBoringSSL
[426 / 497] CCryptoBoringSSL
[429 / 497] CCryptoBoringSSL
[433 / 497] CCryptoBoringSSL
[437 / 497] CCryptoBoringSSL
[442 / 497] CCryptoBoringSSL
[446 / 497] CCryptoBoringSSL
[451 / 497] CCryptoBoringSSL
[455 / 497] CCryptoBoringSSL
[456 / 497] CCryptoBoringSSL
[458 / 497] CCryptoBoringSSL
[460 / 497] CCryptoBoringSSL
[463 / 497] CCryptoBoringSSL
[464 / 497] CCryptoBoringSSL
[465 / 497] CCryptoBoringSSL
[468 / 497] CCryptoBoringSSL
[471 / 497] Logging
[476 / 498]
[480 / 507] CCryptoBoringSSL
[482 / 507] Crypto
[483 / 507] Crypto
[483 / 507] CCryptoBoringSSL
[484 / 507] CCryptoBoringSSL
[486 / 507] Crypto
[487 / 507] CCryptoBoringSSL
[489 / 507] Crypto
[495 / 508] NyaruDB2
[500 / 517] NyaruDB2
[500 / 517] Crypto
[502 / 517] NyaruDB2
[503 / 518] Crypto
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: [1;31merror: [1;39mno such module 'zlib'[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m import zlib
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'zlib'[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m #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
[504 / 518] NyaruDB2
error: Build failed
BUILD FAILURE 6.4 wasm