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 ActionDSL, reference main (d52ebb), with Swift 6.0 for Linux on 14 Sep 2024 20:31:17 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StellarTools/ActionDSL.git
Reference: main
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/StellarTools/ActionDSL
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d52ebb6 Merge pull request #1 from StellarTools/move-ActionDSL
Cloned https://github.com/StellarTools/ActionDSL.git
Revision (git rev-parse @):
d52ebb65949f31ec95213d2bff6342a8b39e370e
SUCCESS checkout https://github.com/StellarTools/ActionDSL.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/StellarTools/ActionDSL.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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
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.git
[1/12158] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.51s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/7] Emitting module ArgumentParserToolInfo
[9/46] Emitting module ArgumentParser
[10/46] Compiling ArgumentParser Name.swift
[11/46] Compiling ArgumentParser Parsed.swift
[12/46] Compiling ArgumentParser ParsedValues.swift
[13/46] Compiling ArgumentParser ParserError.swift
[14/46] Compiling ArgumentParser SplitArguments.swift
[15/51] Compiling ArgumentParser BashCompletionsGenerator.swift
[16/51] Compiling ArgumentParser CompletionsGenerator.swift
[17/51] Compiling ArgumentParser FishCompletionsGenerator.swift
[18/51] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/51] Compiling ArgumentParser Argument.swift
[20/51] Compiling ArgumentParser ArgumentHelp.swift
[21/51] Compiling ArgumentParser ArgumentDefinition.swift
[22/51] Compiling ArgumentParser ArgumentSet.swift
[23/51] Compiling ArgumentParser CommandParser.swift
[24/51] Compiling ArgumentParser InputKey.swift
[25/51] Compiling ArgumentParser InputOrigin.swift
[26/51] Compiling ArgumentParser OptionGroup.swift
[27/51] Compiling ArgumentParser AsyncParsableCommand.swift
[28/51] Compiling ArgumentParser CommandConfiguration.swift
[29/51] Compiling ArgumentParser CommandGroup.swift
[30/51] Compiling ArgumentParser EnumerableFlag.swift
[31/51] Compiling ArgumentParser ExpressibleByArgument.swift
[32/51] Compiling ArgumentParser ParsableArguments.swift
[33/51] Compiling ArgumentParser ParsableArgumentsValidation.swift
[34/51] Compiling ArgumentParser ParsableCommand.swift
[35/51] Compiling ArgumentParser ArgumentDecoder.swift
[36/51] Compiling ArgumentParser CollectionExtensions.swift
[37/51] Compiling ArgumentParser Platform.swift
[38/51] Compiling ArgumentParser SequenceExtensions.swift
[39/51] Compiling ArgumentParser StringExtensions.swift
[40/51] Compiling ArgumentParser Tree.swift
[41/51] Compiling ArgumentParser ArgumentVisibility.swift
[42/51] Compiling ArgumentParser CompletionKind.swift
[43/51] Compiling ArgumentParser Errors.swift
[44/51] Compiling ArgumentParser Flag.swift
[45/51] Compiling ArgumentParser NameSpecification.swift
[46/51] Compiling ArgumentParser Option.swift
[47/51] Compiling ArgumentParser DumpHelpGenerator.swift
[48/51] Compiling ArgumentParser HelpCommand.swift
[49/51] Compiling ArgumentParser HelpGenerator.swift
[50/51] Compiling ArgumentParser MessageInfo.swift
[51/51] Compiling ArgumentParser UsageGenerator.swift
[53/60] Compiling ActionDSL ActionParamProtocol.swift
[54/61] Compiling ActionDSL ActionConfigurationProtocol.swift
[55/61] Compiling ActionDSL ActionProtocol.swift
[56/61] Compiling ActionDSL ActionCLIProtocol.swift
[57/61] Compiling ActionDSL EnvironmentManager.swift
/host/spi-builder-workspace/Sources/ActionDSL/Core/EnvironmentManager.swift:9:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |     private var storage = [String: String]()
 8 |
 9 |     static var shared = EnvironmentManager()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
10 |
11 |     func addVariable(_ envValue: String, for key: String) {
[58/61] Compiling ActionDSL ActionParam.swift
/host/spi-builder-workspace/Sources/ActionDSL/Core/EnvironmentManager.swift:9:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |     private var storage = [String: String]()
 8 |
 9 |     static var shared = EnvironmentManager()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
10 |
11 |     func addVariable(_ envValue: String, for key: String) {
[59/61] Compiling ActionDSL CodingKeys.swift
[60/61] Emitting module ActionDSL
/host/spi-builder-workspace/Sources/ActionDSL/Core/EnvironmentManager.swift:9:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |     private var storage = [String: String]()
 8 |
 9 |     static var shared = EnvironmentManager()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
10 |
11 |     func addVariable(_ envValue: String, for key: String) {
[61/61] Compiling ActionDSL ActionCLIBaseCommand.swift
Build complete! (21.61s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "ActionDSL",
  "name" : "ActionDSL",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ActionDSL",
      "targets" : [
        "ActionDSL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ActionDSLTests",
      "module_type" : "SwiftTarget",
      "name" : "ActionDSLTests",
      "path" : "Tests/ActionDSLTests",
      "sources" : [
        "ActionDSLTests.swift"
      ],
      "target_dependencies" : [
        "ActionDSL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ActionDSL",
      "module_type" : "SwiftTarget",
      "name" : "ActionDSL",
      "path" : "Sources/ActionDSL",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ActionDSL"
      ],
      "sources" : [
        "Core/ActionCLIBaseCommand.swift",
        "Core/CodingKeys.swift",
        "Core/EnvironmentManager.swift",
        "PropertyWrappers/ActionParam.swift",
        "Protocols/ActionCLIProtocol.swift",
        "Protocols/ActionConfigurationProtocol.swift",
        "Protocols/ActionParamProtocol.swift",
        "Protocols/ActionProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.