Build Information
Failed to build garuda, reference main (aa2035), with Swift 6.4 for Wasm on 22 Oct 2026 13:17:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/garuda.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/grepjava/garuda
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aa20357 CI pins aioquic 1.3.0: under 1.7.0 the WebTransport client crashes and router-streams' HTTP/3 cancellation check fails
Cloned https://github.com/grepjava/garuda.git
Revision (git rev-parse @):
aa2035701d803f7c6c03f604f03e0f4e506c25ae
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/grepjava/garuda.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/grepjava/garuda.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/grepjava/vega-db.git
Fetching https://github.com/apple/swift-distributed-tracing
Fetching https://github.com/grepjava/vega.git
[1/6684] Fetching swift-distributed-tracing
[1739/6959] Fetching swift-distributed-tracing, vega-db
[6960/11361] Fetching swift-distributed-tracing, vega-db, vega
Fetched https://github.com/apple/swift-distributed-tracing (0.57s)
[1904/4677] Fetching vega-db, vega
Fetched https://github.com/grepjava/vega.git (0.73s)
[1/80972] Fetching swift-syntax
Fetched https://github.com/grepjava/vega-db.git (3.43s)
Fetched https://github.com/swiftlang/swift-syntax (3.45s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.43s)
Computing version for https://github.com/grepjava/vega-db.git
Computed https://github.com/grepjava/vega-db.git at 0.3.0 (0.18s)
Computing version for https://github.com/grepjava/vega.git
Computed https://github.com/grepjava/vega.git at 1.1.0 (0.21s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.7.2 (0.16s)
Creating working copy for https://github.com/apple/swift-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.7.2
Creating working copy for https://github.com/grepjava/vega-db.git
Working copy of https://github.com/grepjava/vega-db.git resolved at 0.3.0
Creating working copy for https://github.com/grepjava/vega.git
Working copy of https://github.com/grepjava/vega.git resolved at 1.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Provisioning 61 / 96]
[Pre-planning 1 / 2128]
[Planning 1268 / 2128]
[Planning deferred tasks]
[Constructing 1999 / 4879]
[Starting]
[334 / 1136] VegaRedisProtocol
[350 / 1174] VegaDBTracing
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:49:27: [1;31merror: [1;39mcannot find 'malloc' in scope[0;0m
[0;36m47 |[0;0m public init(capacity: Int) {
[0;36m48 |[0;0m if capacity > 0 {
[0;36m49 |[0;0m guard let p = [4;39mmalloc[0;0m(capacity) else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'malloc' in scope[0;0m
[0;36m50 |[0;0m allocationFailed(capacity, "a new buffer")
[0;36m51 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:158:13: [1;31merror: [1;39mcannot find 'memmove' in scope[0;0m
[0;36m156 |[0;0m if readerIndex == 0 { return }
[0;36m157 |[0;0m if n > 0 {
[0;36m158 |[0;0m [4;39mmemmove[0;0m(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memmove' in scope[0;0m
[0;36m159 |[0;0m }
[0;36m160 |[0;0m readerIndex = 0
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:170:9: [1;31merror: [1;39mcannot find 'memcpy' in scope[0;0m
[0;36m168 |[0;0m if n == 0 { return }
[0;36m169 |[0;0m reserve(n)
[0;36m170 |[0;0m [4;39mmemcpy[0;0m(storage.unsafelyUnwrapped + writerIndex, p, n)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memcpy' in scope[0;0m
[0;36m171 |[0;0m writerIndex &+= n
[0;36m172 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:272:30: [1;31merror: [1;39mcannot find 'free' in scope[0;0m
[0;36m270 |[0;0m @inlinable
[0;36m271 |[0;0m public mutating func destroy() {
[0;36m272 |[0;0m if let s = storage { [4;39mfree[0;0m(s) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'free' in scope[0;0m
[0;36m273 |[0;0m storage = nil
[0;36m274 |[0;0m capacity = 0
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift:94:12: [1;31merror: [1;39mcannot find 'memcmp' in scope[0;0m
[0;36m92 |[0;0m package func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
[0;36m93 |[0;0m guard n == literal.utf8CodeUnitCount else { return false }
[0;36m94 |[0;0m return [4;39mmemcmp[0;0m(p, literal.utf8Start, n) == 0
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memcmp' in scope[0;0m
[0;36m95 |[0;0m }
[0;36m96 |[0;0m
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift:126:21: [1;31merror: [1;39mcannot find 'memchr' in scope[0;0m
[0;36m124 |[0;0m // memchr is vectorised in every libc worth using; hand-rolling a loop here
[0;36m125 |[0;0m // measurably loses on long header values.
[0;36m126 |[0;0m guard let hit = [4;39mmemchr[0;0m(p, Int32(needle), n) else { return -1 }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memchr' in scope[0;0m
[0;36m127 |[0;0m return UnsafeRawPointer(hit) - UnsafeRawPointer(p)
[0;36m128 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Allocation.swift /host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift /host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D BoringSSL -D Xcode -serialize-debugging-options -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 1.1.0 -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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name VegaWire -package-name vega -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/Objects-normal/wasm32/VegaWire_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/Objects-normal/wasm32/Modules/VegaWire.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/Objects-normal/wasm32/Modules/VegaWire.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/Objects-normal/wasm32/VegaWire-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/Objects-normal/wasm32/VegaWire-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/Objects-normal/wasm32/VegaWire-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-webassembly-wasm32/VegaWire-t.build/Objects-normal/wasm32/Modules/VegaWire.swiftmodule
[374 / 1174] VegaWire
error: Build failed
BUILD FAILURE 6.4 wasm