Build Information
Failed to build Northwind, reference develop (865de0), with Swift 6.2 for Wasm on 21 Jun 2025 08:57:55 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Northwind-swift/NorthwindSQLite.swift.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/Northwind-swift/NorthwindSQLite.swift
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 865de08 GH Actions: No tests needed for generated code :-)
Cloned https://github.com/Northwind-swift/NorthwindSQLite.swift.git
Revision (git rev-parse @):
865de0872e61692a49cd6069cd2df8f9ac04541e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Northwind-swift/NorthwindSQLite.swift.git at develop
========================================
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-1":/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/Lighter-swift/Lighter.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2054] Fetching lighter
[2055/4136] Fetching lighter, swift-docc-plugin
Fetched https://github.com/Lighter-swift/Lighter.git from cache (0.28s)
[313/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.37s)
Computing version for https://github.com/Lighter-swift/Lighter.git
Computed https://github.com/Lighter-swift/Lighter.git at 1.4.10 (0.76s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (2.11s)
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.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.78s)
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
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
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/40] Compiling LighterCodeGenAST GenericConstraint.swift
[7/40] Compiling LighterCodeGenAST Literal.swift
[8/40] Compiling LighterCodeGenAST Statement.swift
[9/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 {
[10/43] Compiling LighterCodeGenAST Expression.swift
[11/43] Compiling LighterCodeGenAST Extension.swift
[12/43] Compiling LighterCodeGenAST FunctionComment.swift
[13/43] Compiling LighterCodeGenAST FunctionDeclaration.swift
[14/43] Compiling LighterCodeGenAST FunctionDefinition.swift
[15/43] Compiling LighterCodeGenAST FunctionParameter.swift
[16/43] Compiling LighterCodeGenAST GenStructures.swift
[17/43] Compiling LighterCodeGenAST GenTypes.swift
[18/43] Compiling LighterCodeGenAST GenUnit.swift
[19/43] Compiling LighterCodeGenAST ReservedWords.swift
[20/43] Compiling LighterCodeGenAST CompilationUnit.swift
[21/43] Compiling LighterCodeGenAST ComputedPropertyDefinition.swift
[22/43] Compiling LighterCodeGenAST TypeComment.swift
[23/43] Compiling LighterCodeGenAST TypeDefinition.swift
[24/43] Compiling LighterCodeGenAST TypeReference.swift
[25/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)
[26/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 {
[27/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 {
[28/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 {
[29/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 {
[30/43] Compiling LighterCodeGenAST CodeGenerator.swift
[31/43] Compiling LighterCodeGenAST GenExpressions.swift
[32/43] Compiling LighterCodeGenAST GenExtensions.swift
[33/43] Emitting module LighterCodeGenAST
[34/43] Compiling LighterCodeGenAST GenFunctions.swift
[35/43] Compiling LighterCodeGenAST GenLiterals.swift
[36/43] Compiling LighterCodeGenAST GenStatements.swift
[38/44] 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 {
[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...
[4/9] Write sources
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
[5/9] Copying northwind.db
[5/9] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm