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 SQLiteVec, reference 0.0.14 (150424), with Swift 6.1 for Wasm on 20 Nov 2025 09:55:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/jkrukowski/SQLiteVec.git
Reference: 0.0.14
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/jkrukowski/SQLiteVec
 * tag               0.0.14     -> FETCH_HEAD
HEAD is now at 1504246 update SQLite to 3510000
Cloned https://github.com/jkrukowski/SQLiteVec.git
Revision (git rev-parse @):
1504246d0900db950a5065f43fce964bf4adceda
SUCCESS checkout https://github.com/jkrukowski/SQLiteVec.git at 0.0.14
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jkrukowski/SQLiteVec.git
https://github.com/jkrukowski/SQLiteVec.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SQLiteVec",
  "name" : "SQLiteVec",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SQLiteVecCLI",
      "targets" : [
        "SQLiteVecCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SQLiteVec",
      "targets" : [
        "SQLiteVec"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSQLiteVec",
      "targets" : [
        "CSQLiteVec"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SQLiteVecTests",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteVecTests",
      "path" : "Tests/SQLiteVecTests",
      "sources" : [
        "CoreTests.swift",
        "DatabaseTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "SQLiteVec"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLiteVecCLI",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteVecCLI",
      "path" : "Sources/SQLiteVecCLI",
      "product_memberships" : [
        "SQLiteVecCLI"
      ],
      "sources" : [
        "CLI.swift"
      ],
      "target_dependencies" : [
        "SQLiteVec"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SQLiteVec",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteVec",
      "path" : "Sources/SQLiteVec",
      "product_memberships" : [
        "SQLiteVecCLI",
        "SQLiteVec"
      ],
      "sources" : [
        "Core.swift",
        "Database.swift",
        "Models.swift"
      ],
      "target_dependencies" : [
        "CSQLiteVec"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSQLiteVec",
      "module_type" : "ClangTarget",
      "name" : "CSQLiteVec",
      "path" : "Sources/CSQLiteVec",
      "product_memberships" : [
        "SQLiteVecCLI",
        "SQLiteVec",
        "CSQLiteVec"
      ],
      "sources" : [
        "extinit.c",
        "sqlite-vec.c",
        "sqlite3.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/10] Write sources
[2/10] Compiling CSQLiteVec extinit.c
[3/10] Write swift-version-24593BA9C3E375BF.txt
[4/10] Compiling CSQLiteVec sqlite-vec.c
[5/10] Compiling CSQLiteVec sqlite3.c
[7/14] Compiling SQLiteVec Models.swift
error: compile command failed due to signal 6 (use -v to see invocation)
[8/14] Emitting module SQLiteVec
[9/14] Compiling SQLiteVec Database.swift
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: core_vec_init
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/SQLiteVec/Core.swift /host/spi-builder-workspace/Sources/SQLiteVec/Database.swift /host/spi-builder-workspace/Sources/SQLiteVec/Models.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-experimental-feature StrictConcurrency -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CSQLiteVec.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CSQLiteVec/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name SQLiteVec -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1 (swift-6.1-RELEASE)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.swift.o'.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x000055ee418b0808
1  swift-frontend 0x000055ee418ae5ee
2  swift-frontend 0x000055ee418b0ea8
3  libc.so.6      0x00007f2c53e43520
4  libc.so.6      0x00007f2c53e979fc pthread_kill + 300
5  libc.so.6      0x00007f2c53e43476 raise + 22
6  libc.so.6      0x00007f2c53e297f3 abort + 211
7  swift-frontend 0x000055ee3b90f11e
8  swift-frontend 0x000055ee41810149
9  swift-frontend 0x000055ee3de11eec
10 swift-frontend 0x000055ee416d2b25
11 swift-frontend 0x000055ee3ba4df56
12 swift-frontend 0x000055ee3ba4d794
13 swift-frontend 0x000055ee3b678142
14 swift-frontend 0x000055ee3b673c88
15 swift-frontend 0x000055ee3b672997
16 swift-frontend 0x000055ee3b6752ba
17 swift-frontend 0x000055ee3b674713
18 swift-frontend 0x000055ee3b45186a
19 libc.so.6      0x00007f2c53e2ad90
20 libc.so.6      0x00007f2c53e2ae40 __libc_start_main + 128
21 swift-frontend 0x000055ee3b450cc5
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling SQLiteVec Models.swift
[3/9] Emitting module SQLiteVec
[4/9] Compiling SQLiteVec Database.swift
error: compile command failed due to signal 6 (use -v to see invocation)
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: core_vec_init
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/SQLiteVec/Core.swift /host/spi-builder-workspace/Sources/SQLiteVec/Database.swift /host/spi-builder-workspace/Sources/SQLiteVec/Models.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-experimental-feature StrictConcurrency -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CSQLiteVec.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CSQLiteVec/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name SQLiteVec -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1 (swift-6.1-RELEASE)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SQLiteVec.build/Core.swift.o'.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x00005602ecebb808
1  swift-frontend 0x00005602eceb95ee
2  swift-frontend 0x00005602ecebbea8
3  libc.so.6      0x00007f8630a6c520
4  libc.so.6      0x00007f8630ac09fc pthread_kill + 300
5  libc.so.6      0x00007f8630a6c476 raise + 22
6  libc.so.6      0x00007f8630a527f3 abort + 211
7  swift-frontend 0x00005602e6f1a11e
8  swift-frontend 0x00005602ece1b149
9  swift-frontend 0x00005602e941ceec
10 swift-frontend 0x00005602eccddb25
11 swift-frontend 0x00005602e7058f56
12 swift-frontend 0x00005602e7058794
13 swift-frontend 0x00005602e6c83142
14 swift-frontend 0x00005602e6c7ec88
15 swift-frontend 0x00005602e6c7d997
16 swift-frontend 0x00005602e6c802ba
17 swift-frontend 0x00005602e6c7f713
18 swift-frontend 0x00005602e6a5c86a
19 libc.so.6      0x00007f8630a53d90
20 libc.so.6      0x00007f8630a53e40 __libc_start_main + 128
21 swift-frontend 0x00005602e6a5bcc5
BUILD FAILURE 6.1 wasm