The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of DSFRegex, reference 4.0.0 (c576aa), with Swift 6.1 for Linux on 3 Jun 2025 01:58:03 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFRegex.git
Reference: 4.0.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               4.0.0      -> FETCH_HEAD
HEAD is now at c576aab Minor updates
Cloned https://github.com/dagronf/DSFRegex.git
Revision (git rev-parse @):
c576aab25f88bcb4b549862e6269b6f90b917e0c
SUCCESS checkout https://github.com/dagronf/DSFRegex.git at 4.0.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",
        "String+regex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
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/13] Compiling DSFRegex String+regex.swift
[5/13] Compiling DSFRegex resource_bundle_accessor.swift
[6/13] Compiling DSFRegex DSFRegex.swift
/host/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:404: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
402 | private extension DSFRegex.Capture {
403 | 	/// An empty capture object.
404 | 	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
405 | }
406 |
[7/13] Emitting module DSFRegex
/host/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:404: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
402 | private extension DSFRegex.Capture {
403 | 	/// An empty capture object.
404 | 	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
405 | }
406 |
[8/13] Compiling DSFRegex String+CursorExtensions.swift
[9/14] Wrapping AST for DSFRegex for debugging
[10/14] Write Objects.LinkFileList
[12/14] Archiving libDSFRegex-static.a
[13/14] Linking libDSFRegex-dynamic.so
Build complete! (6.74s)
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",
        "String+regex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.