This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 GitCommit with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devedbox/git-commit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/devedbox/git-commit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 24230df style: Formatted codes.
Cloned https://github.com/devedbox/git-commit.git
Revision (git rev-parse @):
24230dfcc22684bb124bb8e218b36f520f6d6e0b
SUCCESS checkout https://github.com/devedbox/git-commit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/devedbox/git-commit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/14] Write sources
[3/14] Write git-commit-entitlement.plist
[4/14] Write swift-version-6F35C1178C84523A.txt
[5/14] Compiling emitter.c
[6/14] Compiling writer.c
[7/14] Compiling api.c
[8/14] Compiling scanner.c
[9/14] Compiling parser.c
[10/14] Compiling reader.c
[12/30] Compiling Yams Tag.swift
[13/30] Compiling Yams YamlError.swift
[14/31] Compiling Yams String+Yams.swift
[15/31] Compiling Yams Node.Scalar.swift
[16/31] Compiling Yams Node.Sequence.swift
[17/31] Emitting module Yams
[18/31] Compiling Yams Node.swift
[19/31] Compiling Yams Parser.swift
[20/31] Compiling Yams Emitter.swift
[21/31] Compiling Yams Encoder.swift
[22/31] Compiling Yams Constructor.swift
[23/31] Compiling Yams Decoder.swift
[24/31] Compiling Yams Representer.swift
[25/31] Compiling Yams Resolver.swift
[26/31] Compiling Yams Mark.swift
[27/31] Compiling Yams Node.Mapping.swift
[28/31] Compiling Yams shim.swift
[29/41] Compiling GitCommitFramework misc.swift
[30/41] Compiling GitCommitFramework GitCommitType.swift
[31/41] Compiling GitCommitFramework GitCommit.swift
/Users/admin/builder/spi-builder-workspace/Sources/GitCommitFramework/Constant.swift:9:14: warning: var 'GitCommitVersion' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// The version string of `GitCommit`.
 9 | internal var GitCommitVersion = "0.0.10"
   |              |- warning: var 'GitCommitVersion' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'GitCommitVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'GitCommitVersion' 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 |
[32/41] Compiling GitCommitFramework GitCommitLintOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GitCommitFramework/Types/GitCommitLintOptions.swift:27:23: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'GitCommitLintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | // MARK: - GitCommitLintOptions.
 9 |
10 | public struct GitCommitLintOptions: OptionSet {
   |               `- note: consider making struct 'GitCommitLintOptions' conform to the 'Sendable' protocol
11 |     public typealias RawValue = Int
12 |     /// The underlying raw value of the option.
   :
25 |
26 | extension GitCommitLintOptions {
27 |     public static let verbose = GitCommitLintOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'GitCommitLintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'verbose' 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
28 | }
29 |
[33/41] Compiling GitCommitFramework GitCommitRuleRepresentable.swift
[34/41] Compiling GitCommitFramework GitCommitLintable.swift
/Users/admin/builder/spi-builder-workspace/Sources/GitCommitFramework/Types/GitCommitLintOptions.swift:27:23: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'GitCommitLintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | // MARK: - GitCommitLintOptions.
 9 |
10 | public struct GitCommitLintOptions: OptionSet {
   |               `- note: consider making struct 'GitCommitLintOptions' conform to the 'Sendable' protocol
11 |     public typealias RawValue = Int
12 |     /// The underlying raw value of the option.
   :
25 |
26 | extension GitCommitLintOptions {
27 |     public static let verbose = GitCommitLintOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'GitCommitLintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'verbose' 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
28 | }
29 |
[35/41] Compiling GitCommitFramework GitCommitError.swift
[36/41] Compiling GitCommitFramework Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/GitCommitFramework/Constant.swift:9:14: warning: var 'GitCommitVersion' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// The version string of `GitCommit`.
 9 | internal var GitCommitVersion = "0.0.10"
   |              |- warning: var 'GitCommitVersion' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'GitCommitVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'GitCommitVersion' 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 |
[37/41] Compiling GitCommitFramework GitCommitRule.swift
[38/41] Emitting module GitCommitFramework
/Users/admin/builder/spi-builder-workspace/Sources/GitCommitFramework/Constant.swift:9:14: warning: var 'GitCommitVersion' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// The version string of `GitCommit`.
 9 | internal var GitCommitVersion = "0.0.10"
   |              |- warning: var 'GitCommitVersion' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'GitCommitVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'GitCommitVersion' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/GitCommitFramework/Types/GitCommitLintOptions.swift:27:23: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'GitCommitLintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | // MARK: - GitCommitLintOptions.
 9 |
10 | public struct GitCommitLintOptions: OptionSet {
   |               `- note: consider making struct 'GitCommitLintOptions' conform to the 'Sendable' protocol
11 |     public typealias RawValue = Int
12 |     /// The underlying raw value of the option.
   :
25 |
26 | extension GitCommitLintOptions {
27 |     public static let verbose = GitCommitLintOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'GitCommitLintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'verbose' 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
28 | }
29 |
[39/44] Compiling git_commit main.swift
/Users/admin/builder/spi-builder-workspace/Sources/git-commit/misc.swift:12:14: warning: var 'HelpMessage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The constant help message.
12 | internal var HelpMessage = """
   |              |- warning: var 'HelpMessage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'HelpMessage' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'HelpMessage' 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 | Available commands:
14 |
[40/44] Compiling git_commit misc.swift
/Users/admin/builder/spi-builder-workspace/Sources/git-commit/misc.swift:12:14: warning: var 'HelpMessage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The constant help message.
12 | internal var HelpMessage = """
   |              |- warning: var 'HelpMessage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'HelpMessage' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'HelpMessage' 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 | Available commands:
14 |
[41/44] Emitting module git_commit
/Users/admin/builder/spi-builder-workspace/Sources/git-commit/misc.swift:12:14: warning: var 'HelpMessage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The constant help message.
12 | internal var HelpMessage = """
   |              |- warning: var 'HelpMessage' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'HelpMessage' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'HelpMessage' 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 | Available commands:
14 |
[41/44] Write Objects.LinkFileList
[42/44] Linking git-commit
[43/44] Applying git-commit
Build complete! (33.88s)
Fetching https://github.com/jpsim/Yams.git
[1/9335] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (5.34s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.0 (0.67s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "GitCommit",
  "name" : "GitCommit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "git-commit",
      "targets" : [
        "git-commit"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GitCommitFramework",
      "targets" : [
        "GitCommitFramework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "git_commit",
      "module_type" : "SwiftTarget",
      "name" : "git-commit",
      "path" : "Sources/git-commit",
      "product_memberships" : [
        "git-commit"
      ],
      "sources" : [
        "main.swift",
        "misc.swift"
      ],
      "target_dependencies" : [
        "GitCommitFramework"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GitCommitTests",
      "module_type" : "SwiftTarget",
      "name" : "GitCommitTests",
      "path" : "Tests/GitCommitTests",
      "sources" : [
        "GitCommitRuleTests.swift",
        "GitCommitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "GitCommitFramework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GitCommitFramework",
      "module_type" : "SwiftTarget",
      "name" : "GitCommitFramework",
      "path" : "Sources/GitCommitFramework",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "git-commit",
        "GitCommitFramework"
      ],
      "sources" : [
        "Constant.swift",
        "Errors/GitCommitError.swift",
        "Protocols/GitCommitLintable.swift",
        "Protocols/GitCommitRuleRepresentable.swift",
        "Types/GitCommit.swift",
        "Types/GitCommitLintOptions.swift",
        "Types/GitCommitRule.swift",
        "Types/GitCommitType.swift",
        "misc.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.