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 0.0.1 (704bf3), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 07:13:06 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ahti/SQLele.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ahti/SQLele
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 704bf3a minor fixes
Cloned https://github.com/ahti/SQLele.git
Revision (git rev-parse @):
704bf3a6a63fd8547985e0fc757abb949c821f93
SUCCESS checkout https://github.com/ahti/SQLele.git at 0.0.1
========================================
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 (0.67s)
Creating working copy for https://github.com/ahti/SQLele.git
Working copy of https://github.com/ahti/SQLele.git resolved at 0.0.1 (704bf3a)
warning: '.resolve-product-dependencies': dependency 'sqlele' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ahti/SQLele.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/7] Compiling SQLele Connection.swift
[4/7] Compiling SQLele util.swift
[5/7] Compiling SQLele Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Error.swift:10: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
 8 |     case bindParameterNotFound(name: String)
 9 |     case columnNotFound(name: String)
10 |     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
11 |     case outOfMemory
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Statement.swift:21:17: note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 19 |     }
 20 |
 21 |     public enum StorageClass: Int32 {
    |                 `- note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 22 |         case integer = 1
 23 |         case real = 2
[6/7] Emitting module SQLele
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Error.swift:10: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
 8 |     case bindParameterNotFound(name: String)
 9 |     case columnNotFound(name: String)
10 |     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
11 |     case outOfMemory
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/SQLele/Statement.swift:21:17: note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 19 |     }
 20 |
 21 |     public enum StorageClass: Int32 {
    |                 `- note: consider making enum 'StorageClass' conform to the 'Sendable' protocol
 22 |         case integer = 1
 23 |         case real = 2
[7/7] Compiling SQLele Statement.swift
Build complete! (6.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SQLele",
  "name" : "SQLele",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "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" : "4.0"
}
Done.