The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Lighter, reference develop (ebeafe), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 11:27:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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 ebeafe2 Move date formatter expression from AST lib to gen
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
ebeafe26b6dfbf289fe0953f5f38202b62a89776
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-4609320-3":/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
[16/134] Compiling LighterCodeGenAST GenericConstraint.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 {
[17/134] Compiling LighterCodeGenAST Literal.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 {
[18/134] Compiling LighterCodeGenAST Statement.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 {
[19/137] Compiling Lighter SQLBuilder.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 {
[20/137] Compiling Lighter SQLExpression.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 {
[21/137] Compiling Lighter SQLInterpolation.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 {
[22/137] Compiling Lighter SQLDatabaseOperations.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 {
[23/137] Compiling Lighter SQLPragmaOperations.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 {
[24/137] Compiling Lighter SQLRecordAsyncFetchOperations.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 {
[25/137] Compiling Lighter SQLRecordFetchOperations.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 {
[26/137] Compiling Lighter SQLRecordFilterOperations.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 {
[27/137] Compiling Lighter SQLRecordForeignKeyOperations.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/137] Compiling LighterCodeGenAST GenericConstraint.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/137] Compiling LighterCodeGenAST Literal.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/137] Compiling LighterCodeGenAST Statement.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 {
[31/137] 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 {
[32/137] 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 {
[33/137] 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 {
[34/137] 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 {
[35/137] 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
[36/137] 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
[37/137] 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
[38/137] 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
[39/137] 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
[40/137] 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
[41/137] Compiling Lighter SQLDatabaseAsyncOperations.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
[42/137] Compiling Lighter SQLDatabaseChangeOperations.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
[43/137] Compiling Lighter SQLDatabaseFetchOperations.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/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/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/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
[47/143] Compiling Lighter SQLColumnValueRangePredicate.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
[48/143] Compiling Lighter SQLColumnValueSetPredicate.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
[49/143] Compiling Lighter SQLCompoundPredicate.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
[50/143] Compiling Lighter SQLInterpolatedPredicate.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
[51/143] Compiling Lighter SQLNotPredicate.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
[52/143] Compiling Lighter SQLPredicate.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
[53/143] 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
[54/143] 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
[55/143] 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
[56/143] 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
[57/143] 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
[58/143] 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
[59/143] Compiling Lighter PredicateOperators.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 {
[60/143] Compiling Lighter SQLColumnComparisonPredicate.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 {
[61/143] Compiling Lighter SQLColumnValuePredicate.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)
[62/143] 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 {
/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 {
[66/143] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/143] 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 {
[68/143] 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 {
[69/143] 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 {
<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