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 Northwind, reference 1.2.4 (63339f), with Swift 6.2 for Wasm on 21 Jun 2025 09:10:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-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/Northwind-swift/NorthwindSQLite.swift.git
Reference: 1.2.4
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/Northwind-swift/NorthwindSQLite.swift
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at 63339f1 Merge branch 'develop'
Cloned https://github.com/Northwind-swift/NorthwindSQLite.swift.git
Revision (git rev-parse @):
63339f1fb661995a8ea48c3164cee8fd9503039d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Northwind-swift/NorthwindSQLite.swift.git at 1.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Northwind-swift/NorthwindSQLite.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/Lighter-swift/Lighter.git
[1/2054] Fetching lighter
[2055/4136] Fetching lighter, swift-docc-plugin
Fetched https://github.com/Lighter-swift/Lighter.git from cache (1.03s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.03s)
Computing version for https://github.com/Lighter-swift/Lighter.git
Computed https://github.com/Lighter-swift/Lighter.git at 1.4.10 (2.17s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (2.91s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.19s)
Creating working copy for https://github.com/Lighter-swift/Lighter.git
Working copy of https://github.com/Lighter-swift/Lighter.git resolved at 1.4.10
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/40] Compiling LighterCodeGenAST GenStructures.swift
[7/40] Compiling LighterCodeGenAST GenTypes.swift
[8/40] Compiling LighterCodeGenAST GenUnit.swift
[9/40] Compiling LighterCodeGenAST ReservedWords.swift
[10/40] Compiling LighterCodeGenAST CompilationUnit.swift
[11/40] Compiling LighterCodeGenAST ComputedPropertyDefinition.swift
[12/43] Compiling LighterCodeGenAST Expression.swift
[13/43] Compiling LighterCodeGenAST Extension.swift
[14/43] Compiling LighterCodeGenAST FunctionComment.swift
[15/43] Compiling LighterCodeGenAST FunctionDeclaration.swift
[16/43] Compiling LighterCodeGenAST FunctionDefinition.swift
[17/43] Compiling LighterCodeGenAST FunctionParameter.swift
[18/43] Compiling LighterCodeGenAST GenericConstraint.swift
[19/43] Compiling LighterCodeGenAST Literal.swift
[20/43] Compiling LighterCodeGenAST Statement.swift
[21/43] 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/.build/checkouts/Lighter/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/.build/checkouts/Lighter/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 {
[22/43] 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/.build/checkouts/Lighter/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/.build/checkouts/Lighter/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 {
[23/43] 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/.build/checkouts/Lighter/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/.build/checkouts/Lighter/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)
[24/43] 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/.build/checkouts/Lighter/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/.build/checkouts/Lighter/Sources/SQLite3Schema/CatalogObject.swift:89:8: error: could not build C module 'SQLite3'
 87 | // MARK: - Fetching
 88 |
 89 | import SQLite3
    |        `- error: could not build C module 'SQLite3'
 90 |
 91 | public extension Schema.CatalogObject {
[25/43] 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/.build/checkouts/Lighter/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/.build/checkouts/Lighter/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 {
[26/43] 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/.build/checkouts/Lighter/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/.build/checkouts/Lighter/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 {
[27/43] 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/.build/checkouts/Lighter/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/.build/checkouts/Lighter/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 {
[29/43] Emitting module LighterCodeGenAST
[30/43] Compiling LighterCodeGenAST CodeGenerator.swift
[31/43] Compiling LighterCodeGenAST GenExpressions.swift
[32/43] Compiling LighterCodeGenAST GenExtensions.swift
[33/43] Compiling LighterCodeGenAST GenFunctions.swift
[34/43] Compiling LighterCodeGenAST GenLiterals.swift
[35/43] Compiling LighterCodeGenAST GenStatements.swift
[36/43] Compiling LighterCodeGenAST TypeComment.swift
[37/43] Compiling LighterCodeGenAST TypeDefinition.swift
[38/43] Compiling LighterCodeGenAST TypeReference.swift
[41/44] Wrapping AST for LighterCodeGenAST for debugging
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Generate Code for SQLite
[4/4] Compiling plugin Enlighter
Building for debugging...
error: couldn't build /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Northwind/destination/Enlighter/northwind.swift because of missing inputs: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/sqlite2swift
[4/9] Write sources
[4/9] Copying northwind.db
[4/9] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm