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 1.4.10 (c7d9e9), with Swift 6.2 (beta) for Android on 22 Jun 2025 11:27:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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:         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-4609320-0":/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] Compiling Lighter SQLDatabaseOperations.swift
[17/134] Compiling Lighter SQLPragmaOperations.swift
[18/134] Compiling Lighter SQLRecordAsyncFetchOperations.swift
[19/134] Compiling Lighter SQLRecordFetchOperations.swift
[20/134] Compiling Lighter SQLRecordFilterOperations.swift
[21/134] Compiling Lighter SQLRecordForeignKeyOperations.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/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 {
[23/137] Compiling Lighter GeneratedVariadicOperations.swift
[24/137] Compiling Lighter SQLDatabaseAsyncChangeOperations.swift
[25/137] Compiling Lighter SQLDatabaseAsyncFetchOperations.swift
[26/137] Compiling Lighter SQLDatabaseAsyncOperations.swift
[27/137] Compiling Lighter SQLDatabaseChangeOperations.swift
[28/137] Compiling Lighter SQLDatabaseFetchOperations.swift
[29/137] Compiling Lighter SQLDatabase.swift
[30/137] Compiling Lighter SQLDatabaseCreation.swift
[31/137] Compiling Lighter SQLDatabaseTesting.swift
[32/137] Compiling LighterCodeGenAST TypeComment.swift
[33/137] Compiling LighterCodeGenAST TypeDefinition.swift
[34/137] Compiling LighterCodeGenAST TypeReference.swift
[35/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 {
[36/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 {
[37/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 {
[38/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 {
[39/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 {
[40/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/137] Emitting module Lighter
<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/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:8:8: error: could not build C module 'SQLite3'
  6 | import struct Foundation.URL
  7 | import struct Foundation.TimeInterval
  8 | import SQLite3
    |        `- error: could not build C module 'SQLite3'
  9 |
 10 | /**
<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