Build Information
Failed to build PerfectSQLite, reference main (3740d1
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 04:10:59 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/Perfect-SQLite
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
Fetching https://github.com/richardpiazza/Perfect-CRUD
[1/1079] Fetching perfect-crud
Fetched https://github.com/richardpiazza/Perfect-CRUD from cache (0.87s)
Computing version for https://github.com/richardpiazza/Perfect-CRUD
Computed https://github.com/richardpiazza/Perfect-CRUD at 2.1.0 (0.68s)
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.85s)
Fetching https://github.com/richardpiazza/Perfect-CRUD from cache
Fetched https://github.com/richardpiazza/Perfect-CRUD from cache (0.50s)
Computing version for https://github.com/richardpiazza/Perfect-CRUD
Computed https://github.com/richardpiazza/Perfect-CRUD at 2.1.0 (0.03s)
Creating working copy for https://github.com/richardpiazza/Perfect-SQLite.git
Working copy of https://github.com/richardpiazza/Perfect-SQLite.git resolved at main (3740d1e)
Creating working copy for https://github.com/richardpiazza/Perfect-CRUD
Working copy of https://github.com/richardpiazza/Perfect-CRUD resolved at 2.1.0
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 Select.swift
[8/30] Compiling PerfectCRUD Table.swift
[9/30] Compiling PerfectCRUD Coding.swift
[10/30] Compiling PerfectCRUD CodingBindings.swift
[11/30] Compiling PerfectCRUD CodingJoins.swift
[12/30] Compiling PerfectCRUD Logging.swift
[13/30] Compiling PerfectCRUD PerfectCRUD.swift
[14/30] Compiling PerfectCRUD Create.swift
[15/30] Compiling PerfectCRUD Database.swift
[16/30] Compiling PerfectCRUD Delete.swift
[17/30] Compiling PerfectCRUD Comparison.swift
[18/30] Compiling PerfectCRUD ComparisonInts.swift
[19/30] Compiling PerfectCRUD Equality.swift
[20/30] Compiling PerfectCRUD Insert.swift
[21/30] Compiling PerfectCRUD Join.swift
[22/30] Compiling PerfectCRUD EqualityInts.swift
[23/30] Compiling PerfectCRUD Expression.swift
[24/30] Compiling PerfectCRUD In.swift
[25/30] Compiling PerfectCRUD InInts.swift
[26/30] Compiling PerfectCRUD Like.swift
[27/30] Compiling PerfectCRUD Logical.swift
[28/30] Compiling PerfectCRUD CodingKeyPaths.swift
[29/30] Compiling PerfectCRUD CodingNames.swift
[30/30] Compiling PerfectCRUD CodingRows.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