Build Information
Failed to build Lighter, reference 1.4.10 (c7d9e9
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 11:27:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lighter-swift/Lighter.git
Reference: 1.4.10
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.10 -> FETCH_HEAD
HEAD is now at c7d9e9c Merge branch 'develop'
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
c7d9e9ce06a08fa54fb5cd792ffc3dcd396ccd68
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Lighter-swift/Lighter.git at 1.4.10
========================================
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/134] Emitting module SQLite3Schema
/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 {
[17/134] Emitting module LighterCodeGenAST
[18/137] Compiling LighterCodeGenAST Expression.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[19/137] Compiling LighterCodeGenAST Extension.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[20/137] Compiling LighterCodeGenAST FunctionComment.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[21/137] Compiling LighterCodeGenAST GenericConstraint.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[22/137] Compiling LighterCodeGenAST Literal.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[23/137] Compiling LighterCodeGenAST Statement.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[27/143] Compiling LighterCodeGenAST GenFunctions.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[28/143] Compiling LighterCodeGenAST GenLiterals.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[29/143] Compiling LighterCodeGenAST GenStatements.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[30/146] Compiling SQLite3Schema Column.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 {
[31/146] Compiling SQLite3Schema CatalogObject.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 {
[32/146] Compiling LighterCodeGenAST CodeGenerator.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[33/146] Compiling LighterCodeGenAST GenExpressions.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[34/146] Compiling LighterCodeGenAST GenExtensions.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/146] Emitting module LighterCodeGenAST
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/146] Emitting module Lighter
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[37/146] 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 {
[38/146] Compiling SQLite3Schema DataTypes.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 {
[39/146] Compiling SQLite3Schema ForeignKey.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 {
[40/146] Compiling LighterCodeGenAST FunctionDeclaration.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[41/146] Compiling LighterCodeGenAST FunctionDefinition.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[42/146] Compiling LighterCodeGenAST FunctionParameter.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[43/146] Compiling SQLite3Schema TableOrView.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 {
[44/146] Compiling LighterCodeGenAST ReservedWords.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[45/146] Compiling LighterCodeGenAST CompilationUnit.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[46/146] Compiling LighterCodeGenAST ComputedPropertyDefinition.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[47/146] Compiling LighterCodeGenAST GenStructures.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[48/146] Compiling LighterCodeGenAST GenTypes.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[49/146] Compiling LighterCodeGenAST GenUnit.swift
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
/host/spi-builder-workspace/Plugins/Libraries/LighterCodeGenAST/Generation/GenLiterals.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension CodeGenerator {
[53/146] Compiling Lighter SQLSwiftMatchableSchema.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[54/146] Compiling Lighter SQLValueChanges.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[55/146] Compiling Lighter SQLiteValueType.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[56/146] Compiling Lighter SQLChangeTransaction.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[57/146] Compiling Lighter SQLDatabaseTransaction.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[58/146] Compiling Lighter SQLTransaction.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[59/146] Compiling Lighter SQLSortOrder.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[60/146] Compiling Lighter SQLTruePredicate.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[61/146] Compiling Lighter SQLColumn.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[62/146] Compiling Lighter SQLEntitySchema.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[63/146] Compiling Lighter SQLForeignKeyColumn.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
[64/146] Compiling Lighter SQLRecord.swift
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:6:15: error: no such module 'Foundation'
4 | //
5 |
6 | import struct Foundation.URL
| `- error: no such module 'Foundation'
7 | import struct Foundation.TimeInterval
8 | import SQLite3
<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 |
BUILD FAILURE 6.2 wasm