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

Successful build of lefthook, reference main (0b711f), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 23:39:35 UTC.

Swift 6 data race errors: 0

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/csjones/lefthook-plugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/csjones/lefthook-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0b711f3 Updating lefthook to 1.8.2
Cloned https://github.com/csjones/lefthook-plugin.git
Revision (git rev-parse @):
0b711f309f8f9f67d64459df339d2cc466f0f887
SUCCESS checkout https://github.com/csjones/lefthook-plugin.git at main
[32750/24405335] Downloading https://github.com/csjones/lefthook-plugin/releases/download/1.8.2/lefthook.artifactbundle.zip
Downloading binary artifact https://github.com/csjones/lefthook-plugin/releases/download/1.8.2/lefthook.artifactbundle.zip
Downloaded https://github.com/csjones/lefthook-plugin/releases/download/1.8.2/lefthook.artifactbundle.zip (2.17s)
========================================
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": "lefthook-plugin",
      "name": "lefthook",
      "url": "https://github.com/csjones/lefthook-plugin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lefthook-plugin",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/csjones/lefthook-plugin.git
[1/264] Fetching lefthook-plugin
Fetched https://github.com/csjones/lefthook-plugin.git from cache (0.66s)
Creating working copy for https://github.com/csjones/lefthook-plugin.git
Working copy of https://github.com/csjones/lefthook-plugin.git resolved at main (0b711f3)
Fetching binary artifact https://github.com/csjones/lefthook-plugin/releases/download/1.8.2/lefthook.artifactbundle.zip from cache
Fetched https://github.com/csjones/lefthook-plugin/releases/download/1.8.2/lefthook.artifactbundle.zip from cache (1.04s)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/csjones/lefthook-plugin.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
[1/1] Compiling plugin ArtifactExpander
[2/2] Compiling plugin LefthookPlugin
Building for debugging...
[2/8] Write sources
[3/8] Write lefthook-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/13] Compiling LefthookExecutable main.swift
[7/13] Compiling LefthookExecutable FileSystem.swift
[8/13] Compiling LefthookExecutable ArtifactParser.swift
[9/13] Emitting module LefthookExecutable
[10/13] Compiling LefthookExecutable OS.swift
[10/13] Write Objects.LinkFileList
[11/13] Linking lefthook
[12/13] Applying lefthook
Build complete! (11.52s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "lefthook",
  "name" : "lefthook",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "lefthook",
      "targets" : [
        "LefthookExecutable"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "LefthookPlugin",
      "targets" : [
        "LefthookPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "lefthook",
      "module_type" : "BinaryTarget",
      "name" : "lefthook",
      "path" : "remote/archive/lefthook.artifactbundle.zip",
      "product_memberships" : [
        "lefthook",
        "LefthookPlugin"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LefthookPlugin",
      "module_type" : "PluginTarget",
      "name" : "LefthookPlugin",
      "path" : "Plugins/LefthookPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Execute commands defined in lefthook.yml.",
          "type" : "custom",
          "verb" : "lefthook"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "LefthookPlugin"
      ],
      "sources" : [
        "LefthookPlugin.swift"
      ],
      "target_dependencies" : [
        "lefthook"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "LefthookExecutable",
      "module_type" : "SwiftTarget",
      "name" : "LefthookExecutable",
      "path" : "Sources/LefthookExecutable",
      "product_memberships" : [
        "lefthook"
      ],
      "sources" : [
        "ArtifactParser.swift",
        "FileSystem.swift",
        "OS.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ArtifactExpander"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ArtifactExpander",
      "module_type" : "PluginTarget",
      "name" : "ArtifactExpander",
      "path" : "Plugins/ArtifactExpander",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "lefthook"
      ],
      "sources" : [
        "ArtifactExpander.swift"
      ],
      "target_dependencies" : [
        "lefthook"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
Done.