The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SQLiteStore, reference 1.0.1 (a9586d), with Swift 6.1 for macOS (SPM) on 16 Oct 2026 19:12:36 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Aikyuichi/SQLiteStore.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Aikyuichi/SQLiteStore
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a9586da 1.0.1
Cloned https://github.com/Aikyuichi/SQLiteStore.git
Revision (git rev-parse @):
a9586da0b5b54c3df7ea3a31d418d2a5cb41d5c7
SUCCESS checkout https://github.com/Aikyuichi/SQLiteStore.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Aikyuichi/SQLiteStore.git
https://github.com/Aikyuichi/SQLiteStore.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SQLiteStore",
  "name" : "SQLiteStore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SQLiteStore",
      "targets" : [
        "SQLiteStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SQLiteStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteStoreTests",
      "path" : "Tests/SQLiteStoreTests",
      "sources" : [
        "SQLiteStoreTests.swift"
      ],
      "target_dependencies" : [
        "SQLiteStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLiteStore",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteStore",
      "path" : "Sources/SQLiteStore",
      "product_memberships" : [
        "SQLiteStore"
      ],
      "sources" : [
        "Database.swift",
        "DbStore.swift",
        "DbStoreError.swift",
        "DbUpdater.swift",
        "SQLiteError.swift",
        "SQLiteStore.swift",
        "Statement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling SQLiteStore Database.swift
[4/10] Compiling SQLiteStore SQLiteError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SQLiteStore/SQLiteError.swift:15:16: warning: stored property 'code' of 'Sendable'-conforming struct 'SQLiteError' has non-sendable type 'SQLiteCode'; this is an error in the Swift 6 language mode
 13 | /// Describes a SQLite error with its numeric code and the SQL that triggered it.
 14 | public struct SQLiteError: Error, CustomStringConvertible, LocalizedError {
 15 |     public let code: SQLiteCode
    |                `- warning: stored property 'code' of 'Sendable'-conforming struct 'SQLiteError' has non-sendable type 'SQLiteCode'; this is an error in the Swift 6 language mode
 16 |     public let message: String
 17 |     public let query: String?
    :
 35 |
 36 | /// A typed list of SQLite result codes used by `SQLiteError`.
 37 | public enum SQLiteCode: Int {
    |             `- note: consider making enum 'SQLiteCode' conform to the 'Sendable' protocol
 38 |     case SQLITE_OK = 0
 39 |     case SQLITE_ERROR = 1
[5/10] Emitting module SQLiteStore
/Users/admin/builder/spi-builder-workspace/Sources/SQLiteStore/DbStore.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DbStore' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | /// Central registry for database assets and their open instances.
 13 | class DbStore {
    |       `- note: class 'DbStore' does not conform to the 'Sendable' protocol
 14 |     static let shared = DbStore()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DbStore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     private var assets: [String: DbAsset] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SQLiteStore/SQLiteError.swift:15:16: warning: stored property 'code' of 'Sendable'-conforming struct 'SQLiteError' has non-sendable type 'SQLiteCode'; this is an error in the Swift 6 language mode
 13 | /// Describes a SQLite error with its numeric code and the SQL that triggered it.
 14 | public struct SQLiteError: Error, CustomStringConvertible, LocalizedError {
 15 |     public let code: SQLiteCode
    |                `- warning: stored property 'code' of 'Sendable'-conforming struct 'SQLiteError' has non-sendable type 'SQLiteCode'; this is an error in the Swift 6 language mode
 16 |     public let message: String
 17 |     public let query: String?
    :
 35 |
 36 | /// A typed list of SQLite result codes used by `SQLiteError`.
 37 | public enum SQLiteCode: Int {
    |             `- note: consider making enum 'SQLiteCode' conform to the 'Sendable' protocol
 38 |     case SQLITE_OK = 0
 39 |     case SQLITE_ERROR = 1
[6/10] Compiling SQLiteStore DbStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SQLiteStore/DbStore.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DbStore' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | /// Central registry for database assets and their open instances.
 13 | class DbStore {
    |       `- note: class 'DbStore' does not conform to the 'Sendable' protocol
 14 |     static let shared = DbStore()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DbStore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     private var assets: [String: DbAsset] = [:]
[7/10] Compiling SQLiteStore DbUpdater.swift
[8/10] Compiling SQLiteStore SQLiteStore.swift
[9/10] Compiling SQLiteStore Statement.swift
[10/10] Compiling SQLiteStore DbStoreError.swift
Build complete! (5.66s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SQLiteStore",
  "name" : "SQLiteStore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SQLiteStore",
      "targets" : [
        "SQLiteStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SQLiteStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteStoreTests",
      "path" : "Tests/SQLiteStoreTests",
      "sources" : [
        "SQLiteStoreTests.swift"
      ],
      "target_dependencies" : [
        "SQLiteStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLiteStore",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteStore",
      "path" : "Sources/SQLiteStore",
      "product_memberships" : [
        "SQLiteStore"
      ],
      "sources" : [
        "Database.swift",
        "DbStore.swift",
        "DbStoreError.swift",
        "DbUpdater.swift",
        "SQLiteError.swift",
        "SQLiteStore.swift",
        "Statement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.