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.12 (77dba6), with Swift 6.1 for Wasm on 4 Aug 2025 16:22:31 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lighter-swift/Lighter.git
Reference: 1.4.12
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.12     -> FETCH_HEAD
HEAD is now at 77dba67 Merge branch 'develop'
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
77dba67c6a47ee02fd78b09306d3b561b6e5a6ef
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Lighter-swift/Lighter.git at 1.4.12
========================================
Build
========================================
Selected platform:         wasm
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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] Emitting module LighterCodeGenAST
[18/140] Compiling Lighter SQLDatabaseAsyncOperations.swift
[19/140] Compiling Lighter SQLDatabaseChangeOperations.swift
[20/140] Compiling Lighter SQLDatabaseFetchOperations.swift
[21/140] Compiling Lighter PredicateOperators.swift
[22/140] Compiling Lighter SQLColumnComparisonPredicate.swift
[23/140] Compiling Lighter SQLColumnValuePredicate.swift
[24/140] Compiling Lighter SQLRecordFetchOperations.swift
[25/140] Compiling Lighter SQLRecordFilterOperations.swift
[26/140] Compiling Lighter SQLRecordForeignKeyOperations.swift
[27/140] Compiling Lighter SQLConnectionHandler.swift
[28/140] Compiling Lighter SimplePool.swift
[29/140] Compiling Lighter UnsafeReuse.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/140] 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 {
[31/140] 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 {
[32/140] Compiling Lighter GeneratedVariadicOperations.swift
[33/140] Compiling Lighter SQLDatabaseAsyncChangeOperations.swift
[34/140] Compiling Lighter SQLDatabaseAsyncFetchOperations.swift
[35/140] Compiling Lighter SQLBuilder.swift
[36/140] Compiling Lighter SQLExpression.swift
[37/140] Compiling Lighter SQLInterpolation.swift
[38/140] Compiling LighterCodeGenAST TypeComment.swift
[39/140] Compiling LighterCodeGenAST TypeDefinition.swift
[40/140] Compiling LighterCodeGenAST TypeReference.swift
[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 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 {
[43/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 {
[44/140] 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 {
[45/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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 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 {
[7/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)
[8/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 {
[9/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 {
[10/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 {
[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 {
BUILD FAILURE 6.1 wasm