The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SQLiteVec, reference 0.0.8 (0c691f), with Swift 6.0 for Linux on 23 Sep 2024 18:10:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/SQLiteVec.git
Reference: 0.0.8
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.8      -> FETCH_HEAD
HEAD is now at 0c691f7 Updated sqlite-vec to 0.1.2
Cloned https://github.com/jkrukowski/SQLiteVec.git
Revision (git rev-parse @):
0c691f7d72517a6d01cc437f41d32117fb43a719
SUCCESS checkout https://github.com/jkrukowski/SQLiteVec.git at 0.0.8
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jkrukowski/SQLiteVec.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/10] Write sources
[2/10] Compiling CSQLiteVec extinit.c
[3/10] Compiling CSQLiteVec sqlite-vec.c
[4/10] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling CSQLiteVec sqlite3.c
[7/14] Emitting module SQLiteVec
[8/14] Compiling SQLiteVec Core.swift
[9/14] Compiling SQLiteVec Models.swift
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/SILOptimizer/Utils/SILIsolationInfo.cpp:880: static swift::SILIsolationInfo swift::SILIsolationInfo::get(swift::SILArgument *): Assertion `functionIsolation.isGlobalActor()' failed.
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 /host/spi-builder-workspace/Sources/SQLiteVec/Core.swift -primary-file /host/spi-builder-workspace/Sources/SQLiteVec/Database.swift /host/spi-builder-workspace/Sources/SQLiteVec/Models.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SQLiteVec.build/Database.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SQLiteVec.build/Database.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-experimental-feature StrictConcurrency -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CSQLiteVec.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CSQLiteVec/include -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SQLiteVec -package-name spi_builder_workspace -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SQLiteVec.build/Database.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 6.0-dev (LLVM c3efe9282719c35, Swift b163fed2b3101e0)
2.	Compiling with effective version 5.10
3.	While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for SQLiteVec)
4.	While running pass #556 SILFunctionTransform "TransferNonSendable" on SILFunction "@$s9SQLiteVec8DatabaseC5query33_E60C96A4918DC122B08C084A98EF592DLLySaySDySSypGGs13OpaquePointerVF6$deferL_yyF".
 for '$defer()' (in module 'SQLiteVec')
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 0x000055ff0ad9a2b7
1  swift-frontend 0x000055ff0ad9800e
2  swift-frontend 0x000055ff0ad9a92a
3  libc.so.6      0x00007f175fb48520
4  libc.so.6      0x00007f175fb9c9fc pthread_kill + 300
5  libc.so.6      0x00007f175fb48476 raise + 22
6  libc.so.6      0x00007f175fb2e7f3 abort + 211
7  libc.so.6      0x00007f175fb2e71b
8  libc.so.6      0x00007f175fb3fe96
9  swift-frontend 0x000055ff04ec75f8
10 swift-frontend 0x000055ff04c11a92
11 swift-frontend 0x000055ff04c0eeaf
12 swift-frontend 0x000055ff04c0e48d
13 swift-frontend 0x000055ff04c129f8
14 swift-frontend 0x000055ff04e6ae34
15 swift-frontend 0x000055ff04e6aadc
16 swift-frontend 0x000055ff049113f8
17 swift-frontend 0x000055ff049126e1
18 swift-frontend 0x000055ff049158ec
19 swift-frontend 0x000055ff0490f208
20 swift-frontend 0x000055ff0490f1bd
21 swift-frontend 0x000055ff0494c4ba
22 swift-frontend 0x000055ff04937fe6
23 swift-frontend 0x000055ff0490f3fd
24 swift-frontend 0x000055ff04939a31
25 swift-frontend 0x000055ff042d6767
26 swift-frontend 0x000055ff03fa4d53
27 swift-frontend 0x000055ff03fa3d7b
28 swift-frontend 0x000055ff03fb4905
29 swift-frontend 0x000055ff03fa7127
30 swift-frontend 0x000055ff03fa5e7a
31 swift-frontend 0x000055ff03d5bfce
32 libc.so.6      0x00007f175fb2fd90
33 libc.so.6      0x00007f175fb2fe40 __libc_start_main + 128
34 swift-frontend 0x000055ff03d5b075
BUILD FAILURE 6.0 linux