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 Covfefe, reference 0.6.1 (33b8f9), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 01:15:40 UTC.

Swift 6 data race errors: 8

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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/palle-k/Covfefe.git
Reference: 0.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/palle-k/Covfefe
 * tag               0.6.1      -> FETCH_HEAD
HEAD is now at 33b8f9e Adds Grammar Codable conformance
Cloned https://github.com/palle-k/Covfefe.git
Revision (git rev-parse @):
33b8f9e07c5e6970ff6241a1eb318d63179fa677
SUCCESS checkout https://github.com/palle-k/Covfefe.git at 0.6.1
========================================
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": "covfefe",
      "name": "Covfefe",
      "url": "https://github.com/palle-k/Covfefe.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Covfefe",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/palle-k/Covfefe.git
[1/2438] Fetching covfefe
Fetched https://github.com/palle-k/Covfefe.git from cache (1.32s)
Creating working copy for https://github.com/palle-k/Covfefe.git
Working copy of https://github.com/palle-k/Covfefe.git resolved at 0.6.1 (33b8f9e)
warning: '.resolve-product-dependencies': dependency 'covfefe' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/palle-k/Covfefe.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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/20] Compiling Covfefe Tokenizer.swift
[4/20] Compiling Covfefe Grammar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:55:13: warning: stored property 'reason' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'SyntaxError.Reason'; this is an error in the Swift 6 language mode
 35 | 	/// - unmatchedPattern: A pattern was found which could not be merged
 36 | 	/// - unexpectedToken: A token was found that was not expected
 37 | 	public enum Reason {
    |              `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
 38 | 		/// An empty string was provided but the grammar does not allow empty productions
 39 | 		case emptyNotAllowed
    :
 53 |
 54 | 	/// Reason for the error
 55 | 	public let reason: Reason
    |             `- warning: stored property 'reason' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'SyntaxError.Reason'; this is an error in the Swift 6 language mode
 56 |
 57 | 	/// The context around the error
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:58:13: warning: stored property 'context' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type '[NonTerminal]'; this is an error in the Swift 6 language mode
 56 |
 57 | 	/// The context around the error
 58 | 	public let context: [NonTerminal]
    |             `- warning: stored property 'context' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type '[NonTerminal]'; this is an error in the Swift 6 language mode
 59 |
 60 | 	/// The string for which the parsing was unsuccessful.
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Symbols.swift:29:15: note: consider making struct 'NonTerminal' conform to the 'Sendable' protocol
 27 |
 28 | /// A non-terminal symbol, which cannot occurr in a word recognized by a parser
 29 | public struct NonTerminal: Codable, Hashable {
    |               `- note: consider making struct 'NonTerminal' conform to the 'Sendable' protocol
 30 |
 31 | 	public static func ==(lhs: NonTerminal, rhs: NonTerminal) -> Bool {
[5/20] Compiling Covfefe GrammarCheck.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:55:13: warning: stored property 'reason' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'SyntaxError.Reason'; this is an error in the Swift 6 language mode
 35 | 	/// - unmatchedPattern: A pattern was found which could not be merged
 36 | 	/// - unexpectedToken: A token was found that was not expected
 37 | 	public enum Reason {
    |              `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
 38 | 		/// An empty string was provided but the grammar does not allow empty productions
 39 | 		case emptyNotAllowed
    :
 53 |
 54 | 	/// Reason for the error
 55 | 	public let reason: Reason
    |             `- warning: stored property 'reason' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'SyntaxError.Reason'; this is an error in the Swift 6 language mode
 56 |
 57 | 	/// The context around the error
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:58:13: warning: stored property 'context' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type '[NonTerminal]'; this is an error in the Swift 6 language mode
 56 |
 57 | 	/// The context around the error
 58 | 	public let context: [NonTerminal]
    |             `- warning: stored property 'context' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type '[NonTerminal]'; this is an error in the Swift 6 language mode
 59 |
 60 | 	/// The string for which the parsing was unsuccessful.
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Symbols.swift:29:15: note: consider making struct 'NonTerminal' conform to the 'Sendable' protocol
 27 |
 28 | /// A non-terminal symbol, which cannot occurr in a word recognized by a parser
 29 | public struct NonTerminal: Codable, Hashable {
    |               `- note: consider making struct 'NonTerminal' conform to the 'Sendable' protocol
 30 |
 31 | 	public static func ==(lhs: NonTerminal, rhs: NonTerminal) -> Bool {
[6/20] Compiling Covfefe Normalization.swift
[7/20] Compiling Covfefe Parser.swift
[8/20] Compiling Covfefe StringUtility.swift
[9/20] Compiling Covfefe Symbols.swift
[10/20] Compiling Covfefe CYKParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:32:20: warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | 	/// Whitespace characters (space, tab and line break)
 32 | 	public static let whitespace = ProductionResult(SymbolSet(" \t\n".map(String.init).map(t)))
    |                    |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'whitespace' 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
 33 |
 34 | 	/// Lower case letters a to z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:35:20: warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |
 34 | 	/// Lower case letters a to z
 35 | 	public static let lowercase = ProductionResult(SymbolSet("abcdefghijklmnopqrstuvwxyz".map(String.init).map(t)))
    |                    |- warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lowercase' 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
 36 |
 37 | 	/// Upper case letters A to Z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:38:20: warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 36 |
 37 | 	/// Upper case letters A to Z
 38 | 	public static let uppercase = ProductionResult(SymbolSet("ABCDEFGHIJKLMNOPQRSTUVWXYZ".map(String.init).map(t)))
    |                    |- warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'uppercase' 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
 39 |
 40 | 	/// Decimal digits 0 to 9
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:41:20: warning: static property 'numbers' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 39 |
 40 | 	/// Decimal digits 0 to 9
 41 | 	public static let numbers = ProductionResult(SymbolSet((0...9).map(String.init).map(t)))
    |                    |- warning: static property 'numbers' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'numbers' 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
 42 |
 43 | 	/// Lower and upper case letters a to z and A to Z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
[11/20] Compiling Covfefe CharacterSets.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:32:20: warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | 	/// Whitespace characters (space, tab and line break)
 32 | 	public static let whitespace = ProductionResult(SymbolSet(" \t\n".map(String.init).map(t)))
    |                    |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'whitespace' 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
 33 |
 34 | 	/// Lower case letters a to z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:35:20: warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |
 34 | 	/// Lower case letters a to z
 35 | 	public static let lowercase = ProductionResult(SymbolSet("abcdefghijklmnopqrstuvwxyz".map(String.init).map(t)))
    |                    |- warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lowercase' 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
 36 |
 37 | 	/// Upper case letters A to Z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:38:20: warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 36 |
 37 | 	/// Upper case letters A to Z
 38 | 	public static let uppercase = ProductionResult(SymbolSet("ABCDEFGHIJKLMNOPQRSTUVWXYZ".map(String.init).map(t)))
    |                    |- warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'uppercase' 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
 39 |
 40 | 	/// Decimal digits 0 to 9
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:41:20: warning: static property 'numbers' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 39 |
 40 | 	/// Decimal digits 0 to 9
 41 | 	public static let numbers = ProductionResult(SymbolSet((0...9).map(String.init).map(t)))
    |                    |- warning: static property 'numbers' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'numbers' 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
 42 |
 43 | 	/// Lower and upper case letters a to z and A to Z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
[12/20] Compiling Covfefe EBNFImporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:32:20: warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | 	/// Whitespace characters (space, tab and line break)
 32 | 	public static let whitespace = ProductionResult(SymbolSet(" \t\n".map(String.init).map(t)))
    |                    |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'whitespace' 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
 33 |
 34 | 	/// Lower case letters a to z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
[13/20] Compiling Covfefe EarleyParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:32:20: warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | 	/// Whitespace characters (space, tab and line break)
 32 | 	public static let whitespace = ProductionResult(SymbolSet(" \t\n".map(String.init).map(t)))
    |                    |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'whitespace' 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
 33 |
 34 | 	/// Lower case letters a to z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
[14/20] Emitting module Covfefe
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/ABNFImporter.swift:28:5: warning: let 'abnfGrammar' is not concurrency-safe because non-'Sendable' type 'Grammar' may have shared mutable state; this is an error in the Swift 6 language mode
 26 | import Foundation
 27 |
 28 | let abnfGrammar: Grammar = {
    |     |- warning: let 'abnfGrammar' is not concurrency-safe because non-'Sendable' type 'Grammar' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'abnfGrammar' 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
 29 |     let abnfStr = """
 30 |     rule-list = [whitespace], [{rule, whitespace}], rule, [whitespace], [eof-comment] | [whitespace], [eof-comment];
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:138:15: note: consider making struct 'Grammar' conform to the 'Sendable' protocol
136 | /// can recognize the expression `a+a+a+a` in 5 different ways:
137 | /// `((a+a)+a)+a`, `(a+(a+a))+a`, `a+(a+(a+a))`, `a+((a+a)+a)`, `(a+a)+(a+a)`.
138 | public struct Grammar {
    |               `- note: consider making struct 'Grammar' conform to the 'Sendable' protocol
139 |
140 | 	/// Productions for generating words of the language generated by this grammar
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/ABNFImporter.swift:92:24: warning: static property 'coreRules' is not concurrency-safe because non-'Sendable' type '[Production]' may have shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 | public extension Grammar {
 92 |     private static let coreRules: [Production] = [
    |                        |- warning: static property 'coreRules' is not concurrency-safe because non-'Sendable' type '[Production]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'coreRules' 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
 93 |         Production(pattern: NonTerminal(name: "ALPHA"), production: [.terminal(Terminal(range: "A" ... "Z"))]),
 94 |         Production(pattern: NonTerminal(name: "ALPHA"), production: [.terminal(Terminal(range: "a" ... "z"))]),
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Productions.swift:29:15: note: consider making struct 'Production' conform to the 'Sendable' protocol
 27 |
 28 | /// A production describing what symbols can be generated starting from a given non-terminal pattern
 29 | public struct Production: Codable {
    |               `- note: consider making struct 'Production' conform to the 'Sendable' protocol
 30 |
 31 | 	/// Starting pattern
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:32:20: warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | 	/// Whitespace characters (space, tab and line break)
 32 | 	public static let whitespace = ProductionResult(SymbolSet(" \t\n".map(String.init).map(t)))
    |                    |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'whitespace' 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
 33 |
 34 | 	/// Lower case letters a to z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:35:20: warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |
 34 | 	/// Lower case letters a to z
 35 | 	public static let lowercase = ProductionResult(SymbolSet("abcdefghijklmnopqrstuvwxyz".map(String.init).map(t)))
    |                    |- warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'lowercase' 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
 36 |
 37 | 	/// Upper case letters A to Z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:38:20: warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 36 |
 37 | 	/// Upper case letters A to Z
 38 | 	public static let uppercase = ProductionResult(SymbolSet("ABCDEFGHIJKLMNOPQRSTUVWXYZ".map(String.init).map(t)))
    |                    |- warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'uppercase' 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
 39 |
 40 | 	/// Decimal digits 0 to 9
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:41:20: warning: static property 'numbers' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 39 |
 40 | 	/// Decimal digits 0 to 9
 41 | 	public static let numbers = ProductionResult(SymbolSet((0...9).map(String.init).map(t)))
    |                    |- warning: static property 'numbers' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'numbers' 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
 42 |
 43 | 	/// Lower and upper case letters a to z and A to Z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:55:13: warning: stored property 'reason' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'SyntaxError.Reason'; this is an error in the Swift 6 language mode
 35 | 	/// - unmatchedPattern: A pattern was found which could not be merged
 36 | 	/// - unexpectedToken: A token was found that was not expected
 37 | 	public enum Reason {
    |              `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
 38 | 		/// An empty string was provided but the grammar does not allow empty productions
 39 | 		case emptyNotAllowed
    :
 53 |
 54 | 	/// Reason for the error
 55 | 	public let reason: Reason
    |             `- warning: stored property 'reason' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'SyntaxError.Reason'; this is an error in the Swift 6 language mode
 56 |
 57 | 	/// The context around the error
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:58:13: warning: stored property 'context' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type '[NonTerminal]'; this is an error in the Swift 6 language mode
 56 |
 57 | 	/// The context around the error
 58 | 	public let context: [NonTerminal]
    |             `- warning: stored property 'context' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type '[NonTerminal]'; this is an error in the Swift 6 language mode
 59 |
 60 | 	/// The string for which the parsing was unsuccessful.
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Symbols.swift:29:15: note: consider making struct 'NonTerminal' conform to the 'Sendable' protocol
 27 |
 28 | /// A non-terminal symbol, which cannot occurr in a word recognized by a parser
 29 | public struct NonTerminal: Codable, Hashable {
    |               `- note: consider making struct 'NonTerminal' conform to the 'Sendable' protocol
 30 |
 31 | 	public static func ==(lhs: NonTerminal, rhs: NonTerminal) -> Bool {
[15/20] Compiling Covfefe ABNFImporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/ABNFImporter.swift:28:5: warning: let 'abnfGrammar' is not concurrency-safe because non-'Sendable' type 'Grammar' may have shared mutable state; this is an error in the Swift 6 language mode
 26 | import Foundation
 27 |
 28 | let abnfGrammar: Grammar = {
    |     |- warning: let 'abnfGrammar' is not concurrency-safe because non-'Sendable' type 'Grammar' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'abnfGrammar' 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
 29 |     let abnfStr = """
 30 |     rule-list = [whitespace], [{rule, whitespace}], rule, [whitespace], [eof-comment] | [whitespace], [eof-comment];
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:138:15: note: consider making struct 'Grammar' conform to the 'Sendable' protocol
136 | /// can recognize the expression `a+a+a+a` in 5 different ways:
137 | /// `((a+a)+a)+a`, `(a+(a+a))+a`, `a+(a+(a+a))`, `a+((a+a)+a)`, `(a+a)+(a+a)`.
138 | public struct Grammar {
    |               `- note: consider making struct 'Grammar' conform to the 'Sendable' protocol
139 |
140 | 	/// Productions for generating words of the language generated by this grammar
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/ABNFImporter.swift:92:24: warning: static property 'coreRules' is not concurrency-safe because non-'Sendable' type '[Production]' may have shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 | public extension Grammar {
 92 |     private static let coreRules: [Production] = [
    |                        |- warning: static property 'coreRules' is not concurrency-safe because non-'Sendable' type '[Production]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'coreRules' 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
 93 |         Production(pattern: NonTerminal(name: "ALPHA"), production: [.terminal(Terminal(range: "A" ... "Z"))]),
 94 |         Production(pattern: NonTerminal(name: "ALPHA"), production: [.terminal(Terminal(range: "a" ... "z"))]),
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Productions.swift:29:15: note: consider making struct 'Production' conform to the 'Sendable' protocol
 27 |
 28 | /// A production describing what symbols can be generated starting from a given non-terminal pattern
 29 | public struct Production: Codable {
    |               `- note: consider making struct 'Production' conform to the 'Sendable' protocol
 30 |
 31 | 	/// Starting pattern
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:32:20: warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | 	/// Whitespace characters (space, tab and line break)
 32 | 	public static let whitespace = ProductionResult(SymbolSet(" \t\n".map(String.init).map(t)))
    |                    |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'whitespace' 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
 33 |
 34 | 	/// Lower case letters a to z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
[16/20] Compiling Covfefe BNFImporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/ABNFImporter.swift:28:5: warning: let 'abnfGrammar' is not concurrency-safe because non-'Sendable' type 'Grammar' may have shared mutable state; this is an error in the Swift 6 language mode
 26 | import Foundation
 27 |
 28 | let abnfGrammar: Grammar = {
    |     |- warning: let 'abnfGrammar' is not concurrency-safe because non-'Sendable' type 'Grammar' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'abnfGrammar' 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
 29 |     let abnfStr = """
 30 |     rule-list = [whitespace], [{rule, whitespace}], rule, [whitespace], [eof-comment] | [whitespace], [eof-comment];
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Grammar.swift:138:15: note: consider making struct 'Grammar' conform to the 'Sendable' protocol
136 | /// can recognize the expression `a+a+a+a` in 5 different ways:
137 | /// `((a+a)+a)+a`, `(a+(a+a))+a`, `a+(a+(a+a))`, `a+((a+a)+a)`, `(a+a)+(a+a)`.
138 | public struct Grammar {
    |               `- note: consider making struct 'Grammar' conform to the 'Sendable' protocol
139 |
140 | 	/// Productions for generating words of the language generated by this grammar
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/ABNFImporter.swift:92:24: warning: static property 'coreRules' is not concurrency-safe because non-'Sendable' type '[Production]' may have shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 | public extension Grammar {
 92 |     private static let coreRules: [Production] = [
    |                        |- warning: static property 'coreRules' is not concurrency-safe because non-'Sendable' type '[Production]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'coreRules' 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
 93 |         Production(pattern: NonTerminal(name: "ALPHA"), production: [.terminal(Terminal(range: "A" ... "Z"))]),
 94 |         Production(pattern: NonTerminal(name: "ALPHA"), production: [.terminal(Terminal(range: "a" ... "z"))]),
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/Productions.swift:29:15: note: consider making struct 'Production' conform to the 'Sendable' protocol
 27 |
 28 | /// A production describing what symbols can be generated starting from a given non-terminal pattern
 29 | public struct Production: Codable {
    |               `- note: consider making struct 'Production' conform to the 'Sendable' protocol
 30 |
 31 | 	/// Starting pattern
/Users/admin/builder/spi-builder-workspace/Sources/Covfefe/CharacterSets.swift:32:20: warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | 	/// Whitespace characters (space, tab and line break)
 32 | 	public static let whitespace = ProductionResult(SymbolSet(" \t\n".map(String.init).map(t)))
    |                    |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'ProductionResult' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'whitespace' 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
 33 |
 34 | 	/// Lower case letters a to z
    :
114 | ///		"A" --> n("B") <|> t("x")
115 | /// 				 	^ generates a production result
116 | public struct ProductionResult {
    |               `- note: consider making struct 'ProductionResult' conform to the 'Sendable' protocol
117 |
118 | 	/// The possible production strings of this result
[17/20] Compiling Covfefe SyntaxTree.swift
[18/20] Compiling Covfefe Terminal.swift
[19/20] Compiling Covfefe PrefixGrammar.swift
[20/20] Compiling Covfefe Productions.swift
[21/21] Compiling Covfefe Utility.swift
Build complete! (15.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Covfefe",
  "name" : "Covfefe",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Covfefe",
      "targets" : [
        "Covfefe"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CovfefeTests",
      "module_type" : "SwiftTarget",
      "name" : "CovfefeTests",
      "path" : "Tests/CovfefeTests",
      "sources" : [
        "ABNFTests.swift",
        "AmbiguousGrammarTests.swift",
        "BNFTests.swift",
        "CYKParserTests.swift",
        "EBNFTests.swift",
        "EarleyParserTests.swift",
        "ParserTests.swift",
        "PerformanceTests.swift",
        "PrefixGrammarTests.swift",
        "ProductionTests.swift",
        "SyntaxTreeTests.swift",
        "UtilitiesTest.swift"
      ],
      "target_dependencies" : [
        "Covfefe"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Covfefe",
      "module_type" : "SwiftTarget",
      "name" : "Covfefe",
      "path" : "Sources/Covfefe",
      "product_memberships" : [
        "Covfefe"
      ],
      "sources" : [
        "ABNFImporter.swift",
        "BNFImporter.swift",
        "CYKParser.swift",
        "CharacterSets.swift",
        "EBNFImporter.swift",
        "EarleyParser.swift",
        "Grammar.swift",
        "GrammarCheck.swift",
        "Normalization.swift",
        "Parser.swift",
        "PrefixGrammar.swift",
        "Productions.swift",
        "StringUtility.swift",
        "Symbols.swift",
        "SyntaxTree.swift",
        "Terminal.swift",
        "Tokenizer.swift",
        "Utility.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.