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 CommandShell, reference v2.1.5 (63f783), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:11:03 UTC.

Swift 6 data race errors: 1

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/elegantchaos/CommandShell.git
Reference: v2.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/CommandShell
 * tag               v2.1.5     -> FETCH_HEAD
HEAD is now at 63f783a Added better version output, and --about command.
Cloned https://github.com/elegantchaos/CommandShell.git
Revision (git rev-parse @):
63f783a6546fed0723b2eb8b8fa12e27277b0ea2
SUCCESS checkout https://github.com/elegantchaos/CommandShell.git at v2.1.5
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/Matchable.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/152] Fetching semanticversion
[150/2203] Fetching semanticversion, logger
[192/2316] Fetching semanticversion, logger, matchable
[305/2887] Fetching semanticversion, logger, matchable, xctestextensions
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.86s)
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.86s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.86s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (1.48s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.1 (0.58s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.0 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.59s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.58s)
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.9
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
========================================
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": "commandshell",
      "name": "CommandShell",
      "url": "https://github.com/elegantchaos/CommandShell.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CommandShell",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "logger",
          "name": "Logger",
          "url": "https://github.com/elegantchaos/Logger.git",
          "version": "1.8.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Logger",
          "dependencies": [
          ]
        },
        {
          "identity": "semanticversion",
          "name": "SemanticVersion",
          "url": "https://github.com/elegantchaos/SemanticVersion.git",
          "version": "1.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SemanticVersion",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/elegantchaos/CommandShell.git
[1/354] Fetching commandshell
Fetched https://github.com/elegantchaos/CommandShell.git from cache (0.71s)
Fetching https://github.com/elegantchaos/SemanticVersion.git from cache
Fetching https://github.com/elegantchaos/Logger.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/elegantchaos/Logger.git from cache (0.54s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.54s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.54s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (0.60s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.03s)
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/CommandShell.git
Working copy of https://github.com/elegantchaos/CommandShell.git resolved at v2.1.5 (63f783a)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Found 3 product dependencies
  - swift-argument-parser
  - Logger
  - SemanticVersion
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/CommandShell.git
https://github.com/elegantchaos/CommandShell.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "semanticversion",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/SemanticVersion.git"
    },
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "CommandShell",
  "name" : "CommandShell",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CommandShell",
      "targets" : [
        "CommandShell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CommandShellExample",
      "targets" : [
        "CommandShellExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommandShellTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandShellTests",
      "path" : "Tests/CommandShellTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "CommandShellTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CommandShell",
        "CommandShellExample"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommandShellExample",
      "module_type" : "SwiftTarget",
      "name" : "CommandShellExample",
      "path" : "Sources/CommandShellExample",
      "product_dependencies" : [
        "SemanticVersion"
      ],
      "product_memberships" : [
        "CommandShellExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CommandShell"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CommandShell",
      "module_type" : "SwiftTarget",
      "name" : "CommandShell",
      "path" : "Sources/CommandShell",
      "product_dependencies" : [
        "Logger",
        "SemanticVersion",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "CommandShell",
        "CommandShellExample"
      ],
      "sources" : [
        "CommandEngine.swift",
        "CommandShell.swift",
        "CommandShellOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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/11] Write sources
[2/11] Write CommandShellExample-entitlement.plist
[2/11] Write sources
[7/11] Write swift-version-2F0A5646E1D333AE.txt
[9/25] Compiling SemanticVersion SemanticVersion.swift
[10/25] Emitting module SemanticVersion
[11/25] Emitting module ArgumentParserToolInfo
[12/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/60] Emitting module Logger
[14/60] Emitting module ArgumentParser
[15/63] Compiling ArgumentParser Argument.swift
[16/63] Compiling ArgumentParser ArgumentHelp.swift
[17/63] Compiling ArgumentParser CompletionKind.swift
[18/63] Compiling ArgumentParser Errors.swift
[19/63] Compiling ArgumentParser ParsableArgumentsValidation.swift
[20/63] Compiling ArgumentParser ParsableCommand.swift
[21/63] Compiling ArgumentParser ArgumentDecoder.swift
[22/63] Compiling ArgumentParser ArgumentDefinition.swift
[23/63] Compiling ArgumentParser CommandConfiguration.swift
[24/63] Compiling ArgumentParser EnumerableFlag.swift
[25/63] Compiling ArgumentParser ExpressibleByArgument.swift
[26/63] Compiling ArgumentParser ParsableArguments.swift
[27/63] Compiling ArgumentParser Parsed.swift
[28/63] Compiling ArgumentParser ParsedValues.swift
[29/63] Compiling ArgumentParser ParserError.swift
[30/63] Compiling ArgumentParser SplitArguments.swift
[31/63] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/63] Compiling ArgumentParser CompletionsGenerator.swift
[33/63] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/63] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/63] Compiling ArgumentParser ArgumentSet.swift
[36/63] Compiling ArgumentParser CommandParser.swift
[37/63] Compiling ArgumentParser InputOrigin.swift
[38/63] Compiling ArgumentParser Name.swift
[39/63] Compiling ArgumentParser SequenceExtensions.swift
[40/63] Compiling ArgumentParser StringExtensions.swift
[41/63] Compiling ArgumentParser Tree.swift
[42/63] Compiling Logger UserDefaultsManagerSettings.swift
[43/63] Compiling Logger PrintHandler.swift
[44/63] Compiling Logger Channel.swift
[45/63] Compiling Logger NSLogHandler.swift
[46/63] Compiling Logger ManagerSettings.swift
[47/63] Compiling Logger Handler.swift
[48/63] Compiling Logger OSLogHandler.swift
[49/63] Compiling Logger Context.swift
[50/63] Compiling Logger Manager.swift
[51/63] Compiling ArgumentParser MessageInfo.swift
[52/63] Compiling ArgumentParser UsageGenerator.swift
[53/63] Compiling ArgumentParser CollectionExtensions.swift
[54/63] Compiling ArgumentParser Flag.swift
[55/63] Compiling ArgumentParser NameSpecification.swift
[56/63] Compiling ArgumentParser Option.swift
[57/63] Compiling ArgumentParser OptionGroup.swift
[58/63] Compiling ArgumentParser DumpHelpGenerator.swift
[59/63] Compiling ArgumentParser HelpCommand.swift
[60/63] Compiling ArgumentParser HelpGenerator.swift
[61/67] Compiling CommandShell CommandShell.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandShell/CommandShell.swift:13:13: warning: var 'commandShellExplicitInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | /// If set, this is the Info.plist dictionary that will be supplied
12 | /// to the shell. If not set, the shell will attempt to load it as a resource.
13 | private var commandShellExplicitInfo: [String:Any]?
   |             |- warning: var 'commandShellExplicitInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'commandShellExplicitInfo' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'commandShellExplicitInfo' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public struct CommandShell<Engine: CommandEngine>: ParsableCommand {
[62/67] Compiling CommandShell CommandShellOptions.swift
[63/67] Emitting module CommandShell
/Users/admin/builder/spi-builder-workspace/Sources/CommandShell/CommandShell.swift:13:13: warning: var 'commandShellExplicitInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | /// If set, this is the Info.plist dictionary that will be supplied
12 | /// to the shell. If not set, the shell will attempt to load it as a resource.
13 | private var commandShellExplicitInfo: [String:Any]?
   |             |- warning: var 'commandShellExplicitInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'commandShellExplicitInfo' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'commandShellExplicitInfo' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public struct CommandShell<Engine: CommandEngine>: ParsableCommand {
[64/67] Compiling CommandShell CommandEngine.swift
[65/69] Emitting module CommandShellExample
[66/69] Compiling CommandShellExample main.swift
[66/69] Write Objects.LinkFileList
[67/69] Linking CommandShellExample
[68/69] Applying CommandShellExample
Build complete! (7.91s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "semanticversion",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/SemanticVersion.git"
    },
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "CommandShell",
  "name" : "CommandShell",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CommandShell",
      "targets" : [
        "CommandShell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CommandShellExample",
      "targets" : [
        "CommandShellExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommandShellTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandShellTests",
      "path" : "Tests/CommandShellTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "CommandShellTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CommandShell",
        "CommandShellExample"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommandShellExample",
      "module_type" : "SwiftTarget",
      "name" : "CommandShellExample",
      "path" : "Sources/CommandShellExample",
      "product_dependencies" : [
        "SemanticVersion"
      ],
      "product_memberships" : [
        "CommandShellExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CommandShell"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CommandShell",
      "module_type" : "SwiftTarget",
      "name" : "CommandShell",
      "path" : "Sources/CommandShell",
      "product_dependencies" : [
        "Logger",
        "SemanticVersion",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "CommandShell",
        "CommandShellExample"
      ],
      "sources" : [
        "CommandEngine.swift",
        "CommandShell.swift",
        "CommandShellOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.