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 Komondor, reference 1.1.4 (dedffe), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 09:50:07 UTC.

Swift 6 data race errors: 2

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/shibapm/komondor.git
Reference: 1.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shibapm/komondor
 * tag               1.1.4      -> FETCH_HEAD
HEAD is now at dedffea Merge pull request #54 from minuscorp/install-desired-hooks
Cloned https://github.com/shibapm/komondor.git
Revision (git rev-parse @):
dedffeaf42a1b52bf072a9dc47afb35000a8b265
SUCCESS checkout https://github.com/shibapm/komondor.git at 1.1.4
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/kareman/SwiftShell
[1/4863] Fetching swiftshell
[196/5792] Fetching swiftshell, swiftytexttable
[252/6372] Fetching swiftshell, swiftytexttable, packageconfig
[451/7758] Fetching swiftshell, swiftytexttable, packageconfig, rocket
[1836/17660] Fetching swiftshell, swiftytexttable, packageconfig, rocket, yams
[3344/33676] Fetching swiftshell, swiftytexttable, packageconfig, rocket, yams, sourcekitten
[22306/174864] Fetching swiftshell, swiftytexttable, packageconfig, rocket, yams, sourcekitten, swiftlint
Fetched https://github.com/jpsim/SourceKitten.git from cache (5.22s)
Fetched https://github.com/f-meloni/Rocket from cache (5.22s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[33178/157462] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint
[33218/158422] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint, shellout
[34938/161242] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint, shellout, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (4.74s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (4.74s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
[35574/157462] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint
[35575/169815] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint, swift-argument-parser
[36564/214794] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint, swift-argument-parser, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (362.33s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (362.33s)
Fetching https://github.com/shibapm/Logger
[84580/157578] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint, logger
Fetched https://github.com/shibapm/Logger from cache (0.96s)
[84831/157462] Fetching swiftshell, swiftytexttable, packageconfig, yams, swiftlint
Fetched https://github.com/kareman/SwiftShell from cache (396.36s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (396.36s)
Fetched https://github.com/jpsim/Yams from cache (396.36s)
Fetched https://github.com/Realm/SwiftLint.git from cache (396.36s)
Computing version for https://github.com/f-meloni/Rocket
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (396.36s)
Computed https://github.com/f-meloni/Rocket at 1.2.1 (3.37s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.44.0 (0.66s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.40.8 (2.57s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.62s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.2 (0.63s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.62s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.62s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.63s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (0.62s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.63s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.63s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.2
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.2.1
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.40.8
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.2.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.0
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.2
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.44.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": "komondor",
      "name": "Komondor",
      "url": "https://github.com/shibapm/komondor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/komondor",
      "dependencies": [
        {
          "identity": "packageconfig",
          "name": "PackageConfig",
          "url": "https://github.com/shibapm/PackageConfig.git",
          "version": "1.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageConfig",
          "dependencies": [
          ]
        },
        {
          "identity": "shellout",
          "name": "ShellOut",
          "url": "https://github.com/JohnSundell/ShellOut.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftformat",
          "name": "SwiftFormat",
          "url": "https://github.com/nicklockwood/SwiftFormat.git",
          "version": "0.54.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFormat",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftlint",
          "name": "SwiftLint",
          "url": "https://github.com/Realm/SwiftLint.git",
          "version": "0.57.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLint",
          "dependencies": [
            {
              "identity": "swift-argument-parser",
              "name": "swift-argument-parser",
              "url": "https://github.com/apple/swift-argument-parser.git",
              "version": "1.5.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/swiftlang/swift-syntax.git",
              "version": "600.0.0-prerelease-2024-08-14",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
              "dependencies": [
              ]
            },
            {
              "identity": "sourcekitten",
              "name": "SourceKitten",
              "url": "https://github.com/jpsim/SourceKitten.git",
              "version": "0.35.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SourceKitten",
              "dependencies": [
                {
                  "identity": "swift-argument-parser",
                  "name": "swift-argument-parser",
                  "url": "https://github.com/apple/swift-argument-parser.git",
                  "version": "1.5.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swxmlhash",
                  "name": "SWXMLHash",
                  "url": "https://github.com/drmohundro/SWXMLHash.git",
                  "version": "7.0.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWXMLHash",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "yams",
                  "name": "Yams",
                  "url": "https://github.com/jpsim/Yams",
                  "version": "5.1.3",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "yams",
              "name": "Yams",
              "url": "https://github.com/jpsim/Yams",
              "version": "5.1.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
              "dependencies": [
              ]
            },
            {
              "identity": "swiftytexttable",
              "name": "SwiftyTextTable",
              "url": "https://github.com/scottrhoyt/SwiftyTextTable.git",
              "version": "0.9.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyTextTable",
              "dependencies": [
              ]
            },
            {
              "identity": "collectionconcurrencykit",
              "name": "CollectionConcurrencyKit",
              "url": "https://github.com/JohnSundell/CollectionConcurrencyKit.git",
              "version": "0.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CollectionConcurrencyKit",
              "dependencies": [
              ]
            },
            {
              "identity": "cryptoswift",
              "name": "CryptoSwift",
              "url": "https://github.com/krzyzanowskim/CryptoSwift.git",
              "version": "1.8.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "rocket",
          "name": "Rocket",
          "url": "https://github.com/f-meloni/Rocket",
          "version": "1.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rocket",
          "dependencies": [
            {
              "identity": "yams",
              "name": "Yams",
              "url": "https://github.com/jpsim/Yams",
              "version": "5.1.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
              "dependencies": [
              ]
            },
            {
              "identity": "logger",
              "name": "Logger",
              "url": "https://github.com/shibapm/Logger",
              "version": "0.2.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Logger",
              "dependencies": [
              ]
            },
            {
              "identity": "swiftshell",
              "name": "SwiftShell",
              "url": "https://github.com/kareman/SwiftShell",
              "version": "5.1.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
              "dependencies": [
              ]
            },
            {
              "identity": "packageconfig",
              "name": "PackageConfig",
              "url": "https://github.com/shibapm/PackageConfig.git",
              "version": "1.1.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageConfig",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/shibapm/komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/komondor.git from cache (1.55s)
Fetching https://github.com/JohnSundell/ShellOut.git from cache
Fetching https://github.com/Realm/SwiftLint.git from cache
Fetching https://github.com/f-meloni/Rocket from cache
Fetching https://github.com/shibapm/PackageConfig.git from cache
Fetching https://github.com/nicklockwood/SwiftFormat.git from cache
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.92s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (0.91s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.06s)
Fetched https://github.com/f-meloni/Rocket from cache (1.19s)
Fetched https://github.com/Realm/SwiftLint.git from cache (1.19s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (0.69s)
Fetching https://github.com/kareman/SwiftShell from cache
Fetching https://github.com/jpsim/Yams from cache
Fetching https://github.com/shibapm/Logger from cache
Fetched https://github.com/kareman/SwiftShell from cache (1.19s)
Fetched https://github.com/shibapm/Logger from cache (1.19s)
Fetched https://github.com/jpsim/Yams from cache (1.19s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.03s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.02s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.02s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.61s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.61s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.57.0 (0.52s)
Fetching https://github.com/jpsim/SourceKitten.git from cache
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git from cache
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (0.85s)
[1/83] Fetching collectionconcurrencykit
[84/12786] Fetching collectionconcurrencykit, cryptoswift
[3641/79185] Fetching collectionconcurrencykit, cryptoswift, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (2.55s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.55s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.55s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.55s)
[9296/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.39s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.64s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.03s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.64s)
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.65s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.64s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.65s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.49s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.54.6 (0.68s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0-prerelease-2024-08-14 (0.74s)
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.57.0
Creating working copy for https://github.com/shibapm/komondor.git
Working copy of https://github.com/shibapm/komondor.git resolved at 1.1.4 (dedffea)
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.35.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.54.6
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.3.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0-prerelease-2024-08-14
[9120/11453398] Downloading https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.57.0/SwiftLintBinary-macos.artifactbundle.zip (1.92s)
Found 5 product dependencies
  - PackageConfig
  - ShellOut
  - SwiftFormat
  - SwiftLint
  - Rocket
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/shibapm/komondor.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/10] Write sources
[3/10] Write komondor-entitlement.plist
[4/10] Write swift-version--7754E27361AE5C74.txt
[6/20] Compiling PackageConfig Writer.swift
[7/20] Compiling PackageConfig PackageConfiguration.swift
[8/20] Compiling PackageConfig Error.swift
[9/20] Compiling PackageConfig Package.swift
[10/20] Compiling PackageConfig Loader.swift
[11/20] Compiling PackageConfig PackageConfig.swift
[12/20] Compiling ShellOut ShellOut.swift
[13/20] Compiling PackageConfig DynamicLibraries.swift
[14/20] Emitting module PackageConfig
[15/20] Emitting module ShellOut
[15/20] Write Objects.LinkFileList
[16/20] Linking libPackageConfig.dylib
[18/29] Compiling Komondor main.swift
[19/29] Compiling Komondor Logger.swift
[20/29] Compiling Komondor Edited.swift
[21/29] Compiling Komondor renderScriptHeader.swift
[22/29] Compiling Komondor uninstall.swift
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:28:12: warning: let 'hookList' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// The available hooks for git
  5 | ///
  6 | public enum Hooks: String, CaseIterable {
    |             `- note: consider making enum 'Hooks' conform to the 'Sendable' protocol
  7 |     case applyPatchMsg = "applypatch-msg"
  8 |     case preApplyPatch = "pre-applypatch"
    :
 26 | }
 27 |
 28 | public let hookList: [Hooks] = [
    |            |- warning: let 'hookList' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'hookList' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     .applyPatchMsg,
 30 |     .preApplyPatch,
[23/29] Compiling Komondor renderScript.swift
[24/29] Compiling Komondor install.swift
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:28:12: warning: let 'hookList' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// The available hooks for git
  5 | ///
  6 | public enum Hooks: String, CaseIterable {
    |             `- note: consider making enum 'Hooks' conform to the 'Sendable' protocol
  7 |     case applyPatchMsg = "applypatch-msg"
  8 |     case preApplyPatch = "pre-applypatch"
    :
 26 | }
 27 |
 28 | public let hookList: [Hooks] = [
    |            |- warning: let 'hookList' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'hookList' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     .applyPatchMsg,
 30 |     .preApplyPatch,
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:48:5: warning: let 'skippableHooks' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// The available hooks for git
  5 | ///
  6 | public enum Hooks: String, CaseIterable {
    |             `- note: consider making enum 'Hooks' conform to the 'Sendable' protocol
  7 |     case applyPatchMsg = "applypatch-msg"
  8 |     case preApplyPatch = "pre-applypatch"
    :
 46 | ]
 47 |
 48 | let skippableHooks: [Hooks] = [
    |     |- warning: let 'skippableHooks' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'skippableHooks' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     .commitMsg,
 50 |     .preCommit,
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:59:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 | ]
 54 |
 55 | public func install(hooks: [Hooks] = hookList, logger _: Logger) throws {
    |             `- note: add '@MainActor' to make global function 'install(hooks:logger:)' part of global actor 'MainActor'
 56 |     // Add a skip env var
 57 |     let env = ProcessInfo.processInfo.environment
 58 |     if env["SKIP_KOMONDOR"] != nil {
 59 |         logger.logInfo("Skipping Komondor integration due to SKIP_KOMONDOR being set")
    |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 60 |         return
 61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:65:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 | ]
 54 |
 55 | public func install(hooks: [Hooks] = hookList, logger _: Logger) throws {
    |             `- note: add '@MainActor' to make global function 'install(hooks:logger:)' part of global actor 'MainActor'
 56 |     // Add a skip env var
 57 |     let env = ProcessInfo.processInfo.environment
    :
 63 |     // Check for CI
 64 |     if env["CI"] != nil {
 65 |         logger.logInfo("Skipping Komondor integration due to CI being set")
    |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 66 |         return
 67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:73:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 | ]
 54 |
 55 | public func install(hooks: [Hooks] = hookList, logger _: Logger) throws {
    |             `- note: add '@MainActor' to make global function 'install(hooks:logger:)' part of global actor 'MainActor'
 56 |     // Add a skip env var
 57 |     let env = ProcessInfo.processInfo.environment
    :
 71 |         try shellOut(to: "git remote")
 72 |     } catch {
 73 |         logger.logError("[Komondor] Can only install git-hooks into a git repo.")
    |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 74 |         exit(1)
 75 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:81:5: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 | ]
 54 |
 55 | public func install(hooks: [Hooks] = hookList, logger _: Logger) throws {
    |             `- note: add '@MainActor' to make global function 'install(hooks:logger:)' part of global actor 'MainActor'
 56 |     // Add a skip env var
 57 |     let env = ProcessInfo.processInfo.environment
    :
 79 |     // Find the .git root
 80 |     let gitRootString = try shellOut(to: "git rev-parse --git-dir").trimmingCharacters(in: .whitespaces)
 81 |     logger.debug("Found git root at: \(gitRootString)")
    |     `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 82 |
 83 |     // Find or create the hooks dir in the .git folder
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:88:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 | ]
 54 |
 55 | public func install(hooks: [Hooks] = hookList, logger _: Logger) throws {
    |             `- note: add '@MainActor' to make global function 'install(hooks:logger:)' part of global actor 'MainActor'
 56 |     // Add a skip env var
 57 |     let env = ProcessInfo.processInfo.environment
    :
 86 |
 87 |     if !fileManager.fileExists(atPath: hooksRoot.path) {
 88 |         logger.debug("Making the hooks dir")
    |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 89 |         try shellOut(to: .createFolder(named: hooksRoot.path))
 90 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:121:17: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
119 |         if !fileManager.fileExists(atPath: hookPath.path) {
120 |             if fileManager.createFile(atPath: hookPath.path, contents: hook.data(using: .utf8), attributes: execAttribute) {
121 |                 logger.debug("Added the hook: \(hookName)")
    |                 `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
122 |             } else {
123 |                 logger.logError("Could not add the hook: \(hookName)")
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:123:17: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |                 logger.debug("Added the hook: \(hookName)")
122 |             } else {
123 |                 logger.logError("Could not add the hook: \(hookName)")
    |                 `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
124 |             }
125 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:131:17: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 |
130 |             if content.contains(script) {
131 |                 logger.debug("Skipped the hook: \(hookName)")
    |                 `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
132 |             } else {
133 |                 logger.debug("Updating the hook: \(hookName)")
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:133:17: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
131 |                 logger.debug("Skipped the hook: \(hookName)")
132 |             } else {
133 |                 logger.debug("Updating the hook: \(hookName)")
    |                 `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 |                 fileManager.createFile(atPath: hookPath.path, contents: hook.data(using: .utf8), attributes: execAttribute)
135 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
[25/29] Compiling Komondor runner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:14:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 | //
 9 | //
10 | public func runner(logger _: Logger, args: [String]) throws {
   |             `- note: add '@MainActor' to make global function 'runner(logger:args:)' part of global actor 'MainActor'
11 |     let pkgConfig = try PackageConfiguration.load()
12 |
13 |     guard let hook = args.first else {
14 |         logger.logError("[Komondor] The runner was called without a hook")
   |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |         exit(1)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:19:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 | //
 9 | //
10 | public func runner(logger _: Logger, args: [String]) throws {
   |             `- note: add '@MainActor' to make global function 'runner(logger:args:)' part of global actor 'MainActor'
11 |     let pkgConfig = try PackageConfiguration.load()
12 |
   :
17 |
18 |     guard let config = pkgConfig["komondor"] as? [String: Any] else {
19 |         logger.logError("[Komondor] Could not find komondor settings inside the Package.swift")
   |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 |         exit(1)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:31:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 | //
 9 | //
10 | public func runner(logger _: Logger, args: [String]) throws {
   |             `- note: add '@MainActor' to make global function 'runner(logger:args:)' part of global actor 'MainActor'
11 |     let pkgConfig = try PackageConfiguration.load()
12 |
   :
29 |         }
30 |
31 |         logger.debug("Running commands for komondor \(commands.joined())")
   |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |         let stagedFiles = try getStagedFiles()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:48:5: warning: let 'skippableHooks' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// The available hooks for git
  5 | ///
  6 | public enum Hooks: String, CaseIterable {
    |             `- note: consider making enum 'Hooks' conform to the 'Sendable' protocol
  7 |     case applyPatchMsg = "applypatch-msg"
  8 |     case preApplyPatch = "pre-applypatch"
    :
 46 | ]
 47 |
 48 | let skippableHooks: [Hooks] = [
    |     |- warning: let 'skippableHooks' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'skippableHooks' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     .commitMsg,
 50 |     .preCommit,
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:60:9: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 8 | //
 9 | //
10 | public func runner(logger _: Logger, args: [String]) throws {
   |             `- note: add '@MainActor' to make global function 'runner(logger:args:)' part of global actor 'MainActor'
11 |     let pkgConfig = try PackageConfiguration.load()
12 |
   :
58 |         }
59 |     } else {
60 |         logger.logWarning("[Komondor] Could not find a key for '\(hook)' under the komondor settings'")
   |         `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
61 |         exit(0)
62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:68:5: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func getStagedFiles() throws -> [String] {
   |      `- note: add '@MainActor' to make global function 'getStagedFiles()' part of global actor 'MainActor'
66 |     // Find the project root directory
67 |     let projectRootString = try shellOut(to: "git rev-parse --show-toplevel").trimmingCharacters(in: .whitespaces)
68 |     logger.debug("Found project root at: \(projectRootString)")
   |     `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
69 |
70 |     let stagedFilesString = try shellOut(to: "git", arguments: ["diff", "--staged", "--diff-filter=ACM", "--name-only"], at: projectRootString)
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:71:5: warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func getStagedFiles() throws -> [String] {
   |      `- note: add '@MainActor' to make global function 'getStagedFiles()' part of global actor 'MainActor'
66 |     // Find the project root directory
67 |     let projectRootString = try shellOut(to: "git rev-parse --show-toplevel").trimmingCharacters(in: .whitespaces)
   :
69 |
70 |     let stagedFilesString = try shellOut(to: "git", arguments: ["diff", "--staged", "--diff-filter=ACM", "--name-only"], at: projectRootString)
71 |     logger.debug("Found staged files: \(stagedFilesString)")
   |     `- warning: main actor-isolated let 'logger' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
72 |
73 |     return stagedFilesString == "" ? [] : stagedFilesString.components(separatedBy: "\n")
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/main.swift:8:5: note: let declared here
 6 | let isVerbose = CommandLine.arguments.contains("--verbose") || (ProcessInfo.processInfo.environment["DEBUG"] != nil)
 7 | let isSilent = CommandLine.arguments.contains("--silent")
 8 | let logger = Logger(isVerbose: isVerbose, isSilent: isSilent)
   |     `- note: let declared here
 9 | logger.debug("Setting up .git-hooks for Komondor (v\(KomondorVersion))")
10 |
[26/29] Emitting module Komondor
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:28:12: warning: let 'hookList' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// The available hooks for git
  5 | ///
  6 | public enum Hooks: String, CaseIterable {
    |             `- note: consider making enum 'Hooks' conform to the 'Sendable' protocol
  7 |     case applyPatchMsg = "applypatch-msg"
  8 |     case preApplyPatch = "pre-applypatch"
    :
 26 | }
 27 |
 28 | public let hookList: [Hooks] = [
    |            |- warning: let 'hookList' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'hookList' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     .applyPatchMsg,
 30 |     .preApplyPatch,
/Users/admin/builder/spi-builder-workspace/Sources/Komondor/Commands/install.swift:48:5: warning: let 'skippableHooks' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// The available hooks for git
  5 | ///
  6 | public enum Hooks: String, CaseIterable {
    |             `- note: consider making enum 'Hooks' conform to the 'Sendable' protocol
  7 |     case applyPatchMsg = "applypatch-msg"
  8 |     case preApplyPatch = "pre-applypatch"
    :
 46 | ]
 47 |
 48 | let skippableHooks: [Hooks] = [
    |     |- warning: let 'skippableHooks' is not concurrency-safe because non-'Sendable' type '[Hooks]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'skippableHooks' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     .commitMsg,
 50 |     .preCommit,
[26/29] Write Objects.LinkFileList
[27/29] Linking komondor
[28/29] Applying komondor
Build complete! (16.61s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "packageconfig",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shibapm/PackageConfig.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.35.8",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat.git"
    },
    {
      "identity" : "swiftlint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.28.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Realm/SwiftLint.git"
    },
    {
      "identity" : "rocket",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/f-meloni/Rocket"
    }
  ],
  "manifest_display_name" : "Komondor",
  "name" : "Komondor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "komondor",
      "targets" : [
        "Komondor"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Komondor",
      "module_type" : "SwiftTarget",
      "name" : "Komondor",
      "path" : "Sources/Komondor",
      "product_dependencies" : [
        "PackageConfig",
        "ShellOut"
      ],
      "product_memberships" : [
        "komondor"
      ],
      "sources" : [
        "Commands/install.swift",
        "Commands/runner.swift",
        "Commands/uninstall.swift",
        "Installation/renderScript.swift",
        "Installation/renderScriptHeader.swift",
        "Utils/Edited.swift",
        "Utils/Logger.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Done.