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 (ebeafe), with Swift 6.1 for Wasm on 29 May 2025 22:42:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.63.1
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 ebeafe2 Move date formatter expression from AST lib to gen
Cloned https://github.com/Lighter-swift/Lighter.git
Revision (git rev-parse @):
ebeafe26b6dfbf289fe0953f5f38202b62a89776
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-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 SQLDatabaseOperations.swift
[17/134] Compiling Lighter SQLPragmaOperations.swift
[18/134] Compiling Lighter SQLRecordAsyncFetchOperations.swift
[19/134] Compiling Lighter SQLRecordFetchOperations.swift
[20/134] Compiling Lighter SQLRecordFilterOperations.swift
[21/134] Compiling Lighter SQLRecordForeignKeyOperations.swift
[22/134] Compiling Lighter SQLConnectionHandler.swift
[23/134] Compiling Lighter SimplePool.swift
[24/134] Compiling Lighter UnsafeReuse.swift
[25/134] Compiling Lighter SQLDatabase.swift
[26/134] Compiling Lighter SQLDatabaseCreation.swift
[27/134] Compiling Lighter SQLDatabaseTesting.swift
[28/134] Compiling Lighter SQLDatabaseAsyncOperations.swift
[29/134] Compiling Lighter SQLDatabaseChangeOperations.swift
[30/134] Compiling Lighter SQLDatabaseFetchOperations.swift
[31/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/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 {
[42/140] 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 | /**
[43/140] 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 | /**
[44/140] 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 | /**
[45/140] 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 | /**
[46/140] 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 | /**
[47/140] 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 | /**
[54/146] 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 {
[55/146] Compiling LighterCodeGenAST TypeComment.swift
[56/146] Compiling LighterCodeGenAST TypeDefinition.swift
[57/146] Compiling LighterCodeGenAST TypeReference.swift
[61/146] 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 {
[62/146] 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 {
[63/146] 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 {
[64/146] Emitting module LighterCodeGenAST
[65/146] Compiling Lighter GeneratedVariadicOperations.swift
[66/146] Compiling Lighter SQLDatabaseAsyncChangeOperations.swift
[67/146] Compiling Lighter SQLDatabaseAsyncFetchOperations.swift
[68/146] Compiling Lighter SQLBuilder.swift
[69/146] Compiling Lighter SQLExpression.swift
[70/146] Compiling Lighter SQLInterpolation.swift
[71/147] 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 {
[72/147] 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 {
[74/147] 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 | /**
[75/147] 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 | /**
[76/147] 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 | /**
[77/147] 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 | /**
[78/147] 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 | /**
[79/147] 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 | /**
[80/147] 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 {
/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 | /**
[87/147] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/147] 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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 {
[8/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 {
[9/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/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 {
[11/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)
[12/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 {
[13/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 {
[14/123] Compiling LighterCodeGenAST GenericConstraint.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 LighterCodeGenAST Literal.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 LighterCodeGenAST Statement.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/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 | /**
[18/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 | /**
[19/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 | /**
[20/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 {
[21/129] Compiling Lighter SQLSortOrder.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 | /**
[22/129] Compiling Lighter SQLTruePredicate.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 | /**
[23/129] Compiling Lighter SQLColumn.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 | /**
[24/129] Compiling Lighter SQLEntitySchema.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 | /**
[25/129] Compiling Lighter SQLForeignKeyColumn.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 SQLRecord.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 | /**
BUILD FAILURE 6.1 wasm