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 CanProceed, reference 1.0.1 (5d4760), with Swift 6.1 for Linux on 28 Apr 2025 10:22:19 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptsochantaris/can-proceed.git
Reference: 1.0.1
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/ptsochantaris/can-proceed
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 5d47608 Bumped up iOS support to correct level
Cloned https://github.com/ptsochantaris/can-proceed.git
Revision (git rev-parse @):
5d476082d14e4761b5d76c19b060224c1cb60b25
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ptsochantaris/can-proceed.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ptsochantaris/can-proceed.git
https://github.com/ptsochantaris/can-proceed.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "lista",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ptsochantaris/lista"
    }
  ],
  "manifest_display_name" : "CanProceed",
  "name" : "CanProceed",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "CanProceed",
      "targets" : [
        "CanProceed"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CanProceedTests",
      "module_type" : "SwiftTarget",
      "name" : "CanProceedTests",
      "path" : "Tests/CanProceedTests",
      "sources" : [
        "CanProceedTests.swift"
      ],
      "target_dependencies" : [
        "CanProceed"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CanProceed",
      "module_type" : "SwiftTarget",
      "name" : "CanProceed",
      "path" : "Sources/CanProceed",
      "product_dependencies" : [
        "Lista"
      ],
      "product_memberships" : [
        "CanProceed"
      ],
      "sources" : [
        "Agent.swift",
        "CanProceed.swift",
        "Collection+Extension.swift",
        "Decision.swift",
        "GroupMemberRecord.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/ptsochantaris/lista
[1/159] Fetching lista
Fetched https://github.com/ptsochantaris/lista from cache (0.25s)
Creating working copy for https://github.com/ptsochantaris/lista
Working copy of https://github.com/ptsochantaris/lista resolved at main (588790a)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Lista
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/5] Compiling Lista Lista.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/12] Compiling CanProceed Decision.swift
[8/12] Compiling CanProceed Collection+Extension.swift
[9/12] Compiling CanProceed GroupMemberRecord.swift
/host/spi-builder-workspace/Sources/CanProceed/GroupMemberRecord.swift:12:28: warning: static property 'regexSpecialChars' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |         let regex: Regex<Substring>
11 |
12 |         private static let regexSpecialChars = #/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/#
   |                            |- warning: static property 'regexSpecialChars' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'regexSpecialChars' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         private static let wildCardPattern = #/\*/#
14 |         private static let EOLPattern = #/\\\$$/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Sources/CanProceed/GroupMemberRecord.swift:13:28: warning: static property 'wildCardPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |         private static let regexSpecialChars = #/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/#
13 |         private static let wildCardPattern = #/\*/#
   |                            |- warning: static property 'wildCardPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'wildCardPattern' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         private static let EOLPattern = #/\\\$$/#
15 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Sources/CanProceed/GroupMemberRecord.swift:14:28: warning: static property 'EOLPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |         private static let regexSpecialChars = #/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/#
13 |         private static let wildCardPattern = #/\*/#
14 |         private static let EOLPattern = #/\\\$$/#
   |                            |- warning: static property 'EOLPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'EOLPattern' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |         /// Initialise a representation of an access control record from a line of text in the robots file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[10/12] Compiling CanProceed Agent.swift
[11/12] Emitting module CanProceed
/host/spi-builder-workspace/Sources/CanProceed/GroupMemberRecord.swift:12:28: warning: static property 'regexSpecialChars' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |         let regex: Regex<Substring>
11 |
12 |         private static let regexSpecialChars = #/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/#
   |                            |- warning: static property 'regexSpecialChars' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'regexSpecialChars' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         private static let wildCardPattern = #/\*/#
14 |         private static let EOLPattern = #/\\\$$/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Sources/CanProceed/GroupMemberRecord.swift:13:28: warning: static property 'wildCardPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |         private static let regexSpecialChars = #/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/#
13 |         private static let wildCardPattern = #/\*/#
   |                            |- warning: static property 'wildCardPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'wildCardPattern' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         private static let EOLPattern = #/\\\$$/#
15 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Sources/CanProceed/GroupMemberRecord.swift:14:28: warning: static property 'EOLPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |         private static let regexSpecialChars = #/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/#
13 |         private static let wildCardPattern = #/\*/#
14 |         private static let EOLPattern = #/\\\$$/#
   |                            |- warning: static property 'EOLPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'EOLPattern' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |         /// Initialise a representation of an access control record from a line of text in the robots file.
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[12/12] Compiling CanProceed CanProceed.swift
Build complete! (11.30s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "lista",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ptsochantaris/lista"
    }
  ],
  "manifest_display_name" : "CanProceed",
  "name" : "CanProceed",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "CanProceed",
      "targets" : [
        "CanProceed"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CanProceedTests",
      "module_type" : "SwiftTarget",
      "name" : "CanProceedTests",
      "path" : "Tests/CanProceedTests",
      "sources" : [
        "CanProceedTests.swift"
      ],
      "target_dependencies" : [
        "CanProceed"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CanProceed",
      "module_type" : "SwiftTarget",
      "name" : "CanProceed",
      "path" : "Sources/CanProceed",
      "product_dependencies" : [
        "Lista"
      ],
      "product_memberships" : [
        "CanProceed"
      ],
      "sources" : [
        "Agent.swift",
        "CanProceed.swift",
        "Collection+Extension.swift",
        "Decision.swift",
        "GroupMemberRecord.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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.