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 DSFRegex, reference master (e0e648), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 14:30:40 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/dagronf/DSFRegex.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFRegex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e0e6480 Added privacy manifest
Cloned https://github.com/dagronf/DSFRegex.git
Revision (git rev-parse @):
e0e64805519b23b08dcca9c83ca2d4a2b3de4c33
SUCCESS checkout https://github.com/dagronf/DSFRegex.git at master
========================================
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": "dsfregex",
      "name": "DSFRegex",
      "url": "https://github.com/dagronf/DSFRegex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFRegex",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/DSFRegex.git
[5/220] Fetching dsfregex
Fetched https://github.com/dagronf/DSFRegex.git from cache (2.56s)
Creating working copy for https://github.com/dagronf/DSFRegex.git
Working copy of https://github.com/dagronf/DSFRegex.git resolved at master (e0e6480)
warning: '.resolve-product-dependencies': dependency 'dsfregex' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/DSFRegex.git
https://github.com/dagronf/DSFRegex.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFRegex",
  "name" : "DSFRegex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DSFRegex",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFRegex-static",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFRegex-dynamic",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFRegexTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFRegexTests",
      "path" : "Tests/DSFRegexTests",
      "sources" : [
        "DSFRegexTests.swift",
        "String+extensions.swift",
        "Tests+extensions.swift"
      ],
      "target_dependencies" : [
        "DSFRegex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFRegex",
      "module_type" : "SwiftTarget",
      "name" : "DSFRegex",
      "path" : "Sources/DSFRegex",
      "product_memberships" : [
        "DSFRegex",
        "DSFRegex-static",
        "DSFRegex-dynamic"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFRegex/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DSFRegex.swift",
        "String+CursorExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/7] Write sources
[1/7] Copying PrivacyInfo.xcprivacy
[2/7] Write swift-version-2F0A5646E1D333AE.txt
[4/11] Compiling DSFRegex resource_bundle_accessor.swift
[5/11] Compiling DSFRegex DSFRegex.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:392:13: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
390 | private extension DSFRegex.Capture {
391 | 	/// An empty capture object.
392 | 	static var empty = "".startIndex ..< "".endIndex
    |             |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
393 | }
394 |
[6/11] Emitting module DSFRegex
/Users/admin/builder/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:392:13: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
390 | private extension DSFRegex.Capture {
391 | 	/// An empty capture object.
392 | 	static var empty = "".startIndex ..< "".endIndex
    |             |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
393 | }
394 |
[7/11] Compiling DSFRegex String+CursorExtensions.swift
[7/11] Write Objects.LinkFileList
[9/11] Archiving libDSFRegex-static.a
[10/11] Linking libDSFRegex-dynamic.dylib
Build complete! (4.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFRegex",
  "name" : "DSFRegex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DSFRegex",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFRegex-static",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFRegex-dynamic",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFRegexTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFRegexTests",
      "path" : "Tests/DSFRegexTests",
      "sources" : [
        "DSFRegexTests.swift",
        "String+extensions.swift",
        "Tests+extensions.swift"
      ],
      "target_dependencies" : [
        "DSFRegex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFRegex",
      "module_type" : "SwiftTarget",
      "name" : "DSFRegex",
      "path" : "Sources/DSFRegex",
      "product_memberships" : [
        "DSFRegex",
        "DSFRegex-static",
        "DSFRegex-dynamic"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFRegex/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DSFRegex.swift",
        "String+CursorExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.