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 Linux on 15 Sep 2024 04:41:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/richardpiazza/Perfect-SQLite.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/richardpiazza/Perfect-CRUD
[1/1079] Fetching perfect-crud
Fetched https://github.com/richardpiazza/Perfect-CRUD from cache (0.19s)
Computing version for https://github.com/richardpiazza/Perfect-CRUD
Computed https://github.com/richardpiazza/Perfect-CRUD at 2.1.0 (0.47s)
Creating working copy for https://github.com/richardpiazza/Perfect-CRUD
Working copy of https://github.com/richardpiazza/Perfect-CRUD resolved at 2.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Table.swift
[6/30] Compiling PerfectCRUD Update.swift
[7/30] Compiling PerfectCRUD Where.swift
[8/30] Compiling PerfectCRUD Delete.swift
[9/30] Compiling PerfectCRUD Comparison.swift
[10/30] Compiling PerfectCRUD ComparisonInts.swift
[11/30] Compiling PerfectCRUD Logical.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 CodingKeyPaths.swift
[18/30] Compiling PerfectCRUD CodingNames.swift
[19/30] Compiling PerfectCRUD CodingRows.swift
[20/30] Compiling PerfectCRUD Create.swift
[21/30] Compiling PerfectCRUD Database.swift
[22/30] Compiling PerfectCRUD Equality.swift
[23/30] Compiling PerfectCRUD EqualityInts.swift
[24/30] Compiling PerfectCRUD Expression.swift
[25/30] Compiling PerfectCRUD Logging.swift
[26/30] Compiling PerfectCRUD PerfectCRUD.swift
[27/30] Compiling PerfectCRUD Select.swift
[28/30] Compiling PerfectCRUD In.swift
[29/30] Compiling PerfectCRUD InInts.swift
[30/30] Compiling PerfectCRUD Like.swift
[32/34] Compiling PerfectSQLite SQLiteCRUD.swift
/host/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 "?"
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/34] Compiling PerfectSQLite SQLite.swift
[34/34] Emitting module PerfectSQLite
/host/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 "?"
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
BUILD FAILURE 6.0 linux