The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectSQLite, reference 5.0.0 (43c0e1), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 18:44:47 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-sqlite.git
Reference: 5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-sqlite
 * tag               5.0.0      -> FETCH_HEAD
HEAD is now at 43c0e16 spacing
Cloned https://github.com/perfectlysoft/perfect-sqlite.git
Revision (git rev-parse @):
43c0e16cfce1dada7914d8334e43ffa887e66f8e
SUCCESS checkout https://github.com/perfectlysoft/perfect-sqlite.git at 5.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-sqlite.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Update.swift
[6/30] Compiling PerfectCRUD Where.swift
[7/30] Compiling PerfectCRUD Coding.swift
[8/30] Compiling PerfectCRUD CodingBindings.swift
[9/30] Compiling PerfectCRUD CodingJoins.swift
[10/30] Compiling PerfectCRUD Comparison.swift
[11/30] Compiling PerfectCRUD ComparisonInts.swift
[12/30] Compiling PerfectCRUD Equality.swift
[13/30] Compiling PerfectCRUD EqualityInts.swift
[14/30] Compiling PerfectCRUD Expression.swift
[15/30] Compiling PerfectCRUD In.swift
[16/30] Compiling PerfectCRUD InInts.swift
[17/30] Compiling PerfectCRUD Like.swift
[18/30] Compiling PerfectCRUD Logical.swift
[19/30] Compiling PerfectCRUD Insert.swift
[20/30] Compiling PerfectCRUD Join.swift
[21/30] Compiling PerfectCRUD Select.swift
[22/30] Compiling PerfectCRUD Table.swift
[23/30] Compiling PerfectCRUD CodingKeyPaths.swift
[24/30] Compiling PerfectCRUD CodingNames.swift
[25/30] Compiling PerfectCRUD CodingRows.swift
[26/30] Compiling PerfectCRUD Logging.swift
[27/30] Compiling PerfectCRUD PerfectCRUD.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 |
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[12/1193] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.88s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (1.39s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 2.0.0
BUILD FAILURE 6.2 macosSpm