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 master (41d705), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 18:33:22 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: 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
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[165/2609] Fetching spectre, commander
Fetched https://github.com/kylef/Spectre.git from cache (0.89s)
Fetched https://github.com/kylef/Commander.git from cache (0.89s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (1.47s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (0.54s)
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.68s)
Fetching https://github.com/kylef/Commander.git from cache
Fetched https://github.com/kylef/Commander.git from cache (0.46s)
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.48s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.13s)
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 master (41d705e)
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
[1/8] Write xcman-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/25] Compiling Commander Group.swift
[7/25] Compiling Commander Commands.swift
[8/25] Compiling Commander ArgumentConvertible.swift
[9/25] Compiling Commander CommandRunner.swift
[10/25] Compiling Commander CommandType.swift
[11/25] Compiling Commander Command.swift
[12/25] Compiling Commander ArgumentDescription.swift
[13/25] Compiling Commander ArgumentParser.swift
[14/25] Compiling Commander Error.swift
[15/25] Emitting module Commander
[16/25] Compiling XCManLib TemplatesManager.swift
[17/25] Compiling XCManLib SnippetsManager.swift
[18/25] Compiling XCManLib XCManConfiguration.swift
[19/25] Compiling XCManLib Process+Commands.swift
[20/25] Compiling XCManLib GitRepository.swift
[21/25] Emitting module XCManLib
[22/25] Compiling XCManLib UserDataManager.swift
[23/29] Compiling xcman main.swift
[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 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"),
[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.09s)
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.