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.0 for macOS (SPM) on 26 Nov 2024 18:12:50 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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/Spectre.git
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
[192/2609] Fetching commander, spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.96s)
Fetched https://github.com/kylef/Commander.git from cache (0.96s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (0.57s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (0.56s)
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.64s)
Fetching https://github.com/kylef/Commander.git from cache
Fetched https://github.com/kylef/Commander.git from cache (0.47s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.55s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.44s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.47s)
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.0
Building package at path:  $PWD
https://github.com/josefdolezal/xcman.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
[3/8] Write xcman-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/25] Compiling Commander Commands.swift
[7/25] Compiling Commander ArgumentParser.swift
[8/25] Compiling Commander CommandRunner.swift
[9/25] Emitting module Commander
[10/25] Compiling Commander ArgumentConvertible.swift
[11/25] Compiling Commander ArgumentDescription.swift
[12/25] Compiling Commander Group.swift
[13/25] Compiling Commander Command.swift
[14/25] Compiling Commander CommandType.swift
[15/25] Compiling Commander Error.swift
[16/25] Compiling XCManLib XCManConfiguration.swift
[17/25] Compiling XCManLib SnippetsManager.swift
[18/25] Compiling XCManLib UserDataManager.swift
[19/25] Compiling XCManLib Process+Commands.swift
[20/25] Compiling XCManLib TemplatesManager.swift
[21/25] Compiling XCManLib GitRepository.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! (17.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.