This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Swift 6 data race errors: 2

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shibapm/komondor.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/shibapm/komondor
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3734b0e Merge pull request #56 from leogdion/patch-1
Cloned https://github.com/shibapm/komondor.git
Revision (git rev-parse @):
3734b0e8b62cc9a59c487eb0796905c441bf9c10
SUCCESS checkout https://github.com/shibapm/komondor.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/shibapm/komondor.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/shibapm/PackageConfig.git
[1/1386] Fetching rocket
[1387/2315] Fetching rocket, swiftytexttable
[2316/11652] Fetching rocket, swiftytexttable, yams
[2317/12232] Fetching rocket, swiftytexttable, yams, packageconfig
[3270/12348] Fetching rocket, swiftytexttable, yams, packageconfig, logger
Fetched https://github.com/shibapm/Logger from cache (0.30s)
Fetching https://github.com/JohnSundell/ShellOut.git
[4109/12232] Fetching rocket, swiftytexttable, yams, packageconfig
[9339/13188] Fetching rocket, swiftytexttable, yams, packageconfig, shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.20s)
Fetching https://github.com/apple/swift-argument-parser.git
[9618/12232] Fetching rocket, swiftytexttable, yams, packageconfig
[9619/50657] Fetching rocket, swiftytexttable, yams, packageconfig, swiftformat
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.92s)
Fetching https://github.com/Realm/SwiftLint.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.92s)
Fetching https://github.com/kareman/SwiftShell
Fetched https://github.com/jpsim/Yams from cache (0.96s)
Fetching https://github.com/jpsim/SourceKitten.git
[4846/51490] Fetching rocket, swiftformat, swift-argument-parser
[14190/56353] Fetching rocket, swiftformat, swift-argument-parser, swiftshell
[21772/72317] Fetching rocket, swiftformat, swift-argument-parser, swiftshell, sourcekitten
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[13445/60638] Fetching rocket, swiftformat, swiftshell, sourcekitten
Fetched https://github.com/kareman/SwiftShell from cache (0.41s)
[9380/55775] Fetching rocket, swiftformat, sourcekitten
[17044/187622] Fetching rocket, swiftformat, sourcekitten, swiftlint
[32126/190392] Fetching rocket, swiftformat, sourcekitten, swiftlint, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.61s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.12s)
[17480/171658] Fetching rocket, swiftformat, swiftlint
Fetched https://github.com/f-meloni/Rocket from cache (47.09s)
Fetching https://github.com/shibapm/Rocket
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (47.68s)
[1/1386] Fetching rocket
Fetched https://github.com/shibapm/Rocket from cache (3.05s)
Fetched https://github.com/Realm/SwiftLint.git from cache (49.81s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.2.1 (12.11s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.44.0 (1.49s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12654] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.45s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.40.8 (1.10s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.42s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.2 (0.44s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.45s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.45s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.43s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.43s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.45s)
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.45s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.44s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.44s)
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/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/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.2
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/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.40.8
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.2.1
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.44.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
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/21] Compiling PackageConfig Error.swift
[6/21] Compiling PackageConfig Writer.swift
[7/21] Compiling PackageConfig PackageConfiguration.swift
[8/21] Compiling PackageConfig Loader.swift
[9/21] Emitting module ShellOut
[10/21] Compiling ShellOut ShellOut.swift
[12/22] Compiling PackageConfig Package.swift
[13/22] Compiling PackageConfig PackageConfig.swift
[13/22] Wrapping AST for ShellOut for debugging
[15/22] Emitting module PackageConfig
[16/22] Compiling PackageConfig DynamicLibraries.swift
[17/23] Wrapping AST for PackageConfig for debugging
[18/23] Write Objects.LinkFileList
[19/23] Linking libPackageConfig.so
[21/31] Compiling Komondor renderScript.swift
[22/32] Compiling Komondor Logger.swift
[23/32] Compiling Komondor renderScriptHeader.swift
[24/32] Compiling Komondor Edited.swift
[25/32] Compiling Komondor runner.swift
/host/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:14:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
15 |         exit(1)
16 |     }
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:19:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
20 |         exit(1)
21 |     }
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:31:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
32 |         let stagedFiles = try getStagedFiles()
33 |
/host/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 |
/host/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,
/host/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:60:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
61 |         exit(0)
62 |     }
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:68:5: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated 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)
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/runner.swift:71:5: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
72 |
73 |     return stagedFilesString == "" ? [] : stagedFilesString.components(separatedBy: "\n")
/host/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/32] Compiling Komondor uninstall.swift
/host/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,
[27/32] Compiling Komondor main.swift
[28/32] Emitting module Komondor
/host/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,
/host/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,
[29/32] Compiling Komondor install.swift
/host/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,
/host/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,
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:59:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
 60 |         return
 61 |     }
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:65:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
 66 |         return
 67 |     }
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:73:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
 74 |         exit(1)
 75 |     }
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:81:5: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
 82 |
 83 |     // Find or create the hooks dir in the .git folder
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:88:9: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
 89 |         try shellOut(to: .createFolder(named: hooksRoot.path))
 90 |     }
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:121:17: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
122 |             } else {
123 |                 logger.logError("Could not add the hook: \(hookName)")
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:123:17: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
124 |             }
125 |         } else {
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:131:17: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
132 |             } else {
133 |                 logger.debug("Updating the hook: \(hookName)")
/host/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 |
/host/spi-builder-workspace/Sources/Komondor/Commands/install.swift:133:17: warning: main actor-isolated let 'logger' can not be referenced from a non-isolated 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 non-isolated 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 |             }
/host/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 |
[30/33] Wrapping AST for Komondor for debugging
[31/33] Write Objects.LinkFileList
[32/33] Linking komondor
Build complete! (96.83s)
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/shibapm/Rocket"
    }
  ],
  "manifest_display_name" : "Komondor",
  "name" : "Komondor",
  "path" : "/host/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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.