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 Linux on 27 Apr 2025 03:05:20 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/CommandShell.git
https://github.com/elegantchaos/CommandShell.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/2051] Fetching logger
[760/2203] Fetching logger, semanticversion
[2204/2774] Fetching logger, semanticversion, xctestextensions
[2461/17724] Fetching logger, semanticversion, xctestextensions, swift-argument-parser
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.82s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.82s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.82s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (1.32s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.48s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.55s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.18s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.70s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
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
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/29] Emitting module Logger
[9/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/30] Emitting module ArgumentParserToolInfo
[11/31] Compiling Logger NSLogHandler.swift
[12/31] Compiling Logger PrintHandler.swift
[13/31] Compiling Logger OSLogHandler.swift
[14/31] Wrapping AST for ArgumentParserToolInfo for debugging
[16/65] Emitting module ArgumentParser
[17/69] Compiling Logger ManagerSettings.swift
[18/69] Compiling ArgumentParser ArgumentSet.swift
[19/69] Compiling ArgumentParser CommandParser.swift
[20/69] Compiling ArgumentParser InputOrigin.swift
[21/69] Compiling ArgumentParser Name.swift
[22/69] Compiling ArgumentParser Parsed.swift
[23/69] Compiling Logger Handler.swift
[24/69] Compiling SemanticVersion SemanticVersion+Comparabl.swift
[25/69] Compiling SemanticVersion SemanticVersion.swift
[26/69] Emitting module SemanticVersion
[27/69] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/69] Compiling ArgumentParser CompletionsGenerator.swift
[29/69] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/69] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/69] Compiling ArgumentParser Argument.swift
[32/70] Compiling Logger Manager.swift
[33/70] Compiling Logger UserDefaultsManagerSettings.swift
[37/71] Wrapping AST for SemanticVersion for debugging
[38/71] Wrapping AST for Logger for debugging
[40/71] Compiling ArgumentParser ParsedValues.swift
[41/71] Compiling ArgumentParser ParserError.swift
[42/71] Compiling ArgumentParser SplitArguments.swift
[43/71] Compiling ArgumentParser DumpHelpGenerator.swift
[44/71] Compiling ArgumentParser HelpCommand.swift
[45/71] Compiling ArgumentParser HelpGenerator.swift
[46/71] Compiling ArgumentParser MessageInfo.swift
[47/71] Compiling ArgumentParser UsageGenerator.swift
[48/71] Compiling ArgumentParser Option.swift
[49/71] Compiling ArgumentParser OptionGroup.swift
[50/71] Compiling ArgumentParser CommandConfiguration.swift
[51/71] Compiling ArgumentParser EnumerableFlag.swift
[52/71] Compiling ArgumentParser ExpressibleByArgument.swift
[53/71] Compiling ArgumentParser ArgumentHelp.swift
[54/71] Compiling ArgumentParser CompletionKind.swift
[55/71] Compiling ArgumentParser Errors.swift
[56/71] Compiling ArgumentParser Flag.swift
[57/71] Compiling ArgumentParser NameSpecification.swift
[58/71] Compiling ArgumentParser ParsableArguments.swift
[59/71] Compiling ArgumentParser ParsableArgumentsValidation.swift
[60/71] Compiling ArgumentParser ParsableCommand.swift
[61/71] Compiling ArgumentParser ArgumentDecoder.swift
[62/71] Compiling ArgumentParser ArgumentDefinition.swift
[63/71] Compiling ArgumentParser CollectionExtensions.swift
[64/71] Compiling ArgumentParser SequenceExtensions.swift
[65/71] Compiling ArgumentParser StringExtensions.swift
[66/71] Compiling ArgumentParser Tree.swift
[67/72] Wrapping AST for ArgumentParser for debugging
[69/76] Compiling CommandShell CommandShellOptions.swift
[70/76] Compiling CommandShell CommandEngine.swift
[71/76] Emitting module CommandShell
/host/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 {
[72/76] Compiling CommandShell CommandShell.swift
/host/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 {
[73/77] Wrapping AST for CommandShell for debugging
[75/79] Compiling CommandShellExample main.swift
[76/79] Emitting module CommandShellExample
[77/80] Wrapping AST for CommandShellExample for debugging
[78/80] Write Objects.LinkFileList
[79/80] Linking CommandShellExample
Build complete! (17.13s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.