Build Information
Failed to build Lighter, reference develop (3486fc), with Swift 6.2 for Wasm on 30 Jan 2026 17:08:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lighter-swift/Lighter.git
Reference: develop
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/Lighter-swift/Lighter
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 3486fc0 Minor style fix
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
3486fc08d580aa3a87cd29ede023ba291a90de8b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Lighter-swift/Lighter.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Lighter-swift/Lighter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
[1/1] Compiling plugin Generate Variadics into Lighter (Internal)
[2/2] Compiling plugin Generate Code for SQLite
[3/3] Compiling plugin Enlighter
Building for debugging...
[3/33] Write sources
[14/33] Write swift-version-24593BA9C3E375BF.txt
[16/134] Emitting module LighterCodeGenAST
[17/137] Compiling SQLite3Schema CatalogObject.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/Sources/SQLite3-Linux/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: could not build C module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/137] Emitting module SQLite3Schema
<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/Sources/SQLite3-Linux/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: could not build C module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
[19/137] Compiling LighterCodeGenAST FunctionDeclaration.swift
[20/137] Compiling LighterCodeGenAST FunctionDefinition.swift
[21/137] Compiling LighterCodeGenAST FunctionParameter.swift
[22/137] Compiling LighterCodeGenAST GenericConstraint.swift
[23/137] Compiling LighterCodeGenAST Literal.swift
[24/137] Compiling LighterCodeGenAST Statement.swift
[25/137] Compiling LighterCodeGenAST Expression.swift
[26/137] Compiling LighterCodeGenAST Extension.swift
[27/137] Compiling LighterCodeGenAST FunctionComment.swift
[28/137] Compiling SQLite3Schema Column.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/Sources/SQLite3-Linux/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: could not build C module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
[29/137] Compiling LighterCodeGenAST ReservedWords.swift
[30/137] Compiling LighterCodeGenAST CompilationUnit.swift
[31/137] Compiling LighterCodeGenAST ComputedPropertyDefinition.swift
[32/137] Compiling LighterCodeGenAST GenStructures.swift
[33/137] Compiling LighterCodeGenAST GenTypes.swift
[34/137] Compiling LighterCodeGenAST GenUnit.swift
[35/137] Compiling LighterCodeGenAST TypeComment.swift
[36/137] Compiling LighterCodeGenAST TypeDefinition.swift
[37/137] Compiling LighterCodeGenAST TypeReference.swift
[41/137] Compiling SQLite3Schema ForeignKey.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/Sources/SQLite3-Linux/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: could not build C module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
[42/137] Compiling SQLite3Schema DataTypes.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/Sources/SQLite3-Linux/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: could not build C module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
[43/137] Compiling SQLite3Schema Schema.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/Sources/SQLite3-Linux/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: could not build C module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
[44/137] Compiling SQLite3Schema TableOrView.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/Sources/SQLite3-Linux/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: could not build C module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
[45/140] Compiling LighterCodeGenAST CodeGenerator.swift
[46/140] Compiling LighterCodeGenAST GenExpressions.swift
[47/140] Compiling LighterCodeGenAST GenExtensions.swift
BUILD FAILURE 6.2 wasm