The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lighter, reference develop (3486fc), with Swift 6.1 for Wasm on 30 Jan 2026 17:07:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.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 3486fc0 Minor style fix
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
3486fc08d580aa3a87cd29ede023ba291a90de8b
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.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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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
[17/137] Compiling Lighter SQLRecordFetchOperations.swift
[18/137] Compiling Lighter SQLRecordFilterOperations.swift
[19/137] Compiling Lighter SQLRecordForeignKeyOperations.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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 {
[21/137] Compiling Lighter GeneratedVariadicOperations.swift
[22/137] Compiling Lighter SQLDatabaseAsyncChangeOperations.swift
[23/137] Compiling Lighter SQLDatabaseAsyncFetchOperations.swift
[24/137] Compiling Lighter SQLDatabaseAsyncOperations.swift
[25/137] Compiling Lighter SQLDatabaseChangeOperations.swift
[26/137] Compiling Lighter SQLDatabaseFetchOperations.swift
[27/137] Compiling Lighter SQLDatabaseOperations.swift
[28/137] Compiling Lighter SQLPragmaOperations.swift
[29/137] Compiling Lighter SQLRecordAsyncFetchOperations.swift
[30/137] Compiling Lighter SQLDatabase.swift
[31/137] Compiling Lighter SQLDatabaseCreation.swift
[32/137] Compiling Lighter SQLDatabaseTesting.swift
[33/137] Compiling Lighter SQLBuilder.swift
[34/137] Compiling Lighter SQLExpression.swift
[35/137] Compiling Lighter SQLInterpolation.swift
[36/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 {
[37/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 {
[38/137] Compiling LighterCodeGenAST TypeComment.swift
[39/137] Compiling LighterCodeGenAST TypeDefinition.swift
[40/137] Compiling LighterCodeGenAST TypeReference.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/137] Emitting module Lighter
/host/spi-builder-workspace/Sources/Lighter/ConnectionHandlers/SQLConnectionHandler.swift:8:8: error: no such module 'SQLite3'
  6 | import struct Foundation.URL
  7 | import struct Foundation.TimeInterval
  8 | import SQLite3
    |        `- error: no such module 'SQLite3'
  9 |
 10 | /**
[42/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 {
[43/143] 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 {
[44/143] 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 {
[45/143] 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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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 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)
[6/123] 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 {
[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 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 {
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/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 {
[11/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 {
[12/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 {
BUILD FAILURE 6.1 wasm