The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Vega, reference main (8fbbdd), with Swift 6.2 for Wasm on 23 Oct 2026 04:39:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/vega.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/vega
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-54344843-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] Write sources
[1/450] Write swift-version-24593BA9C3E375BF.txt
[1/450] Write sources
[25/450] Compiling CVegaTLS cvega_verify.c
[26/454] Compiling a_bitstr.cc
[27/454] Compiling a_dup.cc
[28/454] Compiling scrypt.cc
[28/454] Compiling a_i2d_fp.cc
[30/454] Compiling CVegaTLS cvega_tls.c
[31/454] Compiling CVegaTLS cvega_digest.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.
[32/454] Compiling CVegaCompress cvega_compress.c
[32/454] Compiling CVegaTLS cvega_crypto.c
[32/454] Compiling fiat_p256_adx_mul.S
[32/454] Compiling fiat_p256_adx_sqr.S
[32/454] Compiling a_int.cc
[32/454] Compiling a_gentm.cc
[32/454] Compiling a_mbstr.cc
/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 |
BUILD FAILURE 6.2 wasm