Build Information
Failed to build Lighter, reference develop (ebeafe
), with Swift 6.2 (beta) for Android on 22 Jun 2025 11:28:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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-8C5A4AE7A8CE2BA.txt
[16/134] Emitting module LighterCodeGenAST
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/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 {
[18/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 {
[19/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 {
[20/137] Compiling Lighter GeneratedVariadicOperations.swift
[21/137] Compiling Lighter SQLDatabaseAsyncChangeOperations.swift
[22/137] Compiling Lighter SQLDatabaseAsyncFetchOperations.swift
[23/137] Compiling Lighter SQLRecordFetchOperations.swift
[24/137] Compiling Lighter SQLRecordFilterOperations.swift
[25/137] Compiling Lighter SQLRecordForeignKeyOperations.swift
[26/137] Compiling Lighter SQLDatabaseOperations.swift
[27/137] Compiling Lighter SQLPragmaOperations.swift
[28/137] Compiling Lighter SQLRecordAsyncFetchOperations.swift
[29/137] Compiling Lighter SQLDatabaseAsyncOperations.swift
[30/137] Compiling Lighter SQLDatabaseChangeOperations.swift
[31/137] Compiling Lighter SQLDatabaseFetchOperations.swift
[32/137] Compiling Lighter SQLBuilder.swift
[33/137] Compiling Lighter SQLExpression.swift
[34/137] Compiling Lighter SQLInterpolation.swift
[35/140] Compiling LighterCodeGenAST TypeComment.swift
[36/140] Compiling LighterCodeGenAST TypeDefinition.swift
[37/140] Compiling LighterCodeGenAST TypeReference.swift
[38/140] 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 {
[39/140] 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 {
[40/140] 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 {
[41/140] 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 {
[42/140] Compiling Lighter SQLConnectionHandler.swift
[43/140] Compiling Lighter SimplePool.swift
[44/140] Compiling Lighter UnsafeReuse.swift
[45/140] Emitting module LighterCodeGenAST
<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 |
<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 android