The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PerfectSQLite, reference 5.1.1 (3740d1), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 04:11:36 UTC.

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Perfect-SQLite.git
Reference: 5.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/Perfect-SQLite
 * tag               5.1.1      -> FETCH_HEAD
HEAD is now at 3740d1e SQLite System Library (#2)
Cloned https://github.com/richardpiazza/Perfect-SQLite.git
Revision (git rev-parse @):
3740d1ea1e519584c3d665831968c4d7e086edb7
SUCCESS checkout https://github.com/richardpiazza/Perfect-SQLite.git at 5.1.1
Fetching https://github.com/richardpiazza/Perfect-CRUD
[11/1079] Fetching perfect-crud
Fetched https://github.com/richardpiazza/Perfect-CRUD from cache (0.92s)
Computing version for https://github.com/richardpiazza/Perfect-CRUD
Computed https://github.com/richardpiazza/Perfect-CRUD at 2.1.0 (0.60s)
Creating working copy for https://github.com/richardpiazza/Perfect-CRUD
Working copy of https://github.com/richardpiazza/Perfect-CRUD resolved at 2.1.0
========================================
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": "perfect-sqlite",
      "name": "PerfectSQLite",
      "url": "https://github.com/richardpiazza/Perfect-SQLite.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-SQLite",
      "dependencies": [
        {
          "identity": "perfect-crud",
          "name": "PerfectCRUD",
          "url": "https://github.com/richardpiazza/Perfect-CRUD",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/richardpiazza/Perfect-SQLite.git
[1/604] Fetching perfect-sqlite
Fetched https://github.com/richardpiazza/Perfect-SQLite.git from cache (0.84s)
Fetching https://github.com/richardpiazza/Perfect-CRUD from cache
Fetched https://github.com/richardpiazza/Perfect-CRUD from cache (0.45s)
Computing version for https://github.com/richardpiazza/Perfect-CRUD
Computed https://github.com/richardpiazza/Perfect-CRUD at 2.1.0 (0.02s)
Creating working copy for https://github.com/richardpiazza/Perfect-CRUD
Working copy of https://github.com/richardpiazza/Perfect-CRUD resolved at 2.1.0
Creating working copy for https://github.com/richardpiazza/Perfect-SQLite.git
Working copy of https://github.com/richardpiazza/Perfect-SQLite.git resolved at 5.1.1 (3740d1e)
warning: '.resolve-product-dependencies': dependency 'perfect-sqlite' is not used by any target
Found 1 product dependencies
  - PerfectCRUD
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/richardpiazza/Perfect-SQLite.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Update.swift
[6/30] Compiling PerfectCRUD Where.swift
[7/30] Compiling PerfectCRUD Insert.swift
[8/30] Compiling PerfectCRUD Join.swift
[9/30] Compiling PerfectCRUD Coding.swift
[10/30] Compiling PerfectCRUD CodingBindings.swift
[11/30] Compiling PerfectCRUD CodingJoins.swift
[12/30] Compiling PerfectCRUD EqualityInts.swift
[13/30] Compiling PerfectCRUD Expression.swift
[14/30] Compiling PerfectCRUD In.swift
[15/30] Compiling PerfectCRUD Select.swift
[16/30] Compiling PerfectCRUD Table.swift
[17/30] Compiling PerfectCRUD Logging.swift
[18/30] Compiling PerfectCRUD PerfectCRUD.swift
[19/30] Compiling PerfectCRUD InInts.swift
[20/30] Compiling PerfectCRUD Like.swift
[21/30] Compiling PerfectCRUD Logical.swift
[22/30] Compiling PerfectCRUD CodingKeyPaths.swift
[23/30] Compiling PerfectCRUD CodingNames.swift
[24/30] Compiling PerfectCRUD CodingRows.swift
[25/30] Compiling PerfectCRUD Comparison.swift
[26/30] Compiling PerfectCRUD ComparisonInts.swift
[27/30] Compiling PerfectCRUD Equality.swift
[28/30] Compiling PerfectCRUD Create.swift
[29/30] Compiling PerfectCRUD Database.swift
[30/30] Compiling PerfectCRUD Delete.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/33] Emitting module PerfectSQLite
/Users/admin/builder/spi-builder-workspace/Sources/PerfectSQLite/SQLiteCRUD.swift:349:28: error: 'Expression' is ambiguous for type lookup in this context
347 | 		return "\(name) \(typeName)\(addendum)"
348 | 	}
349 | 	func getBinding(for expr: Expression) throws -> String {
    |                            `- error: 'Expression' is ambiguous for type lookup in this context
350 | 		bindings.append(("?", expr))
351 | 		return "?"
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Output>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/PerfectCRUD.swift:10:18: note: found this candidate
  8 | import Foundation
  9 |
 10 | public typealias Expression = CRUDExpression
    |                  `- note: found this candidate
 11 | public typealias Bindings = [(String, Expression)]
 12 |
[32/33] Compiling PerfectSQLite SQLite.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectSQLite/SQLite.swift:230:12: error: cannot find 'timeval' in scope
228 |
229 | 	func miniSleep(millis: Int) {
230 | 		var tv = timeval()
    |            `- error: cannot find 'timeval' in scope
231 | 		tv.tv_sec = millis / 1000
232 | 	#if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectSQLite/SQLite.swift:237:3: error: cannot find 'select' in scope
235 | 		tv.tv_usec = Int32((millis % 1000) * 1000)
236 | 	#endif
237 | 		select(0, nil, nil, nil, &tv)
    |   `- error: cannot find 'select' in scope
238 | 	}
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectSQLite/SQLite.swift:237:13: error: 'nil' requires a contextual type
235 | 		tv.tv_usec = Int32((millis % 1000) * 1000)
236 | 	#endif
237 | 		select(0, nil, nil, nil, &tv)
    |             `- error: 'nil' requires a contextual type
238 | 	}
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectSQLite/SQLite.swift:237:18: error: 'nil' requires a contextual type
235 | 		tv.tv_usec = Int32((millis % 1000) * 1000)
236 | 	#endif
237 | 		select(0, nil, nil, nil, &tv)
    |                  `- error: 'nil' requires a contextual type
238 | 	}
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectSQLite/SQLite.swift:237:23: error: 'nil' requires a contextual type
235 | 		tv.tv_usec = Int32((millis % 1000) * 1000)
236 | 	#endif
237 | 		select(0, nil, nil, nil, &tv)
    |                       `- error: 'nil' requires a contextual type
238 | 	}
239 |
[33/33] Compiling PerfectSQLite SQLiteCRUD.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectSQLite/SQLiteCRUD.swift:349:28: error: 'Expression' is ambiguous for type lookup in this context
347 | 		return "\(name) \(typeName)\(addendum)"
348 | 	}
349 | 	func getBinding(for expr: Expression) throws -> String {
    |                            `- error: 'Expression' is ambiguous for type lookup in this context
350 | 		bindings.append(("?", expr))
351 | 		return "?"
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Output>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/PerfectCRUD.swift:10:18: note: found this candidate
  8 | import Foundation
  9 |
 10 | public typealias Expression = CRUDExpression
    |                  `- note: found this candidate
 11 | public typealias Bindings = [(String, Expression)]
 12 |
BUILD FAILURE 6.0 macosSpm