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 macOS (SPM).

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/shibapm/komondor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[6/20] Compiling ShellOut ShellOut.swift
[7/20] Emitting module ShellOut
[8/20] Emitting module PackageConfig
[9/20] Compiling PackageConfig DynamicLibraries.swift
[10/20] Compiling PackageConfig Writer.swift
[11/20] Compiling PackageConfig Error.swift
[12/20] Compiling PackageConfig PackageConfig.swift
[13/20] Compiling PackageConfig Loader.swift
[14/20] Compiling PackageConfig PackageConfiguration.swift
[15/20] Compiling PackageConfig Package.swift
[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 renderScriptHeader.swift
[21/29] Compiling Komondor Edited.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 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 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 |     }
/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 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 |     }
/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 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 |
/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 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 |     }
/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 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)
/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 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")
/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] 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] 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 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 |     }
/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 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 |     }
/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 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 |     }
/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 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
/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 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 |     }
/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 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)")
/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 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 {
/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 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)")
/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 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 |             }
/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] Write Objects.LinkFileList
[27/29] Linking komondor
[28/29] Applying komondor
Build complete! (62.56s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/116] Fetching logger
[25/1045] Fetching logger, swiftytexttable
[100/5908] Fetching logger, swiftytexttable, swiftshell
[325/6864] Fetching logger, swiftytexttable, swiftshell, shellout
[1451/16201] Fetching logger, swiftytexttable, swiftshell, shellout, yams
[2304/32165] Fetching logger, swiftytexttable, swiftshell, shellout, yams, sourcekitten
[4187/70590] Fetching logger, swiftytexttable, swiftshell, shellout, yams, sourcekitten, swiftformat
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.90s)
Fetching https://github.com/Realm/SwiftLint.git
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.90s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/jpsim/Yams from cache (2.00s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.00s)
Fetching https://github.com/f-meloni/Rocket
[8822/43404] Fetching logger, swiftshell, swiftformat
[9207/44790] Fetching logger, swiftshell, swiftformat, rocket
[9318/45370] Fetching logger, swiftshell, swiftformat, rocket, packageconfig
[10231/57049] Fetching logger, swiftshell, swiftformat, rocket, packageconfig, swift-argument-parser
Fetched https://github.com/f-meloni/Rocket from cache (0.89s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.89s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/shibapm/Rocket
[9707/55083] Fetching logger, swiftshell, swiftformat, swift-argument-parser
[11028/186845] Fetching logger, swiftshell, swiftformat, swift-argument-parser, swiftlint
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.59s)
[17716/175166] Fetching logger, swiftshell, swiftformat, swiftlint
[20352/176552] Fetching logger, swiftshell, swiftformat, swiftlint, rocket
[22549/179322] Fetching logger, swiftshell, swiftformat, swiftlint, rocket, swxmlhash
Fetched https://github.com/shibapm/Rocket from cache (1.06s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.07s)
[25292/175166] Fetching logger, swiftshell, swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (14.73s)
Fetched https://github.com/shibapm/Logger from cache (14.73s)
Fetched https://github.com/kareman/SwiftShell from cache (14.73s)
[35576/131762] Fetching swiftlint
Fetched https://github.com/Realm/SwiftLint.git from cache (20.09s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.2.1 (0.80s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.44.0 (0.76s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.40.8 (2.35s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (0.73s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.2 (0.70s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.67s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.68s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.70s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.67s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.68s)
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.69s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.68s)
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/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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.2.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/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/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/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
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" : "/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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.