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 SQLiteExtensionKit, reference 0.0.2 (1e73dd), with Swift 6.1 for Wasm on 24 Oct 2025 16:50:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendylabsinc/sqlite-extension-kit.git
Reference: 0.0.2
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/wendylabsinc/sqlite-extension-kit
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 1e73ddb Merge pull request #7 from wendylabsinc/release-0.0.2
Cloned https://github.com/wendylabsinc/sqlite-extension-kit.git
Revision (git rev-parse @):
1e73ddba73674b4506041b4d761c2d5fc9949aa3
SUCCESS checkout https://github.com/wendylabsinc/sqlite-extension-kit.git at 0.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendylabsinc/sqlite-extension-kit.git
https://github.com/wendylabsinc/sqlite-extension-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "grdb.swift",
      "requirement" : {
        "exact" : [
          "7.8.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/GRDB.swift.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "SQLiteExtensionKit",
  "name" : "SQLiteExtensionKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SQLiteExtensionKit",
      "targets" : [
        "SQLiteExtensionKit"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "ExampleExtensions",
      "targets" : [
        "ExampleExtensions"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "LinuxDockerDemo",
      "targets" : [
        "LinuxDockerDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SQLiteExtensionKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteExtensionKitTests",
      "path" : "Tests/SQLiteExtensionKitTests",
      "sources" : [
        "AggregateFunctionTests.swift",
        "SQLiteValueTests.swift",
        "ScalarFunctionTests.swift",
        "VirtualTableTests.swift"
      ],
      "target_dependencies" : [
        "SQLiteExtensionKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLiteExtensionKit",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteExtensionKit",
      "path" : "Sources/SQLiteExtensionKit",
      "product_memberships" : [
        "SQLiteExtensionKit",
        "ExampleExtensions",
        "LinuxDockerDemo"
      ],
      "sources" : [
        "ExtensionEntryPoint.swift",
        "SQLiteContext.swift",
        "SQLiteExtension.swift",
        "SQLiteExtensionKit.swift",
        "SQLiteValue.swift",
        "VirtualTable.swift",
        "VirtualTableBridge.swift"
      ],
      "target_dependencies" : [
        "CSQLite"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LinuxDockerDemo",
      "module_type" : "SwiftTarget",
      "name" : "LinuxDockerDemo",
      "path" : "Examples/LinuxDockerApp",
      "product_dependencies" : [
        "GRDB"
      ],
      "product_memberships" : [
        "LinuxDockerDemo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SQLiteExtensionKit",
        "ExampleExtensions"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "IntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "IntegrationTests",
      "path" : "Tests/IntegrationTests",
      "sources" : [
        "AdvancedFunctionsTests.swift",
        "DataFunctionsIntegrationTests.swift",
        "MathFunctionsIntegrationTests.swift",
        "StringFunctionsIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "SQLiteExtensionKit",
        "ExampleExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ExampleExtensions",
      "module_type" : "SwiftTarget",
      "name" : "ExampleExtensions",
      "path" : "Sources/ExampleExtensions",
      "product_memberships" : [
        "ExampleExtensions",
        "LinuxDockerDemo"
      ],
      "sources" : [
        "AdvancedFunctions.swift",
        "DataFunctions.swift",
        "KeyValueTable.swift",
        "MathFunctions.swift",
        "StringFunctions.swift",
        "WindowFunctions.swift"
      ],
      "target_dependencies" : [
        "SQLiteExtensionKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSQLite",
      "module_type" : "ClangTarget",
      "name" : "CSQLite",
      "path" : "Sources/CSQLite",
      "product_memberships" : [
        "SQLiteExtensionKit",
        "ExampleExtensions",
        "LinuxDockerDemo"
      ],
      "sources" : [
        "SQLiteVirtualTable.c",
        "sqlite_extension_init.c",
        "sqlite_snapshot_shim.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/groue/GRDB.swift.git
[1/2133] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (0.49s)
[1/113179] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (18.68s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.8.0 (21.18s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.5 (2.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3555] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.25s)
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/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.4.5
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.8.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/22] Write sources
[3/22] Copying PrivacyInfo.xcprivacy
[5/22] Write sources
[7/22] Copying Info.plist
In file included from /host/spi-builder-workspace/Sources/CSQLite/SQLiteVirtualTable.c:1:
/host/spi-builder-workspace/Sources/CSQLite/include/SQLiteVirtualTable.h:4:10: fatal error: 'sqlite3.h' file not found
    4 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/22] Compiling CSQLite SQLiteVirtualTable.c
In file included from /host/spi-builder-workspace/Sources/CSQLite/sqlite_extension_init.c:1:
/host/spi-builder-workspace/Sources/CSQLite/include/sqlite3ext.h:9:10: fatal error: 'sqlite3.h' file not found
    9 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/22] Compiling CSQLite sqlite_extension_init.c
[8/22] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CSQLite/sqlite_snapshot_shim.c:1:
/host/spi-builder-workspace/Sources/CSQLite/include/sqlite3ext.h:9:10: fatal error: 'sqlite3.h' file not found
    9 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
[8/22] Compiling CSQLite sqlite_snapshot_shim.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CSQLite/sqlite_extension_init.c:1:
/host/spi-builder-workspace/Sources/CSQLite/include/sqlite3ext.h:9:10: fatal error: 'sqlite3.h' file not found
    9 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
1 error generated.
[2/16] Compiling CSQLite sqlite_extension_init.c
In file included from /host/spi-builder-workspace/Sources/CSQLite/SQLiteVirtualTable.c:1:
/host/spi-builder-workspace/Sources/CSQLite/include/SQLiteVirtualTable.h:4:10: fatal error: 'sqlite3.h' file not found
    4 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
1 error generated.
[2/16] Compiling CSQLite SQLiteVirtualTable.c
In file included from /host/spi-builder-workspace/Sources/CSQLite/sqlite_snapshot_shim.c:1:
/host/spi-builder-workspace/Sources/CSQLite/include/sqlite3ext.h:9:10: fatal error: 'sqlite3.h' file not found
    9 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
1 error generated.
[2/16] Compiling CSQLite sqlite_snapshot_shim.c
[2/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm