Build Information
Failed to build Lighter, reference 1.4.12 (77dba6), with Swift 6.3 for Wasm on 16 Apr 2026 16:31:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lighter-swift/Lighter.git
Reference: 1.4.12
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
* tag 1.4.12 -> FETCH_HEAD
HEAD is now at 77dba67 Merge branch 'develop'
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
77dba67c6a47ee02fd78b09306d3b561b6e5a6ef
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Lighter-swift/Lighter.git at 1.4.12
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Lighter-swift/Lighter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/140] Emitting module Lighter
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:8:8: error: no such module 'SQLite3'
6 | import struct Foundation.URL
7 | import struct Foundation.TimeInterval
8 | import SQLite3
| `- error: no such module 'SQLite3'
9 |
10 | /**
[19/146] Compiling LighterCodeGenAST GenericConstraint.swift
[20/146] Compiling LighterCodeGenAST Literal.swift
[21/146] Compiling LighterCodeGenAST Statement.swift
[22/146] Compiling LighterCodeGenAST GenStructures.swift
[23/146] Compiling LighterCodeGenAST GenTypes.swift
[24/146] Compiling LighterCodeGenAST GenUnit.swift
[25/146] Compiling LighterCodeGenAST ReservedWords.swift
[26/146] Compiling LighterCodeGenAST CompilationUnit.swift
[27/146] Compiling LighterCodeGenAST ComputedPropertyDefinition.swift
[28/146] Compiling LighterCodeGenAST TypeComment.swift
[29/146] Compiling LighterCodeGenAST TypeDefinition.swift
[30/146] Compiling LighterCodeGenAST TypeReference.swift
[31/146] Compiling LighterCodeGenAST Expression.swift
[32/146] Compiling LighterCodeGenAST Extension.swift
[33/146] Compiling LighterCodeGenAST FunctionComment.swift
[34/146] Compiling LighterCodeGenAST FunctionDeclaration.swift
[35/146] Compiling LighterCodeGenAST FunctionDefinition.swift
[36/146] Compiling LighterCodeGenAST FunctionParameter.swift
[37/146] Compiling LighterCodeGenAST CodeGenerator.swift
[38/146] Compiling LighterCodeGenAST GenExpressions.swift
[39/146] Compiling LighterCodeGenAST GenExtensions.swift
[49/146] 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 {
[50/146] 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 {
[51/146] 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 {
[52/146] 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 {
[53/146] 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)
[54/146] 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 {
[55/146] Compiling LighterCodeGenAST GenFunctions.swift
[56/146] Compiling LighterCodeGenAST GenLiterals.swift
[57/146] Compiling LighterCodeGenAST GenStatements.swift
[58/147] 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 {
[60/147] Compiling SQLite3Schema Schema.swift
/host/spi-builder-workspace/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: no such module 'SQLite3'
87 | // MARK: - Fetching
88 |
89 | import SQLite3
| `- error: no such module 'SQLite3'
90 |
91 | public extension Schema.CatalogObject {
BUILD FAILURE 6.3 wasm