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.0 for Linux on 28 Nov 2024 22:26:46 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.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.0
Building package at path:  $PWD
https://github.com/elegantchaos/CommandShell.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/571] Fetching xctestextensions
[572/2622] Fetching xctestextensions, logger
[798/2774] Fetching xctestextensions, logger, semanticversion
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.24s)
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.81s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (0.52s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.52s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.52s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.22s)
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/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
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/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/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/29] Emitting module Logger
[9/30] Emitting module ArgumentParserToolInfo
[10/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/31] Compiling SemanticVersion SemanticVersion.swift
[13/31] Compiling Logger NSLogHandler.swift
[14/31] Compiling Logger OSLogHandler.swift
[14/31] Wrapping AST for ArgumentParserToolInfo for debugging
[16/31] Compiling Logger PrintHandler.swift
[17/65] Emitting module ArgumentParser
[18/69] Compiling ArgumentParser CollectionExtensions.swift
[19/69] Compiling ArgumentParser SequenceExtensions.swift
[20/69] Compiling ArgumentParser StringExtensions.swift
[21/69] Compiling ArgumentParser Tree.swift
[22/69] Compiling ArgumentParser ArgumentHelp.swift
[23/69] Compiling ArgumentParser CompletionKind.swift
[24/69] Compiling ArgumentParser Errors.swift
[25/69] Compiling ArgumentParser Flag.swift
[26/69] Compiling ArgumentParser NameSpecification.swift
[27/69] Emitting module SemanticVersion
[28/69] Compiling SemanticVersion SemanticVersion+Comparabl.swift
[29/70] Compiling Logger UserDefaultsManagerSettings.swift
[30/70] Compiling ArgumentParser Option.swift
[31/70] Compiling ArgumentParser OptionGroup.swift
[32/70] Compiling ArgumentParser CommandConfiguration.swift
[33/70] Compiling ArgumentParser EnumerableFlag.swift
[34/70] Compiling ArgumentParser ExpressibleByArgument.swift
[35/70] Compiling ArgumentParser ParsableArguments.swift
[36/70] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/70] Compiling ArgumentParser ParsableCommand.swift
[38/70] Compiling ArgumentParser ArgumentDecoder.swift
[39/70] Compiling ArgumentParser ArgumentDefinition.swift
[40/70] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/70] Compiling ArgumentParser CompletionsGenerator.swift
[42/70] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/70] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/70] Compiling ArgumentParser Argument.swift
[48/70] Compiling Logger ManagerSettings.swift
[49/70] Compiling Logger Handler.swift
[50/70] Compiling Logger Manager.swift
[50/71] Wrapping AST for SemanticVersion for debugging
[52/71] Wrapping AST for Logger for debugging
[54/71] Compiling ArgumentParser ArgumentSet.swift
[55/71] Compiling ArgumentParser CommandParser.swift
[56/71] Compiling ArgumentParser InputOrigin.swift
[57/71] Compiling ArgumentParser Name.swift
[58/71] Compiling ArgumentParser Parsed.swift
[59/71] Compiling ArgumentParser HelpCommand.swift
[60/71] Compiling ArgumentParser HelpGenerator.swift
[61/71] Compiling ArgumentParser MessageInfo.swift
[62/71] Compiling ArgumentParser UsageGenerator.swift
[63/71] Compiling ArgumentParser ParsedValues.swift
[64/71] Compiling ArgumentParser ParserError.swift
[65/71] Compiling ArgumentParser SplitArguments.swift
[66/71] Compiling ArgumentParser DumpHelpGenerator.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: annotate 'commandShellExplicitInfo' 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
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: annotate 'commandShellExplicitInfo' 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
14 |
15 | public struct CommandShell<Engine: CommandEngine>: ParsableCommand {
[73/77] Wrapping AST for CommandShell for debugging
[75/79] Emitting module CommandShellExample
[76/79] Compiling CommandShellExample main.swift
[77/80] Wrapping AST for CommandShellExample for debugging
[78/80] Write Objects.LinkFileList
[79/80] Linking CommandShellExample
Build complete! (32.84s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.