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.1 for Android on 29 May 2025 22:42:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/Lighter-swift/Lighter.git
https://github.com/Lighter-swift/Lighter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Lighter",
  "name" : "Lighter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Lighter",
      "targets" : [
        "Lighter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SQLite3Schema",
      "targets" : [
        "SQLite3Schema"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "sqlite2swift",
      "targets" : [
        "sqlite2swift"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Enlighter",
      "targets" : [
        "Enlighter"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "Generate Code for SQLite",
      "targets" : [
        "Generate Code for SQLite"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "GenerateInternalVariadics",
      "targets" : [
        "GenerateInternalVariadics"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "sqlite2swift",
      "module_type" : "SwiftTarget",
      "name" : "sqlite2swift",
      "path" : "Plugins/Tools/sqlite2swift",
      "product_memberships" : [
        "sqlite2swift",
        "Enlighter",
        "Generate Code for SQLite"
      ],
      "sources" : [
        "Arguments.swift",
        "ExitCodes.swift",
        "SQLite2Swift.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "LighterGeneration"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SQLite3Schema",
      "module_type" : "SwiftTarget",
      "name" : "SQLite3Schema",
      "path" : "Sources/SQLite3Schema",
      "product_memberships" : [
        "SQLite3Schema",
        "sqlite2swift",
        "Enlighter",
        "Generate Code for SQLite",
        "GenerateInternalVariadics"
      ],
      "sources" : [
        "CatalogObject.swift",
        "Column.swift",
        "DataTypes.swift",
        "ForeignKey.swift",
        "Schema.swift",
        "TableOrView.swift"
      ],
      "target_dependencies" : [
        "SQLite3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SQLite3",
      "module_type" : "SystemLibraryTarget",
      "name" : "SQLite3",
      "path" : "Sources/SQLite3-Linux",
      "product_memberships" : [
        "Lighter",
        "SQLite3Schema",
        "sqlite2swift",
        "Enlighter",
        "Generate Code for SQLite",
        "GenerateInternalVariadics"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "NorthwindTests",
      "module_type" : "SwiftTarget",
      "name" : "NorthwindTests",
      "path" : "Tests/NorthwindTests",
      "sources" : [
        "NorthwindTests.swift"
      ],
      "target_dependencies" : [
        "LighterGeneration"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LighterOperationGenTests",
      "module_type" : "SwiftTarget",
      "name" : "LighterOperationGenTests",
      "path" : "Tests/LighterOperationGenTests",
      "sources" : [
        "FetchOperationsTests.swift",
        "InsertOperationsTests.swift",
        "UpdateOperationsTests.swift"
      ],
      "target_dependencies" : [
        "LighterGeneration"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LighterGeneration",
      "module_type" : "SwiftTarget",
      "name" : "LighterGeneration",
      "path" : "Plugins/Libraries/LighterGeneration",
      "product_memberships" : [
        "sqlite2swift",
        "Enlighter",
        "Generate Code for SQLite",
        "GenerateInternalVariadics"
      ],
      "sources" : [
        "CodeGenerator.swift",
        "GenModel/DatabaseInfo.swift",
        "GenModel/EntityInfo.swift",
        "GenModel/EntitySQLStatements.swift",
        "GenModel/Fancyfier.swift",
        "GenModel/Property.swift",
        "GenModel/Relationships.swift",
        "GenModel/SchemaInit.swift",
        "LighterAPI.swift",
        "LighterConfiguration/ASTGeneratorConfig.swift",
        "LighterConfiguration/CodeGeneratorConfig.swift",
        "LighterConfiguration/ConfigFile.swift",
        "LighterConfiguration/EmbeddedLighter.swift",
        "LighterConfiguration/FancyfierConfig.swift",
        "LighterConfiguration/JSONUtil.swift",
        "LighterConfiguration/LighterConfiguration.swift",
        "RecordGeneration/EnlighterASTGenerator.swift",
        "RecordGeneration/GenerateCombinedFile.swift",
        "RecordGeneration/GenerateDatabaseStruct.swift",
        "RecordGeneration/GenerateDatabaseSupport.swift",
        "RecordGeneration/GenerateDefaultValues.swift",
        "RecordGeneration/GenerateOptionalHelpers.swift",
        "RecordGeneration/GeneratePropertyType.swift",
        "RecordGeneration/GenerateRawFunctions.swift",
        "RecordGeneration/GenerateRawRelshipFunctions.swift",
        "RecordGeneration/GenerateRecordRelshipFunctions.swift",
        "RecordGeneration/GenerateRecordStatementBind.swift",
        "RecordGeneration/GenerateRecordStatementInit.swift",
        "RecordGeneration/GenerateRecordStructure.swift",
        "RecordGeneration/GenerateRecordSwiftMatcher.swift",
        "RecordGeneration/GenerateSchemaStructure.swift",
        "SchemaLoader.swift",
        "Utilities/CamelCase.swift",
        "Utilities/ConcurrencyCompat.swift",
        "Utilities/GenerateSchemaSwiftInit.swift",
        "Utilities/Pluralize.swift",
        "Utilities/SQLGeneration.swift",
        "VariadicGeneration/FunctionGenerator.swift",
        "VariadicGeneration/GenerateInsertFunctions.swift",
        "VariadicGeneration/GenerateInternalVariadics.swift",
        "VariadicGeneration/GenerateSelectFunctions.swift",
        "VariadicGeneration/GenerateUpdateFunctions.swift"
      ],
      "target_dependencies" : [
        "LighterCodeGenAST",
        "SQLite3Schema"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LighterCodeGenAST",
      "module_type" : "SwiftTarget",
      "name" : "LighterCodeGenAST",
      "path" : "Plugins/Libraries/LighterCodeGenAST",
      "product_memberships" : [
        "sqlite2swift",
        "Enlighter",
        "Generate Code for SQLite",
        "GenerateInternalVariadics"
      ],
      "sources" : [
        "Generation/CodeGenerator.swift",
        "Generation/GenExpressions.swift",
        "Generation/GenExtensions.swift",
        "Generation/GenFunctions.swift",
        "Generation/GenLiterals.swift",
        "Generation/GenStatements.swift",
        "Generation/GenStructures.swift",
        "Generation/GenTypes.swift",
        "Generation/GenUnit.swift",
        "Generation/ReservedWords.swift",
        "Nodes/CompilationUnit.swift",
        "Nodes/ComputedPropertyDefinition.swift",
        "Nodes/Expression.swift",
        "Nodes/Extension.swift",
        "Nodes/FunctionComment.swift",
        "Nodes/FunctionDeclaration.swift",
        "Nodes/FunctionDefinition.swift",
        "Nodes/FunctionParameter.swift",
        "Nodes/GenericConstraint.swift",
        "Nodes/Literal.swift",
        "Nodes/Statement.swift",
        "Nodes/TypeComment.swift",
        "Nodes/TypeDefinition.swift",
        "Nodes/TypeReference.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Lighter",
      "module_type" : "SwiftTarget",
      "name" : "Lighter",
      "path" : "Sources/Lighter",
      "product_memberships" : [
        "Lighter"
      ],
      "sources" : [
        "ConnectionHandlers/SQLConnectionHandler.swift",
        "ConnectionHandlers/SimplePool.swift",
        "ConnectionHandlers/UnsafeReuse.swift",
        "Database/SQLDatabase.swift",
        "Database/SQLDatabaseCreation.swift",
        "Database/SQLDatabaseTesting.swift",
        "Expression/SQLBuilder.swift",
        "Expression/SQLExpression.swift",
        "Expression/SQLInterpolation.swift",
        "Operations/GeneratedVariadicOperations.swift",
        "Operations/SQLDatabaseAsyncChangeOperations.swift",
        "Operations/SQLDatabaseAsyncFetchOperations.swift",
        "Operations/SQLDatabaseAsyncOperations.swift",
        "Operations/SQLDatabaseChangeOperations.swift",
        "Operations/SQLDatabaseFetchOperations.swift",
        "Operations/SQLDatabaseOperations.swift",
        "Operations/SQLPragmaOperations.swift",
        "Operations/SQLRecordAsyncFetchOperations.swift",
        "Operations/SQLRecordFetchOperations.swift",
        "Operations/SQLRecordFilterOperations.swift",
        "Operations/SQLRecordForeignKeyOperations.swift",
        "Predicates/PredicateOperators.swift",
        "Predicates/SQLColumnComparisonPredicate.swift",
        "Predicates/SQLColumnValuePredicate.swift",
        "Predicates/SQLColumnValueRangePredicate.swift",
        "Predicates/SQLColumnValueSetPredicate.swift",
        "Predicates/SQLCompoundPredicate.swift",
        "Predicates/SQLInterpolatedPredicate.swift",
        "Predicates/SQLNotPredicate.swift",
        "Predicates/SQLPredicate.swift",
        "Predicates/SQLSortOrder.swift",
        "Predicates/SQLTruePredicate.swift",
        "Schema/SQLColumn.swift",
        "Schema/SQLEntitySchema.swift",
        "Schema/SQLForeignKeyColumn.swift",
        "Schema/SQLRecord.swift",
        "Schema/SQLSwiftMatchableSchema.swift",
        "Schema/SQLValueChanges.swift",
        "Schema/SQLiteValueType.swift",
        "Transactions/SQLChangeTransaction.swift",
        "Transactions/SQLDatabaseTransaction.swift",
        "Transactions/SQLTransaction.swift",
        "Transactions/SQLTransactionAsync.swift",
        "Transactions/SQLTransactionType.swift",
        "Utilities/LighterError.swift",
        "Utilities/OptionalCString.swift",
        "Utilities/SQLError.swift",
        "Utilities/SendableKeyPath.swift"
      ],
      "target_dependencies" : [
        "SQLite3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateInternalVariadics",
      "module_type" : "SwiftTarget",
      "name" : "GenerateInternalVariadics",
      "path" : "Plugins/Tools/GenerateInternalVariadics",
      "product_memberships" : [
        "GenerateInternalVariadics"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LighterCodeGenAST",
        "LighterGeneration"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Generate_Variadics_into_Lighter__Internal_",
      "module_type" : "PluginTarget",
      "name" : "Generate Variadics into Lighter (Internal)",
      "path" : "Plugins/WriteInternalVariadics",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate the variadic queries into the Sources/Lighter directory.",
          "type" : "custom",
          "verb" : "write-internal-variadics"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "The plugin needs access to generate the source file.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "WriteInternalVariadics.swift"
      ],
      "target_dependencies" : [
        "GenerateInternalVariadics"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Generate_Code_for_SQLite",
      "module_type" : "PluginTarget",
      "name" : "Generate Code for SQLite",
      "path" : "Plugins/GenerateCodeForSQLite",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate Swift code for SQLite DBs into the Sources directory.",
          "type" : "custom",
          "verb" : "sqlite2swift"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "The plugin needs access to generate the source file.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Generate Code for SQLite"
      ],
      "sources" : [
        "Arguments.swift",
        "EnlighterGroup.swift",
        "EnlighterTargetConfig.swift",
        "GenerateCodeForSQLite.swift",
        "XcodeSPMCompat.swift"
      ],
      "target_dependencies" : [
        "sqlite2swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "FiveThirtyEightTests",
      "module_type" : "SwiftTarget",
      "name" : "FiveThirtyEightTests",
      "path" : "Tests/FiveThirtyEightTests",
      "sources" : [
        "FiveThirtyEightTests.swift"
      ],
      "target_dependencies" : [
        "LighterGeneration"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EntityGenTests",
      "module_type" : "SwiftTarget",
      "name" : "EntityGenTests",
      "path" : "Tests/EntityGenTests",
      "sources" : [
        "ASTDatabaseStructGenerationTests.swift",
        "ASTRawFunctionGenerationTests.swift",
        "ASTRawRelshipFunctionGenerationTests.swift",
        "ASTRecordBindGenerationTests.swift",
        "ASTRecordInitGenerationTests.swift",
        "ASTRecordMatcherGenerationTests.swift",
        "ASTRecordRelshipGenerationTests.swift",
        "ASTRecordSchemaGenerationTests.swift",
        "ASTRecordStructGenerationTests.swift",
        "EntityGenTests.swift",
        "FancifierTests.swift",
        "Fixtures.swift",
        "PluralizeTests.swift"
      ],
      "target_dependencies" : [
        "LighterGeneration"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Enlighter",
      "module_type" : "PluginTarget",
      "name" : "Enlighter",
      "path" : "Plugins/Enlighter",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Enlighter"
      ],
      "sources" : [
        "Enlighter.swift",
        "EnlighterGroup.swift",
        "EnlighterTargetConfig.swift",
        "XcodeSPMCompat.swift"
      ],
      "target_dependencies" : [
        "sqlite2swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ContactsDatabaseTests",
      "module_type" : "SwiftTarget",
      "name" : "ContactsDatabaseTests",
      "path" : "Tests/ContactsDatabaseTests",
      "sources" : [
        "ContactsDatabaseTests.swift"
      ],
      "target_dependencies" : [
        "Lighter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CodeGenASTTests",
      "module_type" : "SwiftTarget",
      "name" : "CodeGenASTTests",
      "path" : "Tests/CodeGenASTTests",
      "sources" : [
        "BuilderTests.swift",
        "Fixtures.swift",
        "GenerationTests.swift"
      ],
      "target_dependencies" : [
        "LighterCodeGenAST"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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 FunctionDeclaration.swift
[17/134] Compiling LighterCodeGenAST FunctionDefinition.swift
[18/134] Compiling LighterCodeGenAST FunctionParameter.swift
[19/134] 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 {
[20/137] Compiling LighterCodeGenAST ReservedWords.swift
[21/137] Compiling LighterCodeGenAST CompilationUnit.swift
[22/137] Compiling LighterCodeGenAST ComputedPropertyDefinition.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/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 {
[24/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 {
[25/137] Compiling LighterCodeGenAST Expression.swift
[26/137] Compiling LighterCodeGenAST Extension.swift
[27/137] Compiling LighterCodeGenAST FunctionComment.swift
[28/137] Compiling LighterCodeGenAST GenericConstraint.swift
[29/137] Compiling LighterCodeGenAST Literal.swift
[30/137] Compiling LighterCodeGenAST Statement.swift
[31/137] Compiling LighterCodeGenAST CodeGenerator.swift
[32/137] Compiling LighterCodeGenAST GenExpressions.swift
[33/137] Compiling LighterCodeGenAST GenExtensions.swift
[34/137] Compiling LighterCodeGenAST TypeComment.swift
[35/137] Compiling LighterCodeGenAST TypeDefinition.swift
[36/137] Compiling LighterCodeGenAST TypeReference.swift
[37/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 {
[38/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 {
[39/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 {
[40/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 {
<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 |
[41/137] Compiling LighterCodeGenAST GenFunctions.swift
[42/137] Compiling LighterCodeGenAST GenLiterals.swift
[43/137] Compiling LighterCodeGenAST GenStatements.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
<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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[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/22] Write swift-version-24593BA9C3E375BF.txt
[5/123] 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 {
[6/123] 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 {
[7/123] 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 {
[8/123] 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 {
[9/123] 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)
[10/123] 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 {
[11/123] 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 {
<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.1 android