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 main (0c691f), with Swift 6.0 for Linux on 23 Sep 2024 18:11:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4606859-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] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling CSQLiteVec sqlite-vec.c
[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 0x000055b8e99202b7
1  swift-frontend 0x000055b8e991e00e
2  swift-frontend 0x000055b8e992092a
3  libc.so.6      0x00007fcb2e8ac520
4  libc.so.6      0x00007fcb2e9009fc pthread_kill + 300
5  libc.so.6      0x00007fcb2e8ac476 raise + 22
6  libc.so.6      0x00007fcb2e8927f3 abort + 211
7  libc.so.6      0x00007fcb2e89271b
8  libc.so.6      0x00007fcb2e8a3e96
9  swift-frontend 0x000055b8e3a4d5f8
10 swift-frontend 0x000055b8e3797a92
11 swift-frontend 0x000055b8e3794eaf
12 swift-frontend 0x000055b8e379448d
13 swift-frontend 0x000055b8e37989f8
14 swift-frontend 0x000055b8e39f0e34
15 swift-frontend 0x000055b8e39f0adc
16 swift-frontend 0x000055b8e34973f8
17 swift-frontend 0x000055b8e34986e1
18 swift-frontend 0x000055b8e349b8ec
19 swift-frontend 0x000055b8e3495208
20 swift-frontend 0x000055b8e34951bd
21 swift-frontend 0x000055b8e34d24ba
22 swift-frontend 0x000055b8e34bdfe6
23 swift-frontend 0x000055b8e34953fd
24 swift-frontend 0x000055b8e34bfa31
25 swift-frontend 0x000055b8e2e5c767
26 swift-frontend 0x000055b8e2b2ad53
27 swift-frontend 0x000055b8e2b29d7b
28 swift-frontend 0x000055b8e2b3a905
29 swift-frontend 0x000055b8e2b2d127
30 swift-frontend 0x000055b8e2b2be7a
31 swift-frontend 0x000055b8e28e1fce
32 libc.so.6      0x00007fcb2e893d90
33 libc.so.6      0x00007fcb2e893e40 __libc_start_main + 128
34 swift-frontend 0x000055b8e28e1075
BUILD FAILURE 6.0 linux