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 Guaka, reference 0.4.1 (6fb29b), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 13:02:05 UTC.

Swift 6 data race errors: 2

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/nsomar/Guaka.git
Reference: 0.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nsomar/Guaka
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 6fb29b2 Update StringScanner
Cloned https://github.com/nsomar/Guaka.git
Revision (git rev-parse @):
6fb29b2378166a30d72120980e1c099c664598de
SUCCESS checkout https://github.com/nsomar/Guaka.git at 0.4.1
Fetching https://github.com/getGuaka/StringScanner.git
[1/188] Fetching stringscanner
Fetched https://github.com/getGuaka/StringScanner.git from cache (0.66s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (1.35s)
Creating working copy for https://github.com/getGuaka/StringScanner.git
Working copy of https://github.com/getGuaka/StringScanner.git resolved at 0.4.1
========================================
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": "guaka",
      "name": "Guaka",
      "url": "https://github.com/nsomar/Guaka.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Guaka",
      "dependencies": [
        {
          "identity": "stringscanner",
          "name": "StringScanner",
          "url": "https://github.com/getGuaka/StringScanner.git",
          "version": "0.4.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StringScanner",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nsomar/Guaka.git
[1/1420] Fetching guaka
Fetched https://github.com/nsomar/Guaka.git from cache (0.82s)
Fetching https://github.com/getGuaka/StringScanner.git from cache
Fetched https://github.com/getGuaka/StringScanner.git from cache (0.46s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (0.52s)
Creating working copy for https://github.com/nsomar/Guaka.git
Working copy of https://github.com/nsomar/Guaka.git resolved at 0.4.1 (6fb29b2)
Creating working copy for https://github.com/getGuaka/StringScanner.git
Working copy of https://github.com/getGuaka/StringScanner.git resolved at 0.4.1
warning: '.resolve-product-dependencies': dependency 'guaka' is not used by any target
Found 1 product dependencies
  - StringScanner
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nsomar/Guaka.git
https://github.com/nsomar/Guaka.git
{
  "dependencies" : [
    {
      "identity" : "stringscanner",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getGuaka/StringScanner.git"
    }
  ],
  "manifest_display_name" : "Guaka",
  "name" : "Guaka",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Guaka",
      "targets" : [
        "Guaka"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GuakaTests",
      "module_type" : "SwiftTarget",
      "name" : "GuakaTests",
      "path" : "Tests/GuakaTests",
      "sources" : [
        "ArgTokenTypeTests.swift",
        "CommandExecutionTests.swift",
        "CommandHelpTests.swift",
        "CommandParsingTests.swift",
        "CommandTests.swift",
        "CommandType+Run.swift",
        "CommandTypeTest.swift",
        "CustomFlagTypesTests.swift",
        "ErrorsTests.swift",
        "FlagHelpTests.swift",
        "FlagSetTests.swift",
        "FlagTests.swift",
        "FlagsTests.swift",
        "HelpGeneratorSubclassingTests.swift",
        "HelpGeneratorTests.swift",
        "HelpTests.swift",
        "LevenshteinTests.swift",
        "ParsingTests.swift",
        "TestHelpers.swift",
        "ValidationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Guaka"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Guaka",
      "module_type" : "SwiftTarget",
      "name" : "Guaka",
      "path" : "Sources/Guaka",
      "product_dependencies" : [
        "StringScanner"
      ],
      "product_memberships" : [
        "Guaka"
      ],
      "sources" : [
        "Command/Command+Execution.swift",
        "Command/Command+Utilities.swift",
        "Command/Command.swift",
        "Command/CommandTypes.swift",
        "Execution/CommandExecution.swift",
        "Flag/Flag+Utilities.swift",
        "Flag/Flag.swift",
        "Flag/FlagSet.swift",
        "Flag/Flags.swift",
        "Help/CommandHelp.swift",
        "Help/DefaultHelpGenerator.swift",
        "Help/FlagHelp.swift",
        "Help/FlagHelpGeneratorUtils.swift",
        "Help/HelpGenerator.swift",
        "Help/HelpGeneratorDefaults.swift",
        "Help/HelpGeneratorErrors.swift",
        "Misc/GuakaConfig.swift",
        "Misc/Levenshtein.swift",
        "Parsing/ArgTokenType.swift",
        "Parsing/Command+Parsing.swift",
        "Parsing/FlagSet+Parsing.swift",
        "Types/Errors.swift",
        "Types/FlagValue.swift",
        "Types/Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/9] Compiling StringScanner StringExtension.swift
[5/9] Emitting module StringScanner
[6/9] Compiling StringScanner CharacterSet.swift
[7/9] Compiling StringScanner StringScanner.swift
[8/9] Compiling StringScanner ScannerResult.swift
[9/9] Compiling StringScanner Regex.swift
[10/32] Emitting module Guaka
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |   /// ```
77 |   ///
78 |   public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
   |                     |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'helpGenerator' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Types/Errors.swift:41:8: warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
39 |
40 |   /// general command related error
41 |   case commandGeneralError(Command, Error)
   |        `- warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
42 |
43 |   /// unknown error occured
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Command/Command.swift:71:14: note: class 'Command' does not conform to the 'Sendable' protocol
 69 | /// ```
 70 | ///
 71 | public class Command {
    |              `- note: class 'Command' does not conform to the 'Sendable' protocol
 72 |
 73 |
[11/34] Compiling Guaka CommandTypes.swift
[12/34] Compiling Guaka CommandExecution.swift
[13/34] Compiling Guaka Flag+Utilities.swift
[14/34] Compiling Guaka Command+Execution.swift
[15/34] Compiling Guaka Command+Utilities.swift
[16/34] Compiling Guaka Command.swift
[17/34] Compiling Guaka FlagValue.swift
[18/34] Compiling Guaka Result.swift
[19/34] Compiling Guaka FlagSet+Parsing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Types/Errors.swift:41:8: warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
39 |
40 |   /// general command related error
41 |   case commandGeneralError(Command, Error)
   |        `- warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
42 |
43 |   /// unknown error occured
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Command/Command.swift:71:14: note: class 'Command' does not conform to the 'Sendable' protocol
 69 | /// ```
 70 | ///
 71 | public class Command {
    |              `- note: class 'Command' does not conform to the 'Sendable' protocol
 72 |
 73 |
[20/34] Compiling Guaka Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Types/Errors.swift:41:8: warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
39 |
40 |   /// general command related error
41 |   case commandGeneralError(Command, Error)
   |        `- warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
42 |
43 |   /// unknown error occured
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Command/Command.swift:71:14: note: class 'Command' does not conform to the 'Sendable' protocol
 69 | /// ```
 70 | ///
 71 | public class Command {
    |              `- note: class 'Command' does not conform to the 'Sendable' protocol
 72 |
 73 |
[21/34] Compiling Guaka FlagHelpGeneratorUtils.swift
[22/34] Compiling Guaka HelpGenerator.swift
[23/34] Compiling Guaka GuakaConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |   /// ```
77 |   ///
78 |   public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
   |                     |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'helpGenerator' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | }
80 |
[24/34] Compiling Guaka Levenshtein.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |   /// ```
77 |   ///
78 |   public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
   |                     |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'helpGenerator' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | }
80 |
[25/34] Compiling Guaka Flag.swift
[26/34] Compiling Guaka FlagSet.swift
[27/34] Compiling Guaka Flags.swift
[28/34] Compiling Guaka ArgTokenType.swift
[29/34] Compiling Guaka Command+Parsing.swift
[30/34] Compiling Guaka CommandHelp.swift
[31/34] Compiling Guaka DefaultHelpGenerator.swift
[32/34] Compiling Guaka FlagHelp.swift
[33/34] Compiling Guaka HelpGeneratorDefaults.swift
[34/34] Compiling Guaka HelpGeneratorErrors.swift
Build complete! (3.32s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "stringscanner",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getGuaka/StringScanner.git"
    }
  ],
  "manifest_display_name" : "Guaka",
  "name" : "Guaka",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Guaka",
      "targets" : [
        "Guaka"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GuakaTests",
      "module_type" : "SwiftTarget",
      "name" : "GuakaTests",
      "path" : "Tests/GuakaTests",
      "sources" : [
        "ArgTokenTypeTests.swift",
        "CommandExecutionTests.swift",
        "CommandHelpTests.swift",
        "CommandParsingTests.swift",
        "CommandTests.swift",
        "CommandType+Run.swift",
        "CommandTypeTest.swift",
        "CustomFlagTypesTests.swift",
        "ErrorsTests.swift",
        "FlagHelpTests.swift",
        "FlagSetTests.swift",
        "FlagTests.swift",
        "FlagsTests.swift",
        "HelpGeneratorSubclassingTests.swift",
        "HelpGeneratorTests.swift",
        "HelpTests.swift",
        "LevenshteinTests.swift",
        "ParsingTests.swift",
        "TestHelpers.swift",
        "ValidationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Guaka"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Guaka",
      "module_type" : "SwiftTarget",
      "name" : "Guaka",
      "path" : "Sources/Guaka",
      "product_dependencies" : [
        "StringScanner"
      ],
      "product_memberships" : [
        "Guaka"
      ],
      "sources" : [
        "Command/Command+Execution.swift",
        "Command/Command+Utilities.swift",
        "Command/Command.swift",
        "Command/CommandTypes.swift",
        "Execution/CommandExecution.swift",
        "Flag/Flag+Utilities.swift",
        "Flag/Flag.swift",
        "Flag/FlagSet.swift",
        "Flag/Flags.swift",
        "Help/CommandHelp.swift",
        "Help/DefaultHelpGenerator.swift",
        "Help/FlagHelp.swift",
        "Help/FlagHelpGeneratorUtils.swift",
        "Help/HelpGenerator.swift",
        "Help/HelpGeneratorDefaults.swift",
        "Help/HelpGeneratorErrors.swift",
        "Misc/GuakaConfig.swift",
        "Misc/Levenshtein.swift",
        "Parsing/ArgTokenType.swift",
        "Parsing/Command+Parsing.swift",
        "Parsing/FlagSet+Parsing.swift",
        "Types/Errors.swift",
        "Types/FlagValue.swift",
        "Types/Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.