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.0 for macOS (SPM) on 8 Nov 2024 16:45:16 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptsochantaris/can-proceed.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/ptsochantaris/lista
[1/159] Fetching lista
Fetched https://github.com/ptsochantaris/lista from cache (1.68s)
Creating working copy for https://github.com/ptsochantaris/lista
Working copy of https://github.com/ptsochantaris/lista resolved at main (7d6cf8b)
========================================
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": "can-proceed",
      "name": "CanProceed",
      "url": "https://github.com/ptsochantaris/can-proceed.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/can-proceed",
      "dependencies": [
        {
          "identity": "lista",
          "name": "Lista",
          "url": "https://github.com/ptsochantaris/lista",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lista",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ptsochantaris/can-proceed.git
[1/95] Fetching can-proceed
Fetched https://github.com/ptsochantaris/can-proceed.git from cache (0.72s)
Fetching https://github.com/ptsochantaris/lista from cache
Fetched https://github.com/ptsochantaris/lista from cache (0.51s)
Creating working copy for https://github.com/ptsochantaris/can-proceed.git
Working copy of https://github.com/ptsochantaris/can-proceed.git resolved at 1.0.1 (5d47608)
Creating working copy for https://github.com/ptsochantaris/lista
Working copy of https://github.com/ptsochantaris/lista resolved at main (588790a)
warning: '.resolve-product-dependencies': dependency 'can-proceed' is not used by any target
Found 1 product dependencies
  - Lista
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ptsochantaris/can-proceed.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Compiling Lista Lista.swift
[5/5] Emitting module Lista
[6/11] Compiling CanProceed CanProceed.swift
[7/11] Compiling CanProceed Collection+Extension.swift
[8/11] Compiling CanProceed GroupMemberRecord.swift
/Users/admin/builder/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: annotate 'regexSpecialChars' with '@MainActor' if property should only be accessed from the main actor
   |                            `- 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, *)
/Users/admin/builder/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: annotate 'wildCardPattern' with '@MainActor' if property should only be accessed from the main actor
   |                            `- 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, *)
/Users/admin/builder/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: annotate 'EOLPattern' with '@MainActor' if property should only be accessed from the main actor
   |                            `- 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, *)
[9/11] Compiling CanProceed Decision.swift
[10/11] Compiling CanProceed Agent.swift
[11/11] Emitting module CanProceed
/Users/admin/builder/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: annotate 'regexSpecialChars' with '@MainActor' if property should only be accessed from the main actor
   |                            `- 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, *)
/Users/admin/builder/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: annotate 'wildCardPattern' with '@MainActor' if property should only be accessed from the main actor
   |                            `- 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, *)
/Users/admin/builder/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: annotate 'EOLPattern' with '@MainActor' if property should only be accessed from the main actor
   |                            `- 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, *)
Build complete! (9.89s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "lista",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ptsochantaris/lista"
    }
  ],
  "manifest_display_name" : "CanProceed",
  "name" : "CanProceed",
  "path" : "/Users/admin/builder/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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/ptsochantaris/can-proceed/1.0.1
Repository:               ptsochantaris/can-proceed
Swift version used:       6.0
Target:                   CanProceed
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'CanProceed'...
Finished extracting symbol information for 'CanProceed'. (2.96s)
Building documentation for 'CanProceed'...
warning: Parameter 'path' not found in instance method declaration
  --> ../Agent.swift:18:13-18:55
16 |         /// Tests whether the agent named in this section is allowed to proceed or not down the suplied path, record specicifity into account.
17 |         ///
18 +         /// - Parameter path: The path to test against
   |             ╰─suggestion: Remove 'path' parameter documentation
19 |         /// - Returns: The decision based on the logic of each record, weighed by their specicifity. The decision can be an explicit yes,
20 |         /// an explicit no, or the path may not be affected at all by this agent section.
warning: Parameter 'to' is missing documentation
  --> ../Agent.swift:18:55-18:55
16 |         /// Tests whether the agent named in this section is allowed to proceed or not down the suplied path, record specicifity into account.
17 |         ///
18 +         /// - Parameter path: The path to test against
   |                                                       ╰─suggestion: Document 'to' parameter
19 |         /// - Returns: The decision based on the logic of each record, weighed by their specicifity. The decision can be an explicit yes,
20 |         /// an explicit no, or the path may not be affected at all by this agent section.Finished building documentation for 'CanProceed' (0.12s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/ptsochantaris/can-proceed/1.0.1
Updating https://github.com/ptsochantaris/lista
Updated https://github.com/ptsochantaris/lista (0.46s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit Identifier.swift
[7/53] Compiling SymbolKit KindIdentifier.swift
[8/53] Compiling SymbolKit Location.swift
[9/53] Compiling SymbolKit Mutability.swift
[10/57] Compiling SymbolKit GenericConstraint.swift
[11/57] Compiling SymbolKit GenericParameter.swift
[12/57] Compiling SymbolKit Generics.swift
[13/57] Compiling SymbolKit Namespace.swift
[14/57] Compiling SymbolKit DeclarationFragments.swift
[15/57] Compiling SymbolKit Fragment.swift
[16/57] Compiling SymbolKit FragmentKind.swift
[17/57] Compiling SymbolKit FunctionParameter.swift
[18/57] Compiling SymbolKit FunctionSignature.swift
[19/57] Emitting module SymbolKit
[20/57] Compiling SymbolKit SourceRange.swift
[21/57] Compiling SymbolKit Metadata.swift
[22/57] Compiling SymbolKit Module.swift
[23/57] Compiling SymbolKit OperatingSystem.swift
[24/57] Compiling SymbolKit Platform.swift
[25/57] Compiling SymbolKit Mixin+Equals.swift
[26/57] Compiling SymbolKit Mixin+Hash.swift
[27/57] Compiling SymbolKit Mixin.swift
[28/57] Compiling SymbolKit LineList.swift
[29/57] Compiling SymbolKit Position.swift
[30/57] Compiling SymbolKit Relationship.swift
[31/57] Compiling SymbolKit RelationshipKind.swift
[32/57] Compiling SymbolKit SourceOrigin.swift
[33/57] Compiling SymbolKit GenericConstraints.swift
[34/57] Compiling SymbolKit Swift.swift
[35/57] Compiling SymbolKit SemanticVersion.swift
[36/57] Compiling SymbolKit AccessControl.swift
[37/57] Compiling SymbolKit Availability.swift
[38/57] Compiling SymbolKit AvailabilityItem.swift
[39/57] Compiling SymbolKit Domain.swift
[40/57] Compiling SymbolKit Symbol.swift
[41/57] Compiling SymbolKit SymbolKind.swift
[42/57] Compiling SymbolKit SymbolGraph.swift
[43/57] Compiling SymbolKit GraphCollector.swift
[44/57] Compiling SymbolKit Names.swift
[45/57] Compiling SymbolKit SPI.swift
[46/57] Compiling SymbolKit Snippet.swift
[47/57] Compiling SymbolKit Extension.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.76s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling Lista Lista.swift
[3/3] Emitting module Lista
[4/9] Compiling CanProceed GroupMemberRecord.swift
[5/9] Compiling CanProceed Decision.swift
[6/9] Compiling CanProceed Collection+Extension.swift
[7/9] Emitting module CanProceed
[8/9] Compiling CanProceed CanProceed.swift
[9/9] Compiling CanProceed Agent.swift
Build of target: 'CanProceed' complete! (0.96s)
     102
2	/Users/admin/builder/spi-builder-workspace/.docs/ptsochantaris/can-proceed/1.0.1
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/ptsochantaris/can-proceed/1.0.1
File count: 102
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-ptsochantaris-can-proceed-1.0.1-9d6b5e2f.zip to s3://spi-docs-inbox/prod-ptsochantaris-can-proceed-1.0.1-9d6b5e2f.zip
Copying... [17%]
Copying... [34%]
Copying... [51%]
Copying... [68%]
Copying... [85%]
Copying... [100%]
Done.