Build Information
Successful build of swift-peg, reference main (726760
), with Swift 6.1 for Linux on 30 Apr 2025 07:47:41 UTC.
Swift 6 data race errors: 71
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
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:477:14: warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
475 | public enum SyntaxError: ParserError, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
476 | /// Generic syntax error.
477 | case invalidSyntax(String, _ mark: Mark, location: String)
| `- warning: associated value 'invalidSyntax(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:480:14: warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
478 |
479 | /// Found end-of-stream unexpectedly.
480 | case unexpectedEof(String, _ mark: Mark, location: String, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'unexpectedEof(_:_:location:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:483:14: warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
481 |
482 | /// An `expectForced` check failed at a given point.
483 | case expectedForcedFailed(String, _ mark: Mark, location: String)
| `- warning: associated value 'expectedForcedFailed(_:_:location:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
484 |
485 | /// Found given token kind, expected one of the following token kinds
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.Mark' (aka 'Tokenizer<RawTokenizer>.Mark'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/Tokenizer.swift:209:19: note: consider making struct 'Mark' conform to the 'Sendable' protocol
207 | /// A marker created by `Tokenizer.mark()`. Can be used to later restore the
208 | /// token stream to a previous location.
209 | public struct Mark: Hashable, Comparable {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
210 | @usableFromInline
211 | var index: Int
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'PEGParser<RawTokenizer>.RawToken' (aka 'RawTokenizer.RawToken'); this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/PEGParser.swift:487:14: warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
485 | /// Found given token kind, expected one of the following token kinds
486 | /// instead.
487 | case expectedToken(String, _ mark: Mark, location: String, received: RawToken, expected: Set<RawToken.TokenKind>)
| `- warning: associated value 'expectedToken(_:_:location:received:expected:)' of 'Sendable'-conforming enum 'SyntaxError' has non-sendable type 'RawTokenizer.RawToken.TokenKind'; this is an error in the Swift 6 language mode
488 |
489 | public var location: String {
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:218:14: warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
216 | /// definition was found that has no syntax defined, so a unified token
217 | /// type cannot be generated.
218 | case tokenDefinitionMissingSyntax(InternalGrammar.TokenDefinition)
| `- warning: associated value 'tokenDefinitionMissingSyntax' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
219 |
220 | /// Issued during token type code generation, indicates the associated
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:223:14: warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
221 | /// `ProcessedGrammar.tokenOcclusionGraph` contains dependants of dynamic
222 | /// tokens that are not static.
223 | case tokenDependantIsNotStatic(
| `- warning: associated value 'tokenDependantIsNotStatic(_:dependant:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'InternalGrammar.TokenDefinition'; this is an error in the Swift 6 language mode
224 | InternalGrammar.TokenDefinition,
225 | dependant: InternalGrammar.TokenDefinition
/host/spi-builder-workspace/Sources/SwiftPEG/GrammarProcessor/InternalGrammar.swift:1071:19: note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1069 | /// ;
1070 | /// ```
1071 | public struct TokenDefinition: Equatable, CustomStringConvertible {
| `- note: consider making struct 'TokenDefinition' conform to the 'Sendable' protocol
1072 | public var name: String
1073 |
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:262:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
258 |
259 | /// Settings that can be specified during parser code generation.
260 | public struct ParserGenSettings {
| `- note: consider making struct 'ParserGenSettings' conform to the 'Sendable' protocol
261 | /// Gets the static default settings configuration.
262 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.ParserGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | omitUnreachable: false,
264 | emitTypesInBindings: false,
/host/spi-builder-workspace/Sources/SwiftPEG/CodeGen+Swift/SwiftCodeGen.swift:337:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
333 |
334 | /// Settings that can be specified during token type code generation.
335 | public struct TokenTypeGenSettings {
| `- note: consider making struct 'TokenTypeGenSettings' conform to the 'Sendable' protocol
336 | /// Gets the static default settings configuration.
337 | public static let `default`: Self = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SwiftCodeGen.TokenTypeGenSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | emitInlinable: false,
339 | accessLevel: nil,
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/RuleDependencyGraph.swift:10:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
2 | /// relationship information between rules in a grammar file that where collected
3 | /// during processing.
4 | public struct RuleDependencyGraph {
| `- note: consider making struct 'RuleDependencyGraph' conform to the 'Sendable' protocol
5 | /// The type of node (or vertex) in this graph.
6 | /// Represents names of rules from a grammar file.
:
8 |
9 | /// Represents an empty graph, with no edges or nodes.
10 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'RuleDependencyGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Gets the set containing all the rule names within this graph.
/host/spi-builder-workspace/Sources/SwiftPEG/Graphing/TokenOcclusionGraph.swift:15:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// Used by code generators to generate appropriate code handling for token
8 | /// occlusion.
9 | public struct TokenOcclusionGraph {
| `- note: consider making struct 'TokenOcclusionGraph' conform to the 'Sendable' protocol
10 | /// The type of node (or vertex) in this graph.
11 | /// Represents names of tokens from a tokens grammar file.
:
13 |
14 | /// Represents an empty graph, with no edges or nodes.
15 | public static let empty = Self(nodes: [], edges: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TokenOcclusionGraph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Gets the set containing all the tokens names within this graph.
[890/901] Wrapping AST for SwiftPEG for debugging
[893/924] Compiling SwiftPEGSample SwiftPEGSample.swift
[894/924] Compiling SwiftPEGSample ArrayRawTokenizer.swift
[895/924] Emitting module SwiftPEGSample
/host/spi-builder-workspace/Sources/SwiftPEGSample/Common/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | extension FileHandle: @retroactive TextOutputStream {
[896/924] Compiling SwiftPEGGenerator Validate.swift
[897/925] Compiling SwiftPEGGenerator Console+Ext.swift
[898/925] Compiling SwiftPEGGenerator CommonOptions.swift
[899/925] Compiling SwiftPEGGenerator GrammarLoader.swift
[900/925] Compiling SwiftPEGGenerator Console+Ext.swift
[901/925] Compiling SwiftPEGGenerator GrammarLoader.swift
[902/926] Emitting module SwiftPEGGenerator
[903/926] Compiling SwiftPEGGenerator GenerateTokenLayout.swift
[904/926] Compiling SwiftPEGGenerator Generate.swift
[905/926] Compiling SwiftPEGSample PerformanceTest.swift
[906/926] Compiling SwiftPEGGenerator CommonOptions.swift
[907/926] Compiling SwiftPEGGenerator GenerateTokenType.swift
[908/926] Compiling SwiftPEGGenerator Validate.swift
[909/926] Compiling SwiftPEGGenerator Generate.swift
[910/926] Emitting module SwiftPEGGenerator
[911/926] Compiling SwiftPEGGenerator SwiftPEGGenerator.swift
[913/927] Compiling SwiftPEGGenerator GenerateTokenLayout.swift
[914/927] Compiling SwiftPEGGenerator GenerateTokenType.swift
[916/928] Compiling SwiftPEGSample Stopwatch.swift
[917/928] Compiling SwiftPEGSample GrammarParsingSample.swift
[918/928] Compiling SwiftPEGSample FileHandle+Ext.swift
/host/spi-builder-workspace/Sources/SwiftPEGSample/Common/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | extension FileHandle: @retroactive TextOutputStream {
[920/929] Wrapping AST for SwiftPEGGenerator for debugging
[921/929] Write Objects.LinkFileList
[922/929] Wrapping AST for SwiftPEGGenerator for debugging
[923/929] Write Objects.LinkFileList
[924/929] Wrapping AST for SwiftPEGSample for debugging
[925/929] Write Objects.LinkFileList
[926/929] Linking SwiftPEGGenerator-tool
[927/929] Linking SwiftPEGSample
[928/929] Linking SwiftPEGGenerator
Build complete! (147.38s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"600.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"exact" : [
"1.4.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "console",
"requirement" : {
"exact" : [
"0.14.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/Console.git"
},
{
"identity" : "minidigraph",
"requirement" : {
"exact" : [
"0.8.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/MiniDigraph.git"
},
{
"identity" : "swiftast",
"requirement" : {
"exact" : [
"0.14.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LuizZak/SwiftAST.git"
}
],
"manifest_display_name" : "swift-peg",
"name" : "swift-peg",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftPEG",
"targets" : [
"SwiftPEG"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftPEGGenerator",
"targets" : [
"SwiftPEGGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftPEGPlugin",
"targets" : [
"SwiftPEGPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "SwiftPEGSample",
"targets" : [
"SwiftPEGSample"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftPEGMacros",
"targets" : [
"SwiftPEGMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftPEGTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPEGTests",
"path" : "Tests/SwiftPEGTests",
"product_dependencies" : [
"Console"
],
"sources" : [
"CodeGen+Swift/CodeStringBufferTests.swift",
"CodeGen+Swift/SwiftCodeGen+TokenTests.swift",
"CodeGen+Swift/SwiftCodeGenTests.swift",
"FixtureTests/ConsoleString_Interpolation+Tests.swift",
"FixtureTests/FixtureDiffingTest.swift",
"FixtureTests/FixtureTest.swift",
"FixtureTests/FixtureTestRunner+Collect.swift",
"FixtureTests/FixtureTestRunner+Run.swift",
"FixtureTests/FixtureTestRunner.swift",
"FixtureTests/FixtureTestRunnerLogger.swift",
"FixtureTests/FixtureTests.swift",
"FixtureTests/LineDiagnosticTarget.swift",
"Grammar/CommonAbstract+TokenAltTests.swift",
"Grammar/CommonAbstract+TokenAtomTests.swift",
"Grammar/CommonAbstract+TokenExclusionTests.swift",
"Grammar/CommonAbstract+TokenItemTests.swift",
"Grammar/CommonAbstract+TokenSyntaxTests.swift",
"Grammar/GrammarParserTests.swift",
"Grammar/GrammarRawTokenizerTests.swift",
"Grammar/SwiftPEGGrammar+StringTests.swift",
"GrammarProcessor/AltReducerTests.swift",
"GrammarProcessor/GrammarProcessor+AltOrderingTests.swift",
"GrammarProcessor/GrammarProcessor+ReachabilityTests.swift",
"GrammarProcessor/GrammarProcessor+RecursivityTests.swift",
"GrammarProcessor/GrammarProcessor+TokenSyntaxTests.swift",
"GrammarProcessor/GrammarProcessorTests.swift",
"GrammarProcessor/InternalGrammarTests.swift",
"Interpreter/GrammarInterpreterTests.swift",
"Interpreter/TokenSyntaxInterpreter+RegexTests.swift",
"Interpreter/TokenSyntaxInterpreter+TokenDelegateTests.swift",
"Interpreter/TokenSyntaxInterpreterTests.swift",
"MetaPropertyManagerTests.swift",
"PEGParserTests+LargeGrammars.swift",
"PEGParserTests+LargeGrammars2.swift",
"PEGParserTests.swift",
"StringStreamTests.swift",
"Stubs/TestGrammarProcessorDelegate.swift",
"Stubs/TestGrammarTokenizer.swift",
"Stubs/TestInterpreterDelegate.swift",
"Stubs/TestRawTokenizer.swift",
"Stubs/TestTokenizer.swift",
"SyntaxNodeLayout/SyntaxNodeLayoutGenTests.swift",
"TestGrammarParser.swift",
"TestSupport/CommonAbstract+Ext.swift",
"TestSupport/Factories.swift",
"TestSupport/GrammarParserToken+Ext.swift",
"TestSupport/GrammarProcessor+Tests.swift",
"TestSupport/InternalGrammar+Ext.swift",
"TestSupport/Stopwatch.swift",
"TestSupport/StringDiffTesting+Tests.swift",
"TestSupport/StringDiffTesting.swift",
"TestSupport/StringMatcher.swift",
"TestSupport/SwiftPEGGrammar+Ext.swift",
"TestSupport/TestSupport.swift",
"TestSupport/URL+Ext.swift",
"TokenizerTests+MarkRestore.swift",
"TokenizerTests.swift",
"Utils/Collection+ExtTests.swift",
"Utils/String+ExtTests.swift"
],
"target_dependencies" : [
"SwiftPEG"
],
"type" : "test"
},
{
"c99name" : "SwiftPEGSample",
"module_type" : "SwiftTarget",
"name" : "SwiftPEGSample",
"path" : "Sources/SwiftPEGSample",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"SwiftPEGSample"
],
"sources" : [
"Common/ArrayRawTokenizer.swift",
"Common/FileHandle+Ext.swift",
"Common/Stopwatch.swift",
"GrammarParsingSample.swift",
"PerformanceTest.swift",
"SwiftPEGSample.swift"
],
"target_dependencies" : [
"SwiftPEGMacros",
"SwiftPEG"
],
"type" : "executable"
},
{
"c99name" : "SwiftPEGPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftPEGPlugin",
"path" : "Plugins/SwiftPEGPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Generate parser or token type file in target where .gram/.tokens file is present",
"type" : "custom",
"verb" : "generate-parser"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Save generated parser or token type code",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"SwiftPEGPlugin"
],
"sources" : [
"GenerateParserPlugin.swift"
],
"target_dependencies" : [
"SwiftPEGGenerator"
],
"type" : "plugin"
},
{
"c99name" : "SwiftPEGMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPEGMacrosTests",
"path" : "Tests/SwiftPEGMacrosTests",
"sources" : [
"EnumAsGetterGeneratorTests.swift",
"EnumIsCaseGeneratorTests.swift",
"NodeTypeMacroTests.swift",
"ParserMemoizeLeftRecursiveMacroTests.swift",
"ParserMemoizeMacroTests.swift"
],
"target_dependencies" : [
"SwiftPEG",
"SwiftPEGMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftPEGMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftPEGMacros",
"path" : "Sources/SwiftPEGMacros",
"product_dependencies" : [
"SwiftDiagnostics",
"SwiftSyntax",
"SwiftSyntaxBuilder",
"SwiftParser",
"SwiftSyntaxMacros",
"SwiftSyntaxMacrosTestSupport",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftPEG",
"SwiftPEGGenerator",
"SwiftPEGPlugin",
"SwiftPEGSample",
"SwiftPEGMacros"
],
"sources" : [
"EnumAsGetterGenerator.swift",
"EnumIsCaseGenerator.swift",
"MacroArgument.swift",
"MacroArgumentParser.swift",
"MacroError.swift",
"NodeTypeMacro.swift",
"ParserMemoizeLeftRecursiveMacro.swift",
"ParserMemoizeMacro.swift",
"Plugin.swift",
"SwiftSyntax/DeclGroupSyntax+Ext.swift",
"SwiftSyntax/FunctionParameterListSyntax+Ext.swift",
"SwiftSyntax/IdentifierTypeSyntax+Ext.swift",
"SwiftSyntax/LabeledExprListSyntax+Ext.swift",
"SwiftSyntax/PatternBindingListSyntax+Ext.swift",
"SwiftSyntax/SwiftSyntax+Ext.swift",
"Utils/String+Ext.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftPEGGenerator",
"module_type" : "SwiftTarget",
"name" : "SwiftPEGGenerator",
"path" : "Sources/SwiftPEGGenerator",
"product_dependencies" : [
"ArgumentParser",
"Console"
],
"product_memberships" : [
"SwiftPEGGenerator",
"SwiftPEGPlugin"
],
"sources" : [
"Commands/Generate.swift",
"Commands/GenerateTokenLayout.swift",
"Commands/GenerateTokenType.swift",
"Commands/Validate.swift",
"Common/CommonOptions.swift",
"Common/Console+Ext.swift",
"Common/GrammarLoader.swift",
"SwiftPEGGenerator.swift"
],
"target_dependencies" : [
"SwiftPEG"
],
"type" : "executable"
},
{
"c99name" : "SwiftPEG",
"module_type" : "SwiftTarget",
"name" : "SwiftPEG",
"path" : "Sources/SwiftPEG",
"product_dependencies" : [
"MiniDigraph",
"SwiftAST"
],
"product_memberships" : [
"SwiftPEG",
"SwiftPEGGenerator",
"SwiftPEGPlugin",
"SwiftPEGSample"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SwiftPEG/Grammar/metagrammar.gram",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftPEG/Grammar/metagrammar.tokens",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BindingEngine.swift",
"CodeGen+Swift/CodeStringBuffer.swift",
"CodeGen+Swift/DeclarationsContext.swift",
"CodeGen+Swift/SwiftASTEmitter+Expression.swift",
"CodeGen+Swift/SwiftASTEmitter+Statement.swift",
"CodeGen+Swift/SwiftASTEmitter+SwiftType.swift",
"CodeGen+Swift/SwiftASTEmitter.swift",
"CodeGen+Swift/SwiftCodeGen+Common.swift",
"CodeGen+Swift/SwiftCodeGen+Parser.swift",
"CodeGen+Swift/SwiftCodeGen+ProducerProtocol.swift",
"CodeGen+Swift/SwiftCodeGen+Repetitions.swift",
"CodeGen+Swift/SwiftCodeGen+SwiftAST.swift",
"CodeGen+Swift/SwiftCodeGen+Token.swift",
"CodeGen+Swift/SwiftCodeGen.swift",
"Error.swift",
"FileSourceLocation.swift",
"Grammar/CommonAbstract.swift",
"Grammar/GrammarParser.swift",
"Grammar/GrammarParserToken.swift",
"Grammar/GrammarRawTokenizer.swift",
"Grammar/Node.swift",
"Grammar/NodeVisitorType.swift",
"Grammar/NodeWalker.swift",
"Grammar/PrintingNodeVisitor.swift",
"Grammar/SwiftPEGGrammar+String.swift",
"Grammar/SwiftPEGGrammar+TokenSequence.swift",
"Grammar/SwiftPEGGrammar.swift",
"Grammar/TokenNode.swift",
"GrammarProcessor/AltReducer.swift",
"GrammarProcessor/GrammarProcessor+AltOrdering.swift",
"GrammarProcessor/GrammarProcessor+Reachability.swift",
"GrammarProcessor/GrammarProcessor+Recursivity.swift",
"GrammarProcessor/GrammarProcessor+TokenSyntax.swift",
"GrammarProcessor/GrammarProcessor.swift",
"GrammarProcessor/InternalGrammar.swift",
"GrammarProcessor/ProcessedGrammar.swift",
"Graphing/IntDirectedGraph.swift",
"Graphing/InternalCachingGraph.swift",
"Graphing/RuleDependencyGraph.swift",
"Graphing/StringDirectedGraph.swift",
"Graphing/TokenOcclusionGraph.swift",
"InternalMacros.swift",
"Interpreter/GrammarInterpreter.swift",
"Interpreter/InterpreterCache.swift",
"Interpreter/TokenSyntaxInterpreter+Regex.swift",
"Interpreter/TokenSyntaxInterpreter+TokenDelegate.swift",
"Interpreter/TokenSyntaxInterpreter.swift",
"Macros.swift",
"MetaPropertyManager.swift",
"PEGParser+Tuple.swift",
"PEGParser.swift",
"ParserCache.swift",
"RawTokenType.swift",
"RawTokenizerType.swift",
"Resources.swift",
"StringStream+CodeGen.swift",
"StringStream.swift",
"Syntax/StringEscaping.swift",
"Syntax/SwiftKeywords.swift",
"Syntax/SwiftSyntaxExt.swift",
"SyntaxNodeLayout/SyntaxNodeLayout.swift",
"SyntaxNodeLayout/SyntaxNodeLayoutGen.swift",
"Tokenizer.swift",
"Utils/Collection+Ext.swift",
"Utils/String+Ext.swift"
],
"target_dependencies" : [
"SwiftPEGMacros"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
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.