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.1 for Linux on 26 Apr 2025 10:32:05 UTC.

Swift 6 data race errors: 8

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/palle-k/Covfefe.git
Reference: 0.6.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/palle-k/Covfefe.git
https://github.com/palle-k/Covfefe.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Covfefe",
  "name" : "Covfefe",
  "path" : "/host/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"
}
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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/19] Compiling Covfefe CharacterSets.swift
/host/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: add '@MainActor' to make static property 'whitespace' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'numbers' part of global actor 'MainActor'
    |                    `- 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
[4/19] Compiling Covfefe EBNFImporter.swift
/host/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: add '@MainActor' to make static property 'whitespace' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'numbers' part of global actor 'MainActor'
    |                    `- 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
[5/19] Compiling Covfefe EarleyParser.swift
/host/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: add '@MainActor' to make static property 'whitespace' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'numbers' part of global actor 'MainActor'
    |                    `- 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
[6/21] Compiling Covfefe ABNFImporter.swift
/host/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: add '@MainActor' to make let 'abnfGrammar' part of global actor 'MainActor'
    |     `- 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];
/host/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
/host/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: add '@MainActor' to make static property 'coreRules' part of global actor 'MainActor'
    |                        `- 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"))]),
/host/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
[7/21] Compiling Covfefe BNFImporter.swift
/host/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: add '@MainActor' to make let 'abnfGrammar' part of global actor 'MainActor'
    |     `- 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];
/host/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
/host/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: add '@MainActor' to make static property 'coreRules' part of global actor 'MainActor'
    |                        `- 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"))]),
/host/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
[8/21] Compiling Covfefe CYKParser.swift
/host/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: add '@MainActor' to make let 'abnfGrammar' part of global actor 'MainActor'
    |     `- 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];
/host/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
/host/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: add '@MainActor' to make static property 'coreRules' part of global actor 'MainActor'
    |                        `- 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"))]),
/host/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
[9/21] Compiling Covfefe SyntaxTree.swift
[10/21] Compiling Covfefe Terminal.swift
[11/21] Compiling Covfefe StringUtility.swift
[12/21] Compiling Covfefe Symbols.swift
[13/21] Compiling Covfefe Normalization.swift
[14/21] Compiling Covfefe Parser.swift
[15/21] Compiling Covfefe PrefixGrammar.swift
[16/21] Compiling Covfefe Productions.swift
[17/21] Emitting module Covfefe
/host/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: add '@MainActor' to make let 'abnfGrammar' part of global actor 'MainActor'
    |     `- 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];
/host/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
/host/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: add '@MainActor' to make static property 'coreRules' part of global actor 'MainActor'
    |                        `- 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"))]),
/host/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
/host/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: add '@MainActor' to make static property 'whitespace' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
    |                    `- 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
/host/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: add '@MainActor' to make static property 'numbers' part of global actor 'MainActor'
    |                    `- 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
/host/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
/host/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.
/host/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 {
[18/21] Compiling Covfefe Grammar.swift
/host/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
/host/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.
/host/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 {
[19/21] Compiling Covfefe GrammarCheck.swift
/host/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
/host/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.
/host/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 {
[20/21] Compiling Covfefe Tokenizer.swift
[21/21] Compiling Covfefe Utility.swift
Build complete! (8.62s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Covfefe",
  "name" : "Covfefe",
  "path" : "/host/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"
}
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.