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 master (43c0e1), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 17:11:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-sqlite.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-sqlite
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1193] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.85s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (1.45s)
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
========================================
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/perfectlysoft/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/PerfectlySoft/Perfect-CRUD.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-sqlite.git
[1/611] Fetching perfect-sqlite
Fetched https://github.com/perfectlysoft/perfect-sqlite.git from cache (0.77s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.46s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.52s)
Creating working copy for https://github.com/perfectlysoft/perfect-sqlite.git
Working copy of https://github.com/perfectlysoft/perfect-sqlite.git resolved at master (43c0e16)
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
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.1
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-sqlite.git
https://github.com/perfectlysoft/perfect-sqlite.git
{
  "dependencies" : [
    {
      "identity" : "perfect-crud",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PerfectlySoft/Perfect-CRUD.git"
    }
  ],
  "manifest_display_name" : "PerfectSQLite",
  "name" : "PerfectSQLite",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "PerfectSQLite",
      "targets" : [
        "PerfectSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PerfectSQLiteTests",
      "module_type" : "SwiftTarget",
      "name" : "PerfectSQLiteTests",
      "path" : "Tests/PerfectSQLiteTests",
      "sources" : [
        "PerfectSQLiteTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PerfectSQLite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PerfectSQLite",
      "module_type" : "SwiftTarget",
      "name" : "PerfectSQLite",
      "path" : "Sources/PerfectSQLite",
      "product_dependencies" : [
        "PerfectCRUD"
      ],
      "product_memberships" : [
        "PerfectSQLite"
      ],
      "sources" : [
        "SQLite.swift",
        "SQLiteCRUD.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.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 EqualityInts.swift
[11/30] Compiling PerfectCRUD Expression.swift
[12/30] Compiling PerfectCRUD In.swift
[13/30] Compiling PerfectCRUD InInts.swift
[14/30] Compiling PerfectCRUD Like.swift
[15/30] Compiling PerfectCRUD Logical.swift
[16/30] Compiling PerfectCRUD Comparison.swift
[17/30] Compiling PerfectCRUD ComparisonInts.swift
[18/30] Compiling PerfectCRUD Equality.swift
[19/30] Compiling PerfectCRUD Create.swift
[20/30] Compiling PerfectCRUD Database.swift
[21/30] Compiling PerfectCRUD Delete.swift
[22/30] Compiling PerfectCRUD Logging.swift
[23/30] Compiling PerfectCRUD PerfectCRUD.swift
[24/30] Compiling PerfectCRUD Select.swift
[25/30] Compiling PerfectCRUD Table.swift
[26/30] Compiling PerfectCRUD Insert.swift
[27/30] Compiling PerfectCRUD Join.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 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/26] Emitting module PerfectCRUD
[3/28] Compiling PerfectCRUD Comparison.swift
[4/28] Compiling PerfectCRUD ComparisonInts.swift
[5/28] Compiling PerfectCRUD Equality.swift
[6/28] Compiling PerfectCRUD EqualityInts.swift
[7/28] Compiling PerfectCRUD Expression.swift
[8/28] Compiling PerfectCRUD In.swift
[9/28] Compiling PerfectCRUD Insert.swift
[10/28] Compiling PerfectCRUD Join.swift
[11/28] Compiling PerfectCRUD Update.swift
[12/28] Compiling PerfectCRUD Where.swift
[13/28] Compiling PerfectCRUD InInts.swift
[14/28] Compiling PerfectCRUD Like.swift
[15/28] Compiling PerfectCRUD Logical.swift
[16/28] Compiling PerfectCRUD Create.swift
[17/28] Compiling PerfectCRUD Database.swift
[18/28] Compiling PerfectCRUD Delete.swift
[19/28] Compiling PerfectCRUD Select.swift
[20/28] Compiling PerfectCRUD Table.swift
[21/28] Compiling PerfectCRUD Coding.swift
[22/28] Compiling PerfectCRUD CodingBindings.swift
[23/28] Compiling PerfectCRUD CodingJoins.swift
[24/28] Compiling PerfectCRUD Logging.swift
[25/28] Compiling PerfectCRUD PerfectCRUD.swift
[26/28] Compiling PerfectCRUD CodingKeyPaths.swift
[27/28] Compiling PerfectCRUD CodingNames.swift
[28/28] Compiling PerfectCRUD CodingRows.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/31] 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 |
[30/31] 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 |
[31/31] 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.1 macosSpm