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

Successful build of SQLele, reference master (f1075c), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:23:22 UTC.

Swift 6 data race errors: 1

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: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ahti/SQLele.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ahti/SQLele
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f1075c3 update gitignore
Cloned https://github.com/ahti/SQLele.git
Revision (git rev-parse @):
f1075c3e4e2e5b33040de723668555797508e02c
SUCCESS checkout https://github.com/ahti/SQLele.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sqlele",
      "name": "SQLele",
      "url": "https://github.com/ahti/SQLele.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLele",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ahti/SQLele.git
[1/121] Fetching sqlele
Fetched https://github.com/ahti/SQLele.git from cache (2.08s)
Creating working copy for https://github.com/ahti/SQLele.git
Working copy of https://github.com/ahti/SQLele.git resolved at master (f1075c3)
warning: '.resolve-product-dependencies': dependency 'sqlele' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ahti/SQLele.git
https://github.com/ahti/SQLele.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SQLele",
  "name" : "SQLele",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SQLele",
      "targets" : [
        "SQLele"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SQLeleTests",
      "module_type" : "SwiftTarget",
      "name" : "SQLeleTests",
      "path" : "Tests/SQLeleTests",
      "sources" : [
        "SQLeleTests.swift",
        "TransactionSavepointPerformance.swift"
      ],
      "target_dependencies" : [
        "SQLele"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLele",
      "module_type" : "SwiftTarget",
      "name" : "SQLele",
      "path" : "Sources/SQLele",
      "product_memberships" : [
        "SQLele"
      ],
      "sources" : [
        "Connection.swift",
        "Error.swift",
        "Statement.swift",
        "util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/7] Emitting module SQLele
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Error.swift:14:10: warning: associated value 'typeMismatch(got:)' of 'Sendable'-conforming enum 'SQLeleError' has non-sendable type 'Row.StorageClass'; this is an error in the Swift 6 language mode
12 |     case bindParameterNotFound(name: String)
13 |     case columnNotFound(name: String)
14 |     case typeMismatch(got: Row.StorageClass)
   |          `- warning: associated value 'typeMismatch(got:)' of 'Sendable'-conforming enum 'SQLeleError' has non-sendable type 'Row.StorageClass'; this is an error in the Swift 6 language mode
15 |     case outOfMemory
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Statement.swift:26:17: note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 24 |     }
 25 |
 26 |     public enum StorageClass: Int32 {
    |                 `- note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 27 |         case integer = 1
 28 |         case real = 2
[4/7] Compiling SQLele util.swift
[5/7] Compiling SQLele Connection.swift
[6/7] Compiling SQLele Statement.swift
[7/7] Compiling SQLele Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Error.swift:14:10: warning: associated value 'typeMismatch(got:)' of 'Sendable'-conforming enum 'SQLeleError' has non-sendable type 'Row.StorageClass'; this is an error in the Swift 6 language mode
12 |     case bindParameterNotFound(name: String)
13 |     case columnNotFound(name: String)
14 |     case typeMismatch(got: Row.StorageClass)
   |          `- warning: associated value 'typeMismatch(got:)' of 'Sendable'-conforming enum 'SQLeleError' has non-sendable type 'Row.StorageClass'; this is an error in the Swift 6 language mode
15 |     case outOfMemory
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Statement.swift:26:17: note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 24 |     }
 25 |
 26 |     public enum StorageClass: Int32 {
    |                 `- note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 27 |         case integer = 1
 28 |         case real = 2
Build complete! (4.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SQLele",
  "name" : "SQLele",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SQLele",
      "targets" : [
        "SQLele"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SQLeleTests",
      "module_type" : "SwiftTarget",
      "name" : "SQLeleTests",
      "path" : "Tests/SQLeleTests",
      "sources" : [
        "SQLeleTests.swift",
        "TransactionSavepointPerformance.swift"
      ],
      "target_dependencies" : [
        "SQLele"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLele",
      "module_type" : "SwiftTarget",
      "name" : "SQLele",
      "path" : "Sources/SQLele",
      "product_memberships" : [
        "SQLele"
      ],
      "sources" : [
        "Connection.swift",
        "Error.swift",
        "Statement.swift",
        "util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.