Build Information
Failed to build Vega, reference v1.1.0 (8fbbdd), with Swift 6.2 for Wasm on 23 Oct 2026 04:38:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/vega.git
Reference: v1.1.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/grepjava/vega
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at 8fbbddd Vega 1.1.0: RELEASE.md dated, the README's status and BoringSSL example on 1.1
Cloned https://github.com/grepjava/vega.git
Revision (git rev-parse @):
8fbbddd150471e949c6b825443cdda23bc9666c8
SUCCESS checkout https://github.com/grepjava/vega.git at v1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/grepjava/vega.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/450] Compiling CVega cvega_win.c
[0/450] Write sources
[2/450] Write swift-version-24593BA9C3E375BF.txt
[2/450] Write sources
[26/450] Compiling CVegaTLS cvega_verify.c
[27/454] Compiling a_bitstr.cc
[28/454] Compiling md5.cc
[29/454] Compiling a_d2i_fp.cc
[29/454] Compiling a_i2d_fp.cc
[31/454] Compiling CVegaTLS cvega_digest.c
[32/454] Compiling a_dup.cc
[33/454] Compiling CVegaTLS cvega_tls.c
[34/454] Compiling fiat_p256_adx_sqr.S
[35/454] Compiling CVegaTLS cvega_crypto.c
/host/spi-builder-workspace/Sources/CVegaCompress/cvega_compress.c:16:10: fatal error: 'zlib.h' file not found
16 | #include <zlib.h>
| ^~~~~~~~
1 error generated.
[36/454] Compiling CVegaCompress cvega_compress.c
[36/454] Compiling fiat_curve25519_adx_square.S
[36/454] Compiling fiat_p256_adx_mul.S
[36/454] Compiling fiat_curve25519_adx_mul.S
[36/454] Compiling tls_record.cc
[36/454] Compiling a_bool.cc
/host/spi-builder-workspace/Sources/VegaWire/ByteBuffer.swift:49:27: error: cannot find 'malloc' in scope
47 | public init(capacity: Int) {
48 | if capacity > 0 {
49 | guard let p = malloc(capacity) else {
| `- error: cannot find 'malloc' in scope
50 | allocationFailed(capacity, "a new buffer")
51 | }
/host/spi-builder-workspace/Sources/VegaWire/ByteBuffer.swift:158:13: error: cannot find 'memmove' in scope
156 | if readerIndex == 0 { return }
157 | if n > 0 {
158 | memmove(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
| `- error: cannot find 'memmove' in scope
159 | }
160 | readerIndex = 0
/host/spi-builder-workspace/Sources/VegaWire/ByteBuffer.swift:170:9: error: cannot find 'memcpy' in scope
168 | if n == 0 { return }
169 | reserve(n)
170 | memcpy(storage.unsafelyUnwrapped + writerIndex, p, n)
| `- error: cannot find 'memcpy' in scope
171 | writerIndex &+= n
172 | }
/host/spi-builder-workspace/Sources/VegaWire/ByteBuffer.swift:272:30: error: cannot find 'free' in scope
270 | @inlinable
271 | public mutating func destroy() {
272 | if let s = storage { free(s) }
| `- error: cannot find 'free' in scope
273 | storage = nil
274 | capacity = 0
/host/spi-builder-workspace/Sources/VegaWire/Bytes.swift:172:1: warning: '@usableFromInline' attribute has no effect on '@inlinable' global function 'writeDecimal'
170 | @inlinable
171 | @discardableResult
172 | @usableFromInline package func writeDecimal(_ value: Int, _ p: UnsafeMutablePointer<UInt8>) -> Int {
| `- warning: '@usableFromInline' attribute has no effect on '@inlinable' global function 'writeDecimal'
173 | if value == 0 { p[0] = cZero; return 1 }
174 | var tmp = (UInt8(0), UInt8(0), UInt8(0), UInt8(0), UInt8(0),
/host/spi-builder-workspace/Sources/VegaWire/Bytes.swift:94:12: error: cannot find 'memcmp' in scope
92 | package func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
93 | guard n == literal.utf8CodeUnitCount else { return false }
94 | return memcmp(p, literal.utf8Start, n) == 0
| `- error: cannot find 'memcmp' in scope
95 | }
96 |
[36/454] Compiling a_gentm.cc
BUILD FAILURE 6.2 wasm