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 Lefthook with Swift 5.8 for tvOS using Xcode 14.3.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/checkout/.dependencies -skipPackagePluginValidation -derivedDataPath $PWD/checkout/.derivedData build -scheme Lefthook-Package -destination generic/platform=tvos

Build Log

========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/csjones/lefthook.git
Reference: SWIFT-PLUGIN
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/csjones/lefthook
 * branch            SWIFT-PLUGIN -> FETCH_HEAD
 * [new branch]      SWIFT-PLUGIN -> origin/SWIFT-PLUGIN
HEAD is now at c4363aa Merge branch 'evilmartians:master' into SWIFT-PLUGIN
Cloned https://github.com/csjones/lefthook.git
Revision (git rev-parse @):
c4363aa9a4f0a29041138689866b53b1fd599c12
SUCCESS checkout https://github.com/csjones/lefthook.git at SWIFT-PLUGIN
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/csjones/lefthook.git
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  Lefthook: /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
resolved source packages: Lefthook
2024-01-09 19:01:57.079 xcodebuild[47674:9137596] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Lefthook-Package"
    ]
  }
}
2024-01-09 19:01:59.246 xcodebuild[47748:9137825] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/checkout/.dependencies -skipPackagePluginValidation -derivedDataPath $PWD/checkout/.derivedData build -scheme Lefthook-Package -destination generic/platform=tvos
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme Lefthook-Package -destination generic/platform=tvos
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  Lefthook: /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
Prepare packages
Compile plug-in “Lefthook” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins/Lefthook
[debug]: Using compiler /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 1e8f40fb74703cbf38b43231e4db585b6e0a82a2d85c62dcb3633ad8b26e8df1
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:20:33: error: 'init(filePath:directoryHint:relativeTo:)' is only available in macOS 13.0 or newer
        process.executableURL = URL(filePath: lefthook.path.string)
                                ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:20:33: note: add 'if #available' version check
        process.executableURL = URL(filePath: lefthook.path.string)
                                ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:13:10: note: add @available attribute to enclosing instance method
    func performCommand(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:12:8: note: add @available attribute to enclosing struct
struct LefthookPlugin: CommandPlugin {
       ^
Resolve Package Graph
2024-01-09 19:02:00.136 xcodebuild[47762:9137917] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD INTERRUPTED **
The following build commands failed:
	Compile plug-in “Lefthook” in package “spi-builder-workspace”
	eyJ0eXBlIjp7ImJsdWVwcmludFByb3ZpZGVyIjp7fX0sImJsdWVwcmludFByb3ZpZGVyX3Byb3ZpZGVyRmlsZVBhdGhTdHJpbmciOiJcL1VzZXJzXC9hZG1pblwvYnVpbGRzXC92TWQ3dXF6S1wvMFwvZmluZXN0cnVjdHVyZVwvc3dpZnRwYWNrYWdlaW5kZXgtYnVpbGRlclwvc3BpLWJ1aWxkZXItd29ya3NwYWNlIn0=
(2 failures)
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme Lefthook-Package -destination generic/platform=tvos
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  Lefthook: /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
Prepare packages
Compile plug-in “Lefthook” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins/Lefthook
[debug]: Using compiler /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 1e8f40fb74703cbf38b43231e4db585b6e0a82a2d85c62dcb3633ad8b26e8df1
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:20:33: error: 'init(filePath:directoryHint:relativeTo:)' is only available in macOS 13.0 or newer
        process.executableURL = URL(filePath: lefthook.path.string)
                                ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:20:33: note: add 'if #available' version check
        process.executableURL = URL(filePath: lefthook.path.string)
                                ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:13:10: note: add @available attribute to enclosing instance method
    func performCommand(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/packaging/swift/plugin/Lefthook.swift:12:8: note: add @available attribute to enclosing struct
struct LefthookPlugin: CommandPlugin {
       ^
2024-01-09 19:02:02.139 xcodebuild[47786:9138075] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD INTERRUPTED **
The following build commands failed:
	Compile plug-in “Lefthook” in package “spi-builder-workspace”
	eyJ0eXBlIjp7ImJsdWVwcmludFByb3ZpZGVyIjp7fX0sImJsdWVwcmludFByb3ZpZGVyX3Byb3ZpZGVyRmlsZVBhdGhTdHJpbmciOiJcL1VzZXJzXC9hZG1pblwvYnVpbGRzXC92TWQ3dXF6S1wvMFwvZmluZXN0cnVjdHVyZVwvc3dpZnRwYWNrYWdlaW5kZXgtYnVpbGRlclwvc3BpLWJ1aWxkZXItd29ya3NwYWNlIn0=
(2 failures)
BUILD FAILURE 5.8 tvOS