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 xcman 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/josefdolezal/xcman.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/josefdolezal/xcman
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 41d705e Update readme
Cloned https://github.com/josefdolezal/xcman.git
Revision (git rev-parse @):
41d705efb2d35c73c156363a6b1b1666193b4086
SUCCESS checkout https://github.com/josefdolezal/xcman.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/josefdolezal/xcman.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/8] Write sources
[3/8] Write xcman-entitlement.plist
[4/8] Write swift-version-6F35C1178C84523A.txt
[6/25] Compiling Commander CommandType.swift
[7/25] Compiling Commander Command.swift
[8/25] Compiling Commander Commands.swift
[9/25] Compiling Commander CommandRunner.swift
[10/25] Compiling Commander ArgumentParser.swift
[11/25] Compiling Commander Error.swift
[12/25] Compiling Commander Group.swift
[13/25] Emitting module Commander
[14/25] Compiling Commander ArgumentConvertible.swift
[15/25] Compiling Commander ArgumentDescription.swift
[16/25] Compiling XCManLib Process+Commands.swift
[17/25] Compiling XCManLib GitRepository.swift
[18/25] Compiling XCManLib XCManConfiguration.swift
[19/25] Compiling XCManLib UserDataManager.swift
[20/25] Compiling XCManLib TemplatesManager.swift
[21/25] Compiling XCManLib SnippetsManager.swift
[22/25] Emitting module XCManLib
[23/29] Compiling xcman main.swift
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManTemplatesTool.swift:12:5: warning: let 'templatesCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Commander
11 |
12 | let templatesCommand = Group {
   |     `- warning: let 'templatesCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     // Create shared templates mananger
14 |     let templatesManager = TemplatesManager(cacheUrl: XCManConfiguration.defaultCacheUrl)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManTemplatesTool.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
 8 | import Foundation
 9 | import XCManLib
10 | import Commander
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
11 |
12 | let templatesCommand = Group {
   |     |- note: annotate 'templatesCommand' 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
13 |     // Create shared templates mananger
14 |     let templatesManager = TemplatesManager(cacheUrl: XCManConfiguration.defaultCacheUrl)
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManSnippetsTool.swift:12:5: warning: let 'snippetsCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import XCManLib
11 |
12 | let snippetsCommand = Group {
   |     `- warning: let 'snippetsCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     $0.command("install",
14 |                Flag("use-url", default: false, flag: "u", description: "Interprets repository as generic URL instead of GitHub handle"),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManSnippetsTool.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
 7 |
 8 | import Foundation
 9 | import Commander
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
10 | import XCManLib
11 |
12 | let snippetsCommand = Group {
   |     |- note: annotate 'snippetsCommand' 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
13 |     $0.command("install",
14 |                Flag("use-url", default: false, flag: "u", description: "Interprets repository as generic URL instead of GitHub handle"),
[24/29] Emitting module xcman
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManTemplatesTool.swift:12:5: warning: let 'templatesCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Commander
11 |
12 | let templatesCommand = Group {
   |     `- warning: let 'templatesCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     // Create shared templates mananger
14 |     let templatesManager = TemplatesManager(cacheUrl: XCManConfiguration.defaultCacheUrl)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManTemplatesTool.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
 8 | import Foundation
 9 | import XCManLib
10 | import Commander
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
11 |
12 | let templatesCommand = Group {
   |     |- note: annotate 'templatesCommand' 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
13 |     // Create shared templates mananger
14 |     let templatesManager = TemplatesManager(cacheUrl: XCManConfiguration.defaultCacheUrl)
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManSnippetsTool.swift:12:5: warning: let 'snippetsCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import XCManLib
11 |
12 | let snippetsCommand = Group {
   |     `- warning: let 'snippetsCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     $0.command("install",
14 |                Flag("use-url", default: false, flag: "u", description: "Interprets repository as generic URL instead of GitHub handle"),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManSnippetsTool.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
 7 |
 8 | import Foundation
 9 | import Commander
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
10 | import XCManLib
11 |
12 | let snippetsCommand = Group {
   |     |- note: annotate 'snippetsCommand' 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
13 |     $0.command("install",
14 |                Flag("use-url", default: false, flag: "u", description: "Interprets repository as generic URL instead of GitHub handle"),
[25/29] Compiling xcman XCManSnippetsTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManSnippetsTool.swift:12:5: warning: let 'snippetsCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import XCManLib
11 |
12 | let snippetsCommand = Group {
   |     `- warning: let 'snippetsCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     $0.command("install",
14 |                Flag("use-url", default: false, flag: "u", description: "Interprets repository as generic URL instead of GitHub handle"),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManSnippetsTool.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
 7 |
 8 | import Foundation
 9 | import Commander
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
10 | import XCManLib
11 |
12 | let snippetsCommand = Group {
   |     |- note: annotate 'snippetsCommand' 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
13 |     $0.command("install",
14 |                Flag("use-url", default: false, flag: "u", description: "Interprets repository as generic URL instead of GitHub handle"),
[26/29] Compiling xcman XCManTemplatesTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManTemplatesTool.swift:12:5: warning: let 'templatesCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Commander
11 |
12 | let templatesCommand = Group {
   |     `- warning: let 'templatesCommand' is not concurrency-safe because non-'Sendable' type 'Group' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     // Create shared templates mananger
14 |     let templatesManager = TemplatesManager(cacheUrl: XCManConfiguration.defaultCacheUrl)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/xcman/XCManTemplatesTool.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
 8 | import Foundation
 9 | import XCManLib
10 | import Commander
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Commander'
11 |
12 | let templatesCommand = Group {
   |     |- note: annotate 'templatesCommand' 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
13 |     // Create shared templates mananger
14 |     let templatesManager = TemplatesManager(cacheUrl: XCManConfiguration.defaultCacheUrl)
[26/29] Write Objects.LinkFileList
[27/29] Linking xcman
[28/29] Applying xcman
Build complete! (23.42s)
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
[1/1588] Fetching commander
[33/2609] Fetching commander, spectre
Fetched https://github.com/kylef/Commander.git from cache (1.01s)
Fetched https://github.com/kylef/Spectre.git from cache (1.02s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (0.68s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (0.71s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.8.0
warning: 'spi-builder-workspace': the target name XCManLib has different case on the filesystem and the Package.swift manifest file
Build complete.
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "xcman",
  "name" : "xcman",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "xcman",
      "targets" : [
        "xcman"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XCManLib",
      "targets" : [
        "XCManLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcman",
      "module_type" : "SwiftTarget",
      "name" : "xcman",
      "path" : "Sources/xcman",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "xcman"
      ],
      "sources" : [
        "XCManSnippetsTool.swift",
        "XCManTemplatesTool.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "XCManLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCManLib",
      "module_type" : "SwiftTarget",
      "name" : "XCManLib",
      "path" : "Sources/XCManLib",
      "product_memberships" : [
        "xcman",
        "XCManLib"
      ],
      "sources" : [
        "Extensions/Process+Commands.swift",
        "GitRepository.swift",
        "SnippetsManager.swift",
        "TemplatesManager.swift",
        "UserDataManager.swift",
        "XCManConfiguration.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
warning: 'spi-builder-workspace': the target name XCManLib has different case on the filesystem and the Package.swift manifest file
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.