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 main (cf90ff), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:23:39 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaroshevskii/repify-cli
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cf90ff3 Delete _config.yml
Cloned https://github.com/jaroshevskii/repify-cli.git
Revision (git rev-parse @):
cf90ff3525595f8d777ec221902e26e71dd79272
SUCCESS checkout https://github.com/jaroshevskii/repify-cli.git at main
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.51s)
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.55s)
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.75s)
Creating working copy for https://github.com/jaroshevskii/repify-cli.git
Working copy of https://github.com/jaroshevskii/repify-cli.git resolved at main (cf90ff3)
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
[3/9] Write repeat-cli-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/11] Emitting module ArgumentParserToolInfo
[9/50] Compiling ArgumentParser CommandConfiguration.swift
[10/50] Compiling ArgumentParser CommandGroup.swift
[11/50] Compiling ArgumentParser EnumerableFlag.swift
[12/50] Compiling ArgumentParser ExpressibleByArgument.swift
[13/54] Compiling ArgumentParser ArgumentHelp.swift
[14/54] Compiling ArgumentParser ArgumentVisibility.swift
[15/54] Compiling ArgumentParser CompletionKind.swift
[16/54] Compiling ArgumentParser Errors.swift
[17/54] Compiling ArgumentParser Flag.swift
[18/54] Compiling ArgumentParser InputOrigin.swift
[19/54] Compiling ArgumentParser Name.swift
[20/54] Compiling ArgumentParser Parsed.swift
[21/54] Compiling ArgumentParser ParsedValues.swift
[22/54] Compiling ArgumentParser NameSpecification.swift
[23/54] Compiling ArgumentParser Option.swift
[24/54] Compiling ArgumentParser OptionGroup.swift
[25/54] Compiling ArgumentParser AsyncParsableCommand.swift
[26/54] Emitting module ArgumentParser
[27/54] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/54] Compiling ArgumentParser CompletionsGenerator.swift
[29/54] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/54] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/54] Compiling ArgumentParser Argument.swift
[32/54] Compiling ArgumentParser Platform.swift
[33/54] Compiling ArgumentParser SequenceExtensions.swift
[34/54] Compiling ArgumentParser StringExtensions.swift
[35/54] Compiling ArgumentParser Tree.swift
[36/54] Compiling ArgumentParser ParsableArguments.swift
[37/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/54] Compiling ArgumentParser ParsableCommand.swift
[39/54] Compiling ArgumentParser ArgumentDecoder.swift
[40/54] Compiling ArgumentParser ArgumentDefinition.swift
[41/54] Compiling ArgumentParser ArgumentSet.swift
[42/54] Compiling ArgumentParser CommandParser.swift
[43/54] Compiling ArgumentParser InputKey.swift
[44/54] Compiling ArgumentParser ParserError.swift
[45/54] Compiling ArgumentParser SplitArguments.swift
[46/54] Compiling ArgumentParser DumpHelpGenerator.swift
[47/54] Compiling ArgumentParser HelpCommand.swift
[48/54] Compiling ArgumentParser HelpGenerator.swift
[49/54] Compiling ArgumentParser MessageInfo.swift
[50/54] Compiling ArgumentParser UsageGenerator.swift
[51/54] Compiling ArgumentParser CollectionExtensions.swift
[52/56] Compiling repeat_cli RepeatCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/repeat-cli/RepeatCLI.swift:10: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
 8 | @main
 9 | struct RepeatCLI: ParsableCommand {
10 |   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
11 |     abstract: "📃 Simple command-line tool for text repeating.",
12 |     discussion: """
[53/56] Emitting module repeat_cli
/Users/admin/builder/spi-builder-workspace/Sources/repeat-cli/RepeatCLI.swift:10: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
 8 | @main
 9 | struct RepeatCLI: ParsableCommand {
10 |   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
11 |     abstract: "📃 Simple command-line tool for text repeating.",
12 |     discussion: """
[53/56] Write Objects.LinkFileList
[54/56] Linking repeat-cli
[55/56] Applying repeat-cli
Build complete! (13.03s)
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.6"
}
Done.