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 Builder, reference main (778668), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 10:45:49 UTC.

Swift 6 data race errors: 1

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/elegantchaos/Builder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/Builder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 778668b Update README.md
Cloned https://github.com/elegantchaos/Builder.git
Revision (git rev-parse @):
778668bb58d0bdc85dfb2027219bd538e9a8ffc0
SUCCESS checkout https://github.com/elegantchaos/Builder.git at main
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/2051] Fetching logger
Fetched https://github.com/apple/swift-argument-parser from cache (0.68s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.91s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (1.61s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.6.0 (0.65s)
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.2
========================================
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": "builder",
      "name": "Builder",
      "url": "https://github.com/elegantchaos/Builder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Builder",
      "dependencies": [
        {
          "identity": "logger",
          "name": "Logger",
          "url": "https://github.com/elegantchaos/Logger.git",
          "version": "1.8.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Logger",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/elegantchaos/Builder.git
[1/1144] Fetching builder
Fetched https://github.com/elegantchaos/Builder.git from cache (0.83s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/elegantchaos/Logger.git from cache
Fetched https://github.com/elegantchaos/Logger.git from cache (0.51s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.52s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.18s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.66s)
Creating working copy for https://github.com/elegantchaos/Builder.git
Working copy of https://github.com/elegantchaos/Builder.git resolved at main (778668b)
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Found 2 product dependencies
  - Logger
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Builder.git
https://github.com/elegantchaos/Builder.git
{
  "dependencies" : [
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Builder",
  "name" : "Builder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "builder",
      "targets" : [
        "Builder"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "BuilderTests",
      "path" : "Tests/BuilderTests",
      "sources" : [
        "BuilderTests.swift"
      ],
      "target_dependencies" : [
        "Builder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BuilderCore",
      "module_type" : "SwiftTarget",
      "name" : "BuilderCore",
      "path" : "Sources/BuilderCore",
      "product_dependencies" : [
        "ArgumentParser",
        "Logger"
      ],
      "product_memberships" : [
        "builder"
      ],
      "sources" : [
        "BuildAction.swift",
        "Builder.swift",
        "BuilderActions.swift",
        "Configuration.swift",
        "Failure.swift",
        "MetadataAction.swift",
        "MetafileAction.swift",
        "Platform.swift",
        "RunAction.swift",
        "SemanticVersion.swift",
        "Settings.swift",
        "SettingsMapper.swift",
        "SettingsValue.swift",
        "StringExtensions.swift",
        "SwiftSettingsMapper.swift",
        "XCConfigSettingsMapper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Builder",
      "module_type" : "SwiftTarget",
      "name" : "Builder",
      "path" : "Sources/Builder",
      "product_dependencies" : [
        "ArgumentParser",
        "Logger"
      ],
      "product_memberships" : [
        "builder"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "BuilderCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.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/9] Write sources
[0/9] Write builder-entitlement.plist
[0/9] Write sources
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/50] Emitting module ArgumentParser
[8/53] Compiling ArgumentParser ParserError.swift
[9/53] Compiling ArgumentParser SplitArguments.swift
[10/53] Compiling ArgumentParser HelpCommand.swift
[11/53] Compiling ArgumentParser Name.swift
[12/53] Compiling ArgumentParser Parsed.swift
[13/53] Compiling ArgumentParser ParsedValues.swift
[14/53] Compiling ArgumentParser SequenceExtensions.swift
[15/53] Compiling ArgumentParser StringExtensions.swift
[16/53] Compiling ArgumentParser Tree.swift
[17/53] Compiling ArgumentParser ArgumentSet.swift
[18/53] Compiling ArgumentParser CommandParser.swift
[19/53] Compiling ArgumentParser InputOrigin.swift
[20/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[21/53] Compiling ArgumentParser ParsableCommand.swift
[22/53] Compiling ArgumentParser ArgumentDecoder.swift
[23/53] Compiling ArgumentParser ArgumentDefinition.swift
[24/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/53] Compiling ArgumentParser CompletionsGenerator.swift
[26/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/53] Compiling ArgumentParser Argument.swift
[29/53] Compiling ArgumentParser ArgumentHelp.swift
[30/53] Compiling ArgumentParser CompletionKind.swift
[31/53] Compiling ArgumentParser Errors.swift
[32/53] Compiling ArgumentParser Flag.swift
[33/53] Compiling ArgumentParser NameSpecification.swift
[34/53] Compiling ArgumentParser Option.swift
[35/53] Compiling ArgumentParser OptionGroup.swift
[36/53] Compiling ArgumentParser CommandConfiguration.swift
[37/53] Compiling ArgumentParser EnumerableFlag.swift
[38/53] Compiling ArgumentParser ExpressibleByArgument.swift
[39/53] Compiling ArgumentParser ParsableArguments.swift
[40/53] Compiling Logger PrintHandler.swift
[41/53] Compiling Logger OSLogHandler.swift
[42/53] Compiling Logger NSLogHandler.swift
[43/53] Compiling ArgumentParser HelpGenerator.swift
[44/53] Compiling Logger Handler.swift
[45/53] Compiling ArgumentParser MessageInfo.swift
[46/53] Compiling ArgumentParser UsageGenerator.swift
[47/53] Compiling Logger Context.swift
[48/53] Compiling Logger Channel.swift
[49/53] Emitting module Logger
[50/53] Compiling Logger Manager.swift
[51/69] Compiling BuilderCore RunAction.swift
[52/69] Compiling BuilderCore SemanticVersion.swift
[53/70] Compiling BuilderCore MetafileAction.swift
[54/70] Compiling BuilderCore Platform.swift
[55/70] Compiling BuilderCore SettingsValue.swift
[56/70] Compiling BuilderCore StringExtensions.swift
[57/70] Compiling BuilderCore SwiftSettingsMapper.swift
[58/70] Compiling BuilderCore Settings.swift
[59/70] Compiling BuilderCore SettingsMapper.swift
[60/70] Compiling BuilderCore XCConfigSettingsMapper.swift
[61/70] Compiling BuilderCore Failure.swift
[62/70] Compiling BuilderCore MetadataAction.swift
[63/70] Compiling BuilderCore BuilderActions.swift
[64/70] Compiling BuilderCore Configuration.swift
[65/70] Emitting module BuilderCore
[66/70] Compiling BuilderCore BuildAction.swift
[67/70] Compiling BuilderCore Builder.swift
[68/72] Compiling Builder main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Builder/main.swift:13:16: 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
11 |
12 | struct Command: ParsableCommand {
13 |     static var configuration =
   |                |- 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         CommandConfiguration(
15 |             abstract: "Meta-builder tool for building swift products."
[69/72] Emitting module Builder
/Users/admin/builder/spi-builder-workspace/Sources/Builder/main.swift:13:16: 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
11 |
12 | struct Command: ParsableCommand {
13 |     static var configuration =
   |                |- 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         CommandConfiguration(
15 |             abstract: "Meta-builder tool for building swift products."
[69/72] Write Objects.LinkFileList
[70/72] Linking builder
[71/72] Applying builder
Build complete! (9.04s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Builder",
  "name" : "Builder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "builder",
      "targets" : [
        "Builder"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "BuilderTests",
      "path" : "Tests/BuilderTests",
      "sources" : [
        "BuilderTests.swift"
      ],
      "target_dependencies" : [
        "Builder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BuilderCore",
      "module_type" : "SwiftTarget",
      "name" : "BuilderCore",
      "path" : "Sources/BuilderCore",
      "product_dependencies" : [
        "ArgumentParser",
        "Logger"
      ],
      "product_memberships" : [
        "builder"
      ],
      "sources" : [
        "BuildAction.swift",
        "Builder.swift",
        "BuilderActions.swift",
        "Configuration.swift",
        "Failure.swift",
        "MetadataAction.swift",
        "MetafileAction.swift",
        "Platform.swift",
        "RunAction.swift",
        "SemanticVersion.swift",
        "Settings.swift",
        "SettingsMapper.swift",
        "SettingsValue.swift",
        "StringExtensions.swift",
        "SwiftSettingsMapper.swift",
        "XCConfigSettingsMapper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Builder",
      "module_type" : "SwiftTarget",
      "name" : "Builder",
      "path" : "Sources/Builder",
      "product_dependencies" : [
        "ArgumentParser",
        "Logger"
      ],
      "product_memberships" : [
        "builder"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "BuilderCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
Done.