Build Information
Failed to build SQLite.swift, reference 0.16.0 (964c30), with Swift 6.1 for Linux on 8 Mar 2026 20:15:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stephencelis/SQLite.swift.git
Reference: 0.16.0
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/stephencelis/SQLite.swift
* tag 0.16.0 -> FETCH_HEAD
HEAD is now at 964c300 Merge pull request #1353 from stephencelis/prepare-0.16.0
Cloned https://github.com/stephencelis/SQLite.swift.git
Revision (git rev-parse @):
964c300fb0736699ce945c9edb56ecd62eba27a3
SUCCESS checkout https://github.com/stephencelis/SQLite.swift.git at 0.16.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/stephencelis/SQLite.swift.git
https://github.com/stephencelis/SQLite.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "csqlite",
"requirement" : {
"range" : [
{
"lower_bound" : "3.50.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stephencelis/CSQLite"
},
{
"identity" : "sqlcipher.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "4.11.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sqlcipher/SQLCipher.swift"
}
],
"manifest_display_name" : "SQLite.swift",
"name" : "SQLite.swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SQLite",
"targets" : [
"SQLite"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SQLite-Dynamic",
"targets" : [
"SQLite"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SQLiteTests",
"module_type" : "SwiftTarget",
"name" : "SQLiteTests",
"path" : "Tests/SQLiteTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SQLiteTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Core/BlobTests.swift",
"Core/Connection+AttachTests.swift",
"Core/Connection+PragmaTests.swift",
"Core/ConnectionTests.swift",
"Core/CoreFunctionsTests.swift",
"Core/ResultTests.swift",
"Core/StatementTests.swift",
"Core/ValueTests.swift",
"Extensions/CipherTests.swift",
"Extensions/FTS4Tests.swift",
"Extensions/FTS5IntegrationTests.swift",
"Extensions/FTS5Tests.swift",
"Extensions/RTreeTests.swift",
"Fixtures.swift",
"FoundationTests.swift",
"Schema/Connection+SchemaTests.swift",
"Schema/SchemaChangerTests.swift",
"Schema/SchemaDefinitionsTests.swift",
"Schema/SchemaReaderTests.swift",
"Schema/SchemaTests.swift",
"TestHelpers.swift",
"Typed/AggregateFunctionsTests.swift",
"Typed/CustomAggregationTests.swift",
"Typed/CustomFunctionsTests.swift",
"Typed/DateAndTimeFunctionTests.swift",
"Typed/ExpressionTests.swift",
"Typed/OperatorsTests.swift",
"Typed/QueryIntegrationTests.swift",
"Typed/QueryTests.swift",
"Typed/RowTests.swift",
"Typed/SelectTests.swift",
"Typed/SetterTests.swift",
"Typed/WindowFunctionsTests.swift"
],
"target_dependencies" : [
"SQLite"
],
"type" : "test"
},
{
"c99name" : "SQLite",
"module_type" : "SwiftTarget",
"name" : "SQLite",
"path" : "Sources/SQLite",
"product_dependencies" : [
"SQLiteSwiftCSQLite",
"SQLCipher"
],
"product_memberships" : [
"SQLite",
"SQLite-Dynamic"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SQLite/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Core/Backup.swift",
"Core/Blob.swift",
"Core/Connection+Aggregation.swift",
"Core/Connection+Attach.swift",
"Core/Connection+Pragmas.swift",
"Core/Connection.swift",
"Core/Errors.swift",
"Core/Result.swift",
"Core/SQLiteFeature.swift",
"Core/SQLiteVersion.swift",
"Core/Statement.swift",
"Core/URIQueryParameter.swift",
"Core/Value.swift",
"Extensions/Cipher.swift",
"Extensions/FTS4.swift",
"Extensions/FTS5.swift",
"Extensions/RTree.swift",
"Foundation.swift",
"Helpers.swift",
"Schema/Connection+Schema.swift",
"Schema/SchemaChanger.swift",
"Schema/SchemaDefinitions.swift",
"Schema/SchemaReader.swift",
"Typed/AggregateFunctions.swift",
"Typed/Coding.swift",
"Typed/Collation.swift",
"Typed/CoreFunctions.swift",
"Typed/CustomFunctions.swift",
"Typed/DateAndTimeFunctions.swift",
"Typed/Expression.swift",
"Typed/Operators.swift",
"Typed/Query+with.swift",
"Typed/Query.swift",
"Typed/Schema.swift",
"Typed/Setter.swift",
"Typed/WindowFunctions.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/sqlcipher/SQLCipher.swift
Fetching https://github.com/stephencelis/CSQLite
[1/200] Fetching csqlite
[151/310] Fetching csqlite, sqlcipher.swift
Fetched https://github.com/stephencelis/CSQLite from cache (1.43s)
Fetched https://github.com/sqlcipher/SQLCipher.swift from cache (1.44s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.50.4 (2.40s)
Computing version for https://github.com/sqlcipher/SQLCipher.swift
Computed https://github.com/sqlcipher/SQLCipher.swift at 4.13.0 (0.67s)
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.50.4
Creating working copy for https://github.com/sqlcipher/SQLCipher.swift
Working copy of https://github.com/sqlcipher/SQLCipher.swift resolved at 4.13.0
Downloading binary artifact https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.13.0/SQLCipher.xcframework.zip
[936/46908096] Downloading https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.13.0/SQLCipher.xcframework.zip
Downloaded https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.13.0/SQLCipher.xcframework.zip (5.73s)
Building for debugging...
[0/7] Write sources
[0/7] Copying PrivacyInfo.xcprivacy
[2/7] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling SQLiteSwiftCSQLite sqlite3.c
[5/41] Emitting module SQLite
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:708:28: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
24 |
25 | import Foundation
26 | import Dispatch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
27 | #if StandaloneSQLite
28 | import sqlite3
:
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:22:10: warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
20 | ///
21 | /// - statement: the statement which produced the error
22 | case error(message: String, code: Int32, statement: Statement?)
| `- warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
23 |
24 | /// Represents a SQLite specific [extended error code] (https://sqlite.org/rescode.html#primary_result_codes_versus_extended_result_codes)
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:31:10: warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
29 | ///
30 | /// - statement: the statement which produced the error
31 | case extendedError(message: String, extendedCode: Int32, statement: Statement?)
| `- warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
32 |
33 | init?(errorCode: Int32, connection: Connection, statement: Statement? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:108:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | extension Bool: Binding, Value {
107 |
108 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Bool {
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:122:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | extension Int: Number, Value {
121 |
122 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Int {
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:93:23: warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
| |- warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Simple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let Porter = Tokenizer("porter")
95 |
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:94:23: warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
94 | public static let Porter = Tokenizer("porter")
| |- warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Porter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | public static func Unicode61(removeDiacritics: Bool? = nil,
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
[6/45] Compiling SQLite Schema.swift
[7/45] Compiling SQLite Setter.swift
[8/45] Compiling SQLite WindowFunctions.swift
[9/45] Compiling SQLite resource_bundle_accessor.swift
[10/45] Compiling SQLite FTS5.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[11/45] Compiling SQLite RTree.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[12/45] Compiling SQLite Foundation.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[13/45] Compiling SQLite Helpers.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[14/45] Compiling SQLite Connection+Schema.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[15/45] Compiling SQLite Statement.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:108:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | extension Bool: Binding, Value {
107 |
108 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Bool {
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:122:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | extension Int: Number, Value {
121 |
122 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Int {
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:93:23: warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
| |- warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Simple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let Porter = Tokenizer("porter")
95 |
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:94:23: warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
94 | public static let Porter = Tokenizer("porter")
| |- warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Porter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | public static func Unicode61(removeDiacritics: Bool? = nil,
[16/45] Compiling SQLite URIQueryParameter.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:108:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | extension Bool: Binding, Value {
107 |
108 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Bool {
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:122:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | extension Int: Number, Value {
121 |
122 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Int {
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:93:23: warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
| |- warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Simple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let Porter = Tokenizer("porter")
95 |
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:94:23: warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
94 | public static let Porter = Tokenizer("porter")
| |- warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Porter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | public static func Unicode61(removeDiacritics: Bool? = nil,
[17/45] Compiling SQLite Value.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:108:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | extension Bool: Binding, Value {
107 |
108 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Bool {
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:122:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | extension Int: Number, Value {
121 |
122 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Int {
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:93:23: warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
| |- warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Simple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let Porter = Tokenizer("porter")
95 |
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:94:23: warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
94 | public static let Porter = Tokenizer("porter")
| |- warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Porter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | public static func Unicode61(removeDiacritics: Bool? = nil,
[18/45] Compiling SQLite Cipher.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:108:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | extension Bool: Binding, Value {
107 |
108 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Bool {
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:122:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | extension Int: Number, Value {
121 |
122 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Int {
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:93:23: warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
| |- warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Simple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let Porter = Tokenizer("porter")
95 |
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:94:23: warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
94 | public static let Porter = Tokenizer("porter")
| |- warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Porter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | public static func Unicode61(removeDiacritics: Bool? = nil,
[19/45] Compiling SQLite FTS4.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:108:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | extension Bool: Binding, Value {
107 |
108 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Bool {
/host/spi-builder-workspace/Sources/SQLite/Core/Value.swift:122:23: warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | extension Int: Number, Value {
121 |
122 | public static var declaredDatatype = Int64.declaredDatatype
| |- warning: static property 'declaredDatatype' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'declaredDatatype' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'declaredDatatype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public static func fromDatatypeValue(_ datatypeValue: Int64) -> Int {
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:93:23: warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
| |- warning: static property 'Simple' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Simple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let Porter = Tokenizer("porter")
95 |
/host/spi-builder-workspace/Sources/SQLite/Extensions/FTS4.swift:94:23: warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | // swiftlint:disable identifier_name
91 | public struct Tokenizer {
| `- note: consider making struct 'Tokenizer' conform to the 'Sendable' protocol
92 |
93 | public static let Simple = Tokenizer("simple")
94 | public static let Porter = Tokenizer("porter")
| |- warning: static property 'Porter' is not concurrency-safe because non-'Sendable' type 'Tokenizer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Porter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | public static func Unicode61(removeDiacritics: Bool? = nil,
[20/45] Compiling SQLite Backup.swift
[21/45] Compiling SQLite Blob.swift
[22/45] Compiling SQLite Connection+Aggregation.swift
[23/45] Compiling SQLite Connection+Attach.swift
[24/45] Compiling SQLite Connection+Pragmas.swift
[25/45] Compiling SQLite Connection.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:708:28: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
24 |
25 | import Foundation
26 | import Dispatch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
27 | #if StandaloneSQLite
28 | import sqlite3
:
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:22:10: warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
20 | ///
21 | /// - statement: the statement which produced the error
22 | case error(message: String, code: Int32, statement: Statement?)
| `- warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
23 |
24 | /// Represents a SQLite specific [extended error code] (https://sqlite.org/rescode.html#primary_result_codes_versus_extended_result_codes)
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:31:10: warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
29 | ///
30 | /// - statement: the statement which produced the error
31 | case extendedError(message: String, extendedCode: Int32, statement: Statement?)
| `- warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
32 |
33 | init?(errorCode: Int32, connection: Connection, statement: Statement? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
[26/45] Compiling SQLite Errors.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:708:28: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
24 |
25 | import Foundation
26 | import Dispatch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
27 | #if StandaloneSQLite
28 | import sqlite3
:
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:22:10: warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
20 | ///
21 | /// - statement: the statement which produced the error
22 | case error(message: String, code: Int32, statement: Statement?)
| `- warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
23 |
24 | /// Represents a SQLite specific [extended error code] (https://sqlite.org/rescode.html#primary_result_codes_versus_extended_result_codes)
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:31:10: warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
29 | ///
30 | /// - statement: the statement which produced the error
31 | case extendedError(message: String, extendedCode: Int32, statement: Statement?)
| `- warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
32 |
33 | init?(errorCode: Int32, connection: Connection, statement: Statement? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
[27/45] Compiling SQLite Result.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:708:28: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
24 |
25 | import Foundation
26 | import Dispatch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
27 | #if StandaloneSQLite
28 | import sqlite3
:
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:22:10: warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
20 | ///
21 | /// - statement: the statement which produced the error
22 | case error(message: String, code: Int32, statement: Statement?)
| `- warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
23 |
24 | /// Represents a SQLite specific [extended error code] (https://sqlite.org/rescode.html#primary_result_codes_versus_extended_result_codes)
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:31:10: warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
29 | ///
30 | /// - statement: the statement which produced the error
31 | case extendedError(message: String, extendedCode: Int32, statement: Statement?)
| `- warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
32 |
33 | init?(errorCode: Int32, connection: Connection, statement: Statement? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
[28/45] Compiling SQLite SQLiteFeature.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:708:28: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
24 |
25 | import Foundation
26 | import Dispatch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
27 | #if StandaloneSQLite
28 | import sqlite3
:
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:22:10: warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
20 | ///
21 | /// - statement: the statement which produced the error
22 | case error(message: String, code: Int32, statement: Statement?)
| `- warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
23 |
24 | /// Represents a SQLite specific [extended error code] (https://sqlite.org/rescode.html#primary_result_codes_versus_extended_result_codes)
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:31:10: warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
29 | ///
30 | /// - statement: the statement which produced the error
31 | case extendedError(message: String, extendedCode: Int32, statement: Statement?)
| `- warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
32 |
33 | init?(errorCode: Int32, connection: Connection, statement: Statement? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
[29/45] Compiling SQLite SQLiteVersion.swift
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:708:28: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/SQLite/Core/Connection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
24 |
25 | import Foundation
26 | import Dispatch
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
27 | #if StandaloneSQLite
28 | import sqlite3
:
706 | fileprivate var queue = DispatchQueue(label: "SQLite.Database", attributes: [])
707 |
708 | fileprivate static let queueKey = DispatchSpecificKey<Int>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
709 |
710 | fileprivate lazy var queueContext: Int = unsafeBitCast(self, to: Int.self)
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:22:10: warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
20 | ///
21 | /// - statement: the statement which produced the error
22 | case error(message: String, code: Int32, statement: Statement?)
| `- warning: associated value 'error(message:code:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
23 |
24 | /// Represents a SQLite specific [extended error code] (https://sqlite.org/rescode.html#primary_result_codes_versus_extended_result_codes)
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
/host/spi-builder-workspace/Sources/SQLite/Core/Result.swift:31:10: warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
29 | ///
30 | /// - statement: the statement which produced the error
31 | case extendedError(message: String, extendedCode: Int32, statement: Statement?)
| `- warning: associated value 'extendedError(message:extendedCode:statement:)' of 'Sendable'-conforming enum 'Result' has non-sendable type 'Statement'; this is an error in the Swift 6 language mode
32 |
33 | init?(errorCode: Int32, connection: Connection, statement: Statement? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Core/Statement.swift:36:20: note: class 'Statement' does not conform to the 'Sendable' protocol
34 |
35 | /// A single SQL statement.
36 | public final class Statement {
| `- note: class 'Statement' does not conform to the 'Sendable' protocol
37 |
38 | fileprivate var handle: OpaquePointer?
[30/45] Compiling SQLite Expression.swift
[31/45] Compiling SQLite Operators.swift
[32/45] Compiling SQLite Query+with.swift
[33/45] Compiling SQLite Query.swift
[34/45] Compiling SQLite Collation.swift
[35/45] Compiling SQLite CoreFunctions.swift
[36/45] Compiling SQLite CustomFunctions.swift
[37/45] Compiling SQLite DateAndTimeFunctions.swift
[38/45] Compiling SQLite SchemaChanger.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
[39/45] Compiling SQLite SchemaDefinitions.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
[40/45] Compiling SQLite SchemaReader.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
[41/45] Compiling SQLite AggregateFunctions.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
[42/45] Compiling SQLite Coding.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
[43/46] Wrapping AST for SQLite for debugging
[44/46] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SQLiteSwiftCSQLite.build/sqlite3.c.o: requires dynamic R_X86_64_PC32 reloc against 'sqlite3_free' which may overflow at runtime; recompile with -fPIC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[45/46] Linking libSQLite-Dynamic.so
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/38] Compiling SQLite FTS5.swift
[3/38] Compiling SQLite RTree.swift
[4/38] Compiling SQLite Foundation.swift
[5/38] Compiling SQLite Helpers.swift
[6/38] Compiling SQLite Connection+Schema.swift
[7/42] Compiling SQLite Backup.swift
[8/42] Compiling SQLite Blob.swift
[9/42] Compiling SQLite Connection+Aggregation.swift
[10/42] Compiling SQLite Connection+Attach.swift
[11/42] Compiling SQLite Connection+Pragmas.swift
[12/42] Emitting module SQLite
[13/42] Compiling SQLite Connection.swift
[14/42] Compiling SQLite Errors.swift
[15/42] Compiling SQLite Result.swift
[16/42] Compiling SQLite SQLiteFeature.swift
[17/42] Compiling SQLite SQLiteVersion.swift
[18/42] Compiling SQLite Statement.swift
[19/42] Compiling SQLite URIQueryParameter.swift
[20/42] Compiling SQLite Value.swift
[21/42] Compiling SQLite Cipher.swift
[22/42] Compiling SQLite FTS4.swift
[23/42] Compiling SQLite Collation.swift
[24/42] Compiling SQLite CoreFunctions.swift
[25/42] Compiling SQLite CustomFunctions.swift
[26/42] Compiling SQLite DateAndTimeFunctions.swift
[27/42] Compiling SQLite Schema.swift
[28/42] Compiling SQLite Setter.swift
[29/42] Compiling SQLite WindowFunctions.swift
[30/42] Compiling SQLite resource_bundle_accessor.swift
[31/42] Compiling SQLite SchemaChanger.swift
[32/42] Compiling SQLite SchemaDefinitions.swift
[33/42] Compiling SQLite SchemaReader.swift
[34/42] Compiling SQLite AggregateFunctions.swift
[35/42] Compiling SQLite Coding.swift
[36/42] Compiling SQLite Expression.swift
[37/42] Compiling SQLite Operators.swift
[38/42] Compiling SQLite Query+with.swift
[39/42] Compiling SQLite Query.swift
[40/42] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SQLiteSwiftCSQLite.build/sqlite3.c.o: requires dynamic R_X86_64_PC32 reloc against 'sqlite3_free' which may overflow at runtime; recompile with -fPIC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[41/42] Linking libSQLite-Dynamic.so
BUILD FAILURE 6.1 linux