The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of xcman, reference 0.0.2 (f8414d), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 18:32:15 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josefdolezal/xcman.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/josefdolezal/xcman
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at f8414dd Create remove command for templates
Cloned https://github.com/josefdolezal/xcman.git
Revision (git rev-parse @):
f8414dd0c1f3a39545d1efebbc44677c3d160206
SUCCESS checkout https://github.com/josefdolezal/xcman.git at 0.0.2
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
[1/1588] Fetching commander
[240/2609] Fetching commander, spectre
Fetched https://github.com/kylef/Commander.git from cache (0.92s)
Fetched https://github.com/kylef/Spectre.git from cache (0.92s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (1.54s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (0.60s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "xcman",
      "name": "xcman",
      "url": "https://github.com/josefdolezal/xcman.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xcman",
      "dependencies": [
        {
          "identity": "commander",
          "name": "Commander",
          "url": "https://github.com/kylef/Commander.git",
          "version": "0.9.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/josefdolezal/xcman.git
[1/97] Fetching xcman
Fetched https://github.com/josefdolezal/xcman.git from cache (0.69s)
Fetching https://github.com/kylef/Commander.git from cache
Fetched https://github.com/kylef/Commander.git from cache (0.42s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (1.02s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.11s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/josefdolezal/xcman.git
Working copy of https://github.com/josefdolezal/xcman.git resolved at 0.0.2 (f8414dd)
warning: 'xcman': the target name XCManLib has different case on the filesystem and the Package.swift manifest file
Found 1 product dependencies
  - Commander
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/josefdolezal/xcman.git
https://github.com/josefdolezal/xcman.git
{
  "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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[2/8] Write xcman-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/25] Compiling Commander Group.swift
[7/25] Compiling Commander ArgumentParser.swift
[8/25] Compiling Commander ArgumentConvertible.swift
[9/25] Compiling Commander CommandRunner.swift
[10/25] Compiling Commander Commands.swift
[11/25] Compiling Commander Command.swift
[12/25] Compiling Commander CommandType.swift
[13/25] Compiling Commander Error.swift
[14/25] Emitting module Commander
[15/25] Compiling Commander ArgumentDescription.swift
[16/25] Compiling XCManLib UserDataManager.swift
[17/25] Compiling XCManLib TemplatesManager.swift
[18/25] Compiling XCManLib SnippetsManager.swift
[19/25] Compiling XCManLib XCManConfiguration.swift
[20/25] Compiling XCManLib GitRepository.swift
[21/25] Compiling XCManLib Process+Commands.swift
[22/25] Emitting module XCManLib
[23/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: add '@MainActor' to make let 'snippetsCommand' part of global actor 'MainActor'
   |     `- 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/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: add '@MainActor' to make let 'snippetsCommand' part of global actor 'MainActor'
   |     `- 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"),
/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: add '@MainActor' to make let 'templatesCommand' part of global actor 'MainActor'
   |     `- 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)
[25/29] Compiling xcman main.swift
[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: add '@MainActor' to make let 'templatesCommand' part of global actor 'MainActor'
   |     `- 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! (6.02s)
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.