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 RepeatCLI, reference v0.3.0 (f1d968), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:27:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaroshevskii/repify-cli.git
Reference: v0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaroshevskii/repify-cli
 * tag               v0.3.0     -> FETCH_HEAD
HEAD is now at f1d968a Update RepeatCLI.swift
Cloned https://github.com/jaroshevskii/repify-cli.git
Revision (git rev-parse @):
f1d968aa9959d84b7876c080595b483ec67a0552
SUCCESS checkout https://github.com/jaroshevskii/repify-cli.git at v0.3.0
Fetching https://github.com/apple/swift-argument-parser.git
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.67s)
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.49s)
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
========================================
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": "repify-cli",
      "name": "RepeatCLI",
      "url": "https://github.com/jaroshevskii/repify-cli.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/repify-cli",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jaroshevskii/repify-cli.git
[1/339] Fetching repify-cli
Fetched https://github.com/jaroshevskii/repify-cli.git from cache (0.80s)
Creating working copy for https://github.com/jaroshevskii/repify-cli.git
Working copy of https://github.com/jaroshevskii/repify-cli.git resolved at v0.3.0 (f1d968a)
warning: '.resolve-product-dependencies': dependency 'repify-cli' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jaroshevskii/repify-cli.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/9] Write sources
[4/9] Write repeat-cli-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/11] Emitting module ArgumentParserToolInfo
[8/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/50] Compiling ArgumentParser NameSpecification.swift
[10/50] Compiling ArgumentParser Option.swift
[11/50] Compiling ArgumentParser OptionGroup.swift
[12/50] Compiling ArgumentParser AsyncParsableCommand.swift
[13/54] Emitting module ArgumentParser
[14/54] Compiling ArgumentParser ArgumentHelp.swift
[15/54] Compiling ArgumentParser ArgumentVisibility.swift
[16/54] Compiling ArgumentParser CompletionKind.swift
[17/54] Compiling ArgumentParser Errors.swift
[18/54] Compiling ArgumentParser Flag.swift
[19/54] Compiling ArgumentParser BashCompletionsGenerator.swift
[20/54] Compiling ArgumentParser CompletionsGenerator.swift
[21/54] Compiling ArgumentParser FishCompletionsGenerator.swift
[22/54] Compiling ArgumentParser ZshCompletionsGenerator.swift
[23/54] Compiling ArgumentParser Argument.swift
[24/54] Compiling ArgumentParser CommandConfiguration.swift
[25/54] Compiling ArgumentParser CommandGroup.swift
[26/54] Compiling ArgumentParser EnumerableFlag.swift
[27/54] Compiling ArgumentParser ExpressibleByArgument.swift
[28/54] Compiling ArgumentParser ParsableArguments.swift
[29/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/54] Compiling ArgumentParser ParsableCommand.swift
[31/54] Compiling ArgumentParser ArgumentDecoder.swift
[32/54] Compiling ArgumentParser ArgumentDefinition.swift
[33/54] Compiling ArgumentParser ArgumentSet.swift
[34/54] Compiling ArgumentParser CommandParser.swift
[35/54] Compiling ArgumentParser InputKey.swift
[36/54] Compiling ArgumentParser Platform.swift
[37/54] Compiling ArgumentParser SequenceExtensions.swift
[38/54] Compiling ArgumentParser StringExtensions.swift
[39/54] Compiling ArgumentParser Tree.swift
[40/54] Compiling ArgumentParser InputOrigin.swift
[41/54] Compiling ArgumentParser Name.swift
[42/54] Compiling ArgumentParser Parsed.swift
[43/54] Compiling ArgumentParser ParsedValues.swift
[44/54] Compiling ArgumentParser HelpGenerator.swift
[45/54] Compiling ArgumentParser MessageInfo.swift
[46/54] Compiling ArgumentParser UsageGenerator.swift
[47/54] Compiling ArgumentParser CollectionExtensions.swift
[48/54] Compiling ArgumentParser ParserError.swift
[49/54] Compiling ArgumentParser SplitArguments.swift
[50/54] Compiling ArgumentParser DumpHelpGenerator.swift
[51/54] Compiling ArgumentParser HelpCommand.swift
[52/56] Emitting module repeat_cli
/Users/admin/builder/spi-builder-workspace/Sources/repeat-cli/RepeatCLI.swift:9:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | @main
 8 | struct RepeatCLI: ParsableCommand {
 9 |   static var configuration = CommandConfiguration(
   |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'configuration' 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 |     abstract: "📃 Simple cross-platform command-line tool for text repeating.",
11 |     version: """
[53/56] Compiling repeat_cli RepeatCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/repeat-cli/RepeatCLI.swift:9:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | @main
 8 | struct RepeatCLI: ParsableCommand {
 9 |   static var configuration = CommandConfiguration(
   |              |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'configuration' 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 |     abstract: "📃 Simple cross-platform command-line tool for text repeating.",
11 |     version: """
[53/56] Write Objects.LinkFileList
[54/56] Linking repeat-cli
[55/56] Applying repeat-cli
Build complete! (12.15s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "RepeatCLI",
  "name" : "RepeatCLI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "repeat-cli",
      "targets" : [
        "repeat-cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "repeat_cli",
      "module_type" : "SwiftTarget",
      "name" : "repeat-cli",
      "path" : "Sources/repeat-cli",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "repeat-cli"
      ],
      "sources" : [
        "RepeatCLI.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.