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 Linux on 3 Nov 2024 08:16:15 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaroshevskii/repify-cli.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jaroshevskii/repify-cli.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
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.77s)
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/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/12] Emitting module ArgumentParserToolInfo
[7/12] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/13] Wrapping AST for ArgumentParserToolInfo for debugging
[10/51] Emitting module ArgumentParser
[11/56] Compiling ArgumentParser ArgumentVisibility.swift
[12/56] Compiling ArgumentParser CompletionKind.swift
[13/56] Compiling ArgumentParser Errors.swift
[14/56] Compiling ArgumentParser Flag.swift
[15/56] Compiling ArgumentParser NameSpecification.swift
[16/56] Compiling ArgumentParser Option.swift
[17/56] Compiling ArgumentParser Name.swift
[18/56] Compiling ArgumentParser Parsed.swift
[19/56] Compiling ArgumentParser ParsedValues.swift
[20/56] Compiling ArgumentParser ParserError.swift
[21/56] Compiling ArgumentParser SplitArguments.swift
[22/56] Compiling ArgumentParser ExpressibleByArgument.swift
[23/56] Compiling ArgumentParser ParsableArguments.swift
[24/56] Compiling ArgumentParser ParsableArgumentsValidation.swift
[25/56] Compiling ArgumentParser ParsableCommand.swift
[26/56] Compiling ArgumentParser ArgumentDecoder.swift
[27/56] Compiling ArgumentParser ArgumentDefinition.swift
[28/56] Compiling ArgumentParser ArgumentSet.swift
[29/56] Compiling ArgumentParser CommandParser.swift
[30/56] Compiling ArgumentParser InputKey.swift
[31/56] Compiling ArgumentParser InputOrigin.swift
[32/56] Compiling ArgumentParser CollectionExtensions.swift
[33/56] Compiling ArgumentParser Platform.swift
[34/56] Compiling ArgumentParser SequenceExtensions.swift
[35/56] Compiling ArgumentParser StringExtensions.swift
[36/56] Compiling ArgumentParser Tree.swift
[37/56] Compiling ArgumentParser OptionGroup.swift
[38/56] Compiling ArgumentParser AsyncParsableCommand.swift
[39/56] Compiling ArgumentParser CommandConfiguration.swift
[40/56] Compiling ArgumentParser CommandGroup.swift
[41/56] Compiling ArgumentParser EnumerableFlag.swift
[42/56] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/56] Compiling ArgumentParser CompletionsGenerator.swift
[44/56] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/56] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/56] Compiling ArgumentParser Argument.swift
[47/56] Compiling ArgumentParser ArgumentHelp.swift
[48/56] Compiling ArgumentParser DumpHelpGenerator.swift
[49/56] Compiling ArgumentParser HelpCommand.swift
[50/56] Compiling ArgumentParser HelpGenerator.swift
[51/56] Compiling ArgumentParser MessageInfo.swift
[52/56] Compiling ArgumentParser UsageGenerator.swift
[53/57] Wrapping AST for ArgumentParser for debugging
[55/59] Compiling repeat_cli RepeatCLI.swift
/host/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: """
[56/59] Emitting module repeat_cli
/host/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: """
[57/60] Wrapping AST for repeat-cli for debugging
[58/60] Write Objects.LinkFileList
[59/60] Linking repeat-cli
Build complete! (18.33s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.