The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LLVS, reference main (f168aa), with Swift 6.2 for Wasm on 26 Sep 2026 19:03:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mentalfaculty/LLVS.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/mentalfaculty/LLVS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f168aa9 Queryable projections, and local-first SQLite over LLVS (#11)
Cloned https://github.com/mentalfaculty/LLVS.git
Revision (git rev-parse @):
f168aa90f967372cfa45324b7ecc9072282281cf
SUCCESS checkout https://github.com/mentalfaculty/LLVS.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mentalfaculty/LLVS.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/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:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/6435] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.91s)
[1/80069] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.44s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.97s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.28s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.35s)
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/16] Write sources
[12/16] Write swift-version-24593BA9C3E375BF.txt
[14/39] Emitting module LLVSModelMacros
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/39] Emitting module ZIPFoundation
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[16/41] Compiling LLVSModelMacros MergeableModelMacro.swift
/host/spi-builder-workspace/Sources/LLVSModelMacros/MergeableModelMacro.swift:56:26: error: value of type 'String' has no member 'trimmingCharacters'
 54 | /// INTEGER and each converts differently at the boundary.
 55 | private func storageCase(forSwiftType swiftType: String) -> String? {
 56 |     var bare = swiftType.trimmingCharacters(in: .whitespaces)
    |                          `- error: value of type 'String' has no member 'trimmingCharacters'
 57 |     if bare.hasSuffix("?") { bare = String(bare.dropLast()).trimmingCharacters(in: .whitespaces) }
 58 |     if bare.hasPrefix("Optional<") && bare.hasSuffix(">") {
/host/spi-builder-workspace/Sources/LLVSModelMacros/MergeableModelMacro.swift:56:50: error: cannot infer contextual base in reference to member 'whitespaces'
 54 | /// INTEGER and each converts differently at the boundary.
 55 | private func storageCase(forSwiftType swiftType: String) -> String? {
 56 |     var bare = swiftType.trimmingCharacters(in: .whitespaces)
    |                                                  `- error: cannot infer contextual base in reference to member 'whitespaces'
 57 |     if bare.hasSuffix("?") { bare = String(bare.dropLast()).trimmingCharacters(in: .whitespaces) }
 58 |     if bare.hasPrefix("Optional<") && bare.hasSuffix(">") {
/host/spi-builder-workspace/Sources/LLVSModelMacros/MergeableModelMacro.swift:57:61: error: reference to member 'trimmingCharacters' cannot be resolved without a contextual type
 55 | private func storageCase(forSwiftType swiftType: String) -> String? {
 56 |     var bare = swiftType.trimmingCharacters(in: .whitespaces)
 57 |     if bare.hasSuffix("?") { bare = String(bare.dropLast()).trimmingCharacters(in: .whitespaces) }
    |                                                             `- error: reference to member 'trimmingCharacters' cannot be resolved without a contextual type
 58 |     if bare.hasPrefix("Optional<") && bare.hasSuffix(">") {
 59 |         bare = String(bare.dropFirst("Optional<".count).dropLast()).trimmingCharacters(in: .whitespaces)
/host/spi-builder-workspace/Sources/LLVSModelMacros/MergeableModelMacro.swift:57:85: error: cannot infer contextual base in reference to member 'whitespaces'
 55 | private func storageCase(forSwiftType swiftType: String) -> String? {
 56 |     var bare = swiftType.trimmingCharacters(in: .whitespaces)
 57 |     if bare.hasSuffix("?") { bare = String(bare.dropLast()).trimmingCharacters(in: .whitespaces) }
    |                                                                                     `- error: cannot infer contextual base in reference to member 'whitespaces'
 58 |     if bare.hasPrefix("Optional<") && bare.hasSuffix(">") {
 59 |         bare = String(bare.dropFirst("Optional<".count).dropLast()).trimmingCharacters(in: .whitespaces)
/host/spi-builder-workspace/Sources/LLVSModelMacros/MergeableModelMacro.swift:59:69: error: reference to member 'trimmingCharacters' cannot be resolved without a contextual type
 57 |     if bare.hasSuffix("?") { bare = String(bare.dropLast()).trimmingCharacters(in: .whitespaces) }
 58 |     if bare.hasPrefix("Optional<") && bare.hasSuffix(">") {
 59 |         bare = String(bare.dropFirst("Optional<".count).dropLast()).trimmingCharacters(in: .whitespaces)
    |                                                                     `- error: reference to member 'trimmingCharacters' cannot be resolved without a contextual type
 60 |     }
 61 |     // A qualified name such as Foundation.Date names the same type.
/host/spi-builder-workspace/Sources/LLVSModelMacros/MergeableModelMacro.swift:59:93: error: cannot infer contextual base in reference to member 'whitespaces'
 57 |     if bare.hasSuffix("?") { bare = String(bare.dropLast()).trimmingCharacters(in: .whitespaces) }
 58 |     if bare.hasPrefix("Optional<") && bare.hasSuffix(">") {
 59 |         bare = String(bare.dropFirst("Optional<".count).dropLast()).trimmingCharacters(in: .whitespaces)
    |                                                                                             `- error: cannot infer contextual base in reference to member 'whitespaces'
 60 |     }
 61 |     // A qualified name such as Foundation.Date names the same type.
[17/41] Compiling LLVSModelMacros Plugin.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
BUILD FAILURE 6.2 wasm