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 develop (8cfd88), with Swift 6.1 for Wasm on 12 Jul 2025 20:07:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lighter-swift/Lighter.git
Reference: develop
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Lighter-swift/Lighter
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 8cfd885 Consolidate some bool properties in flags
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
8cfd8857b4cc8af47f74d76464f633d80c0934ac
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" 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] Compiling Lighter SQLRecordFetchOperations.swift
[17/134] Compiling Lighter SQLRecordFilterOperations.swift
[18/134] Compiling Lighter SQLRecordForeignKeyOperations.swift
[19/137] Compiling Lighter SQLBuilder.swift
[20/137] Compiling Lighter SQLExpression.swift
[21/137] Compiling Lighter SQLInterpolation.swift
[22/137] Compiling Lighter GeneratedVariadicOperations.swift
[23/137] Compiling Lighter SQLDatabaseAsyncChangeOperations.swift
[24/137] Compiling Lighter SQLDatabaseAsyncFetchOperations.swift
[25/137] Compiling Lighter SQLDatabaseAsyncOperations.swift
[26/137] Compiling Lighter SQLDatabaseChangeOperations.swift
[27/137] Compiling Lighter SQLDatabaseFetchOperations.swift
[28/137] Compiling Lighter SQLDatabaseOperations.swift
[29/137] Compiling Lighter SQLPragmaOperations.swift
[30/137] Compiling Lighter SQLRecordAsyncFetchOperations.swift
[31/137] Compiling Lighter SQLConnectionHandler.swift
[32/137] Compiling Lighter SimplePool.swift
[33/137] Compiling Lighter UnsafeReuse.swift
[34/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 {
[35/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 {
[36/137] Compiling LighterCodeGenAST TypeComment.swift
[37/137] Compiling LighterCodeGenAST TypeDefinition.swift
[38/137] Compiling LighterCodeGenAST TypeReference.swift
[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] Emitting module LighterCodeGenAST
[44/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 {
[45/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/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 {
[50/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 {
/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 | /**
/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 | /**
/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 | /**
/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 | /**
/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 | /**
/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 | /**
[63/140] Compiling SQLite3Schema Schema.swift
/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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 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 {
[6/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 {
/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 {
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 Lighter SQLColumnValueRangePredicate.swift
/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 | /**
[12/123] Compiling Lighter SQLColumnValueSetPredicate.swift
/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 | /**
[13/123] Compiling Lighter SQLCompoundPredicate.swift
/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 | /**
[14/123] Compiling Lighter SQLInterpolatedPredicate.swift
/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 | /**
[15/123] Compiling Lighter SQLNotPredicate.swift
/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 | /**
[16/123] Compiling Lighter SQLPredicate.swift
/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 | /**
[17/129] 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 {
[18/129] 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)
[19/129] 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 {
[20/129] Compiling SQLite3Schema CatalogObject.swift
/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 {
[21/129] Compiling SQLite3Schema Schema.swift
/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 {
[22/129] Compiling SQLite3Schema Column.swift
/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 {
[23/129] Compiling SQLite3Schema DataTypes.swift
/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 {
[24/129] Compiling SQLite3Schema ForeignKey.swift
/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 {
[25/129] Compiling Lighter SQLTransactionAsync.swift
/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 | /**
[26/129] Compiling Lighter SQLTransactionType.swift
/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 | /**
[27/129] Compiling Lighter LighterError.swift
/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 | /**
[28/129] Compiling Lighter OptionalCString.swift
/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 | /**
[29/129] Compiling Lighter SQLError.swift
/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 | /**
[30/129] Compiling Lighter SendableKeyPath.swift
/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 | /**
[31/129] Emitting module LighterCodeGenAST
[32/129] Compiling Lighter SQLDatabaseOperations.swift
[33/129] Compiling Lighter SQLPragmaOperations.swift
[34/129] Compiling Lighter SQLRecordAsyncFetchOperations.swift
BUILD FAILURE 6.1 wasm