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 3.4.0 (e0e648), with Swift 6.1 for Linux on 28 Apr 2025 14:25:07 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFRegex.git
Reference: 3.4.0
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/dagronf/DSFRegex
 * tag               3.4.0      -> FETCH_HEAD
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 3.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/DSFRegex.git
https://github.com/dagronf/DSFRegex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFRegex",
  "name" : "DSFRegex",
  "path" : "/host/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" : "/host/spi-builder-workspace/Sources/DSFRegex/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DSFRegex.swift",
        "String+CursorExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/8] Write sources
[1/8] Copying PrivacyInfo.xcprivacy
[2/8] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling DSFRegex resource_bundle_accessor.swift
[5/12] Compiling DSFRegex String+CursorExtensions.swift
[6/12] Emitting module DSFRegex
/host/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/12] Compiling DSFRegex DSFRegex.swift
/host/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 |
[8/13] Wrapping AST for DSFRegex for debugging
[9/13] Write Objects.LinkFileList
[11/13] Archiving libDSFRegex-static.a
[12/13] Linking libDSFRegex-dynamic.so
Build complete! (5.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFRegex",
  "name" : "DSFRegex",
  "path" : "/host/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" : "/host/spi-builder-workspace/Sources/DSFRegex/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DSFRegex.swift",
        "String+CursorExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.