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 (beta) for macOS (SPM) on 15 Sep 2024 04:46:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.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
========================================
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.0.0-Release.Candidate.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-117DEE11B69C53C9.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Select.swift
[6/30] Compiling PerfectCRUD Table.swift
[7/30] Compiling PerfectCRUD InInts.swift
[8/30] Compiling PerfectCRUD Like.swift
[9/30] Compiling PerfectCRUD Logical.swift
[10/30] Compiling PerfectCRUD Update.swift
[11/30] Compiling PerfectCRUD Where.swift
[12/30] Compiling PerfectCRUD Insert.swift
[13/30] Compiling PerfectCRUD Join.swift
[14/30] Compiling PerfectCRUD Coding.swift
[15/30] Compiling PerfectCRUD CodingBindings.swift
[16/30] Compiling PerfectCRUD CodingJoins.swift
[17/30] Compiling PerfectCRUD EqualityInts.swift
[18/30] Compiling PerfectCRUD Expression.swift
[19/30] Compiling PerfectCRUD In.swift
[20/30] Compiling PerfectCRUD Create.swift
[21/30] Compiling PerfectCRUD Database.swift
[22/30] Compiling PerfectCRUD Delete.swift
[23/30] Compiling PerfectCRUD Comparison.swift
[24/30] Compiling PerfectCRUD ComparisonInts.swift
[25/30] Compiling PerfectCRUD Equality.swift
[26/30] Compiling PerfectCRUD CodingKeyPaths.swift
[27/30] Compiling PerfectCRUD CodingNames.swift
[28/30] Compiling PerfectCRUD CodingRows.swift
[29/30] Compiling PerfectCRUD Logging.swift
[30/30] Compiling PerfectCRUD PerfectCRUD.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 |
Fetching https://github.com/richardpiazza/Perfect-CRUD
[11/1079] Fetching perfect-crud
Fetched https://github.com/richardpiazza/Perfect-CRUD from cache (0.88s)
Computing version for https://github.com/richardpiazza/Perfect-CRUD
Computed https://github.com/richardpiazza/Perfect-CRUD at 2.1.0 (0.67s)
Creating working copy for https://github.com/richardpiazza/Perfect-CRUD
Working copy of https://github.com/richardpiazza/Perfect-CRUD resolved at 2.1.0
BUILD FAILURE 6.0 macosSpm