Build Information
Successful build of SPARQLSyntax, reference 0.2.11 (9ebf4a
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 15:04:13 UTC.
Swift 6 data race errors: 32
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasei/swift-sparql-syntax.git
Reference: 0.2.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kasei/swift-sparql-syntax
* tag 0.2.11 -> FETCH_HEAD
HEAD is now at 9ebf4ab Fix off-by-one error in reformatting SPARQL with trailing invalid content.
Cloned https://github.com/kasei/swift-sparql-syntax.git
Revision (git rev-parse @):
9ebf4abe84e326bd9f9d89be9a80712f5c6fa8dc
SUCCESS checkout https://github.com/kasei/swift-sparql-syntax.git at 0.2.11
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.67s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.64s)
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-sparql-syntax",
"name": "SPARQLSyntax",
"url": "https://github.com/kasei/swift-sparql-syntax.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sparql-syntax",
"dependencies": [
{
"identity": "swift-serd",
"name": "Cserd",
"url": "https://github.com/kasei/swift-serd.git",
"version": "0.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-serd",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kasei/swift-sparql-syntax.git
[1/2483] Fetching swift-sparql-syntax
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (0.93s)
Fetching https://github.com/kasei/swift-serd.git from cache
Fetched https://github.com/kasei/swift-serd.git from cache (0.50s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.03s)
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
Creating working copy for https://github.com/kasei/swift-sparql-syntax.git
Working copy of https://github.com/kasei/swift-sparql-syntax.git resolved at 0.2.11 (9ebf4ab)
Found 1 product dependencies
- Cserd
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kasei/swift-sparql-syntax.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/20] Write sources
[0/20] Write sparqllint-entitlement.plist
[3/20] Write sparql-parser-entitlement.plist
[4/20] Write sources
[5/20] Write swift-version--7754E27361AE5C74.txt
[6/20] Compiling serd uri.c
[7/20] Compiling serd byte_source.c
[7/20] Compiling serd string.c
[9/20] Compiling serd reader.c
[10/20] Compiling serd env.c
[11/20] Compiling serd writer.c
[12/20] Compiling serd n3.c
[13/20] Compiling serd node.c
[15/35] Compiling SPARQLSyntax SPARQLSyntax.swift
[16/36] Compiling SPARQLSyntax Window.swift
[17/36] Compiling SPARQLSyntax XSD.swift
[18/36] Compiling SPARQLSyntax SPARQLSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:14:16: warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
| |- warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
16 |
[19/36] Compiling SPARQLSyntax RDFSerialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:299:24: warning: static property '_bnodeNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<Substring>.RegexOutput>' (aka 'Regex<Substring>') may have shared mutable state; this is an error in the Swift 6 language mode
297 | private static let rPNameNS = "(((([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}])(((([_]|([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}]))|-|[0-9]|\\x{00B7}|[\\x{0300}-\\x{036F}]|[\\x{203F}-\\x{2040}])|[.])*(([_]|([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}]))|-|[0-9]|\\x{00B7}|[\\x{0300}-\\x{036F}]|[\\x{203F}-\\x{2040}]))?))?:)"
298 |
299 | private static let _bnodeNameRegex = {
| |- warning: static property '_bnodeNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<Substring>.RegexOutput>' (aka 'Regex<Substring>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_bnodeNameRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | // The codepoints in these ranges are non-NFC (or otherwise problematic), and currently cannot
301 | // be used in a character class range in swift regex, so we construct the character class
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:359:24: warning: static property '_keywordRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<ChoiceOf<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
357 | }()
358 |
359 | private static let _keywordRegex: Regex = { () -> Regex in
| |- warning: static property '_keywordRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<ChoiceOf<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_keywordRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 | let windowKeywords2 = #/OVER|PARTITION|RANGE|ROWS|BETWEEN|UNBOUNDED|PRECEDING|CURRENT|ROW|FOLLOWING|AND|RANK|DENSE_RANK|ROW_NUMBER|NTILE/#
361 | let r = Regex {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:390:24: warning: static property '_aRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
388 | }()
389 |
390 | private static let _aRegex = #/a\b/#
| |- warning: static property '_aRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_aRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:392:24: warning: static property '_booleanRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
390 | private static let _aRegex = #/a\b/#
391 |
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
| |- warning: static property '_booleanRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_booleanRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
393 |
394 | private static let prefixedNameRegex = {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:394:24: warning: static property 'prefixedNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<Optionally<Substring>.RegexOutput>.RegexOutput, Regex<Optionally<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
393 |
394 | private static let prefixedNameRegex = {
| |- warning: static property 'prefixedNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<Optionally<Substring>.RegexOutput>.RegexOutput, Regex<Optionally<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prefixedNameRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
395 | // The codepoints in these ranges are non-NFC (or otherwise problematic), and currently cannot
396 | // be used in a character class range in swift regex, so we construct the character class
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:532:24: warning: static property '_iriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
530 | }()
531 |
532 | private static let _iriRegex = #/<([^<>"{}|^`\x{00}-\x{20}]*)>/#
| |- warning: static property '_iriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_iriRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
533 |
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:534:24: warning: static property '_doubleRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
532 | private static let _iriRegex = #/<([^<>"{}|^`\x{00}-\x{20}]*)>/#
533 |
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
| |- warning: static property '_doubleRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_doubleRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
535 |
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:536:24: warning: static property '_decimalRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
535 |
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
| |- warning: static property '_decimalRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_decimalRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
537 |
538 | private static let _integerRegex = #/[0-9]+/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:538:24: warning: static property '_integerRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
537 |
538 | private static let _integerRegex = #/[0-9]+/#
| |- warning: static property '_integerRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_integerRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
539 |
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:540:24: warning: static property '_anonRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
538 | private static let _integerRegex = #/[0-9]+/#
539 |
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
| |- warning: static property '_anonRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_anonRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
541 |
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:542:24: warning: static property '_prefixOrBaseRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
541 |
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
| |- warning: static property '_prefixOrBaseRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_prefixOrBaseRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | private static let _langRegex = #/[a-zA-Z]+(-[a-zA-Z0-9]+)*\b/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:544:24: warning: static property '_langRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
543 |
544 | private static let _langRegex = #/[a-zA-Z]+(-[a-zA-Z0-9]+)*\b/#
| |- warning: static property '_langRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_langRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 |
546 | // PN_CHARS_BASE
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[20/36] Compiling SPARQLSyntax SPARQLLexer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:299:24: warning: static property '_bnodeNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<Substring>.RegexOutput>' (aka 'Regex<Substring>') may have shared mutable state; this is an error in the Swift 6 language mode
297 | private static let rPNameNS = "(((([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}])(((([_]|([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}]))|-|[0-9]|\\x{00B7}|[\\x{0300}-\\x{036F}]|[\\x{203F}-\\x{2040}])|[.])*(([_]|([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}]))|-|[0-9]|\\x{00B7}|[\\x{0300}-\\x{036F}]|[\\x{203F}-\\x{2040}]))?))?:)"
298 |
299 | private static let _bnodeNameRegex = {
| |- warning: static property '_bnodeNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<Substring>.RegexOutput>' (aka 'Regex<Substring>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_bnodeNameRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | // The codepoints in these ranges are non-NFC (or otherwise problematic), and currently cannot
301 | // be used in a character class range in swift regex, so we construct the character class
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:359:24: warning: static property '_keywordRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<ChoiceOf<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
357 | }()
358 |
359 | private static let _keywordRegex: Regex = { () -> Regex in
| |- warning: static property '_keywordRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<ChoiceOf<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_keywordRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 | let windowKeywords2 = #/OVER|PARTITION|RANGE|ROWS|BETWEEN|UNBOUNDED|PRECEDING|CURRENT|ROW|FOLLOWING|AND|RANK|DENSE_RANK|ROW_NUMBER|NTILE/#
361 | let r = Regex {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:390:24: warning: static property '_aRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
388 | }()
389 |
390 | private static let _aRegex = #/a\b/#
| |- warning: static property '_aRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_aRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:392:24: warning: static property '_booleanRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
390 | private static let _aRegex = #/a\b/#
391 |
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
| |- warning: static property '_booleanRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_booleanRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
393 |
394 | private static let prefixedNameRegex = {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:394:24: warning: static property 'prefixedNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<Optionally<Substring>.RegexOutput>.RegexOutput, Regex<Optionally<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
393 |
394 | private static let prefixedNameRegex = {
| |- warning: static property 'prefixedNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<Optionally<Substring>.RegexOutput>.RegexOutput, Regex<Optionally<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prefixedNameRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
395 | // The codepoints in these ranges are non-NFC (or otherwise problematic), and currently cannot
396 | // be used in a character class range in swift regex, so we construct the character class
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:532:24: warning: static property '_iriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
530 | }()
531 |
532 | private static let _iriRegex = #/<([^<>"{}|^`\x{00}-\x{20}]*)>/#
| |- warning: static property '_iriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_iriRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
533 |
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:534:24: warning: static property '_doubleRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
532 | private static let _iriRegex = #/<([^<>"{}|^`\x{00}-\x{20}]*)>/#
533 |
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
| |- warning: static property '_doubleRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_doubleRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
535 |
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:536:24: warning: static property '_decimalRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
535 |
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
| |- warning: static property '_decimalRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_decimalRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
537 |
538 | private static let _integerRegex = #/[0-9]+/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:538:24: warning: static property '_integerRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
537 |
538 | private static let _integerRegex = #/[0-9]+/#
| |- warning: static property '_integerRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_integerRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
539 |
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:540:24: warning: static property '_anonRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
538 | private static let _integerRegex = #/[0-9]+/#
539 |
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
| |- warning: static property '_anonRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_anonRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
541 |
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:542:24: warning: static property '_prefixOrBaseRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
541 |
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
| |- warning: static property '_prefixOrBaseRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_prefixOrBaseRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | private static let _langRegex = #/[a-zA-Z]+(-[a-zA-Z0-9]+)*\b/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:544:24: warning: static property '_langRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
543 |
544 | private static let _langRegex = #/[a-zA-Z]+(-[a-zA-Z0-9]+)*\b/#
| |- warning: static property '_langRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_langRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 |
546 | // PN_CHARS_BASE
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[21/36] Compiling SPARQLSyntax PropertyPath.swift
[22/36] Compiling SPARQLSyntax Query.swift
[23/36] Compiling SPARQLSyntax RDF.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:265:24: warning: static property '_integerPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | private static let _integerPattern: Regex = {
| |- warning: static property '_integerPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_integerPattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | return #/^[-+]?[0-9]+$/#.anchorsMatchLineEndings()
267 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:269:24: warning: static property '_decimalPattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
267 | }()
268 |
269 | private static let _decimalPattern: Regex = {
| |- warning: static property '_decimalPattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_decimalPattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | return #/^[-+]?([0-9]+([.][0-9]*)?|[.]\d+)$/#.anchorsMatchLineEndings()
271 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:273:24: warning: static property '_doublePattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
271 | }()
272 |
273 | private static let _doublePattern: Regex = {
| |- warning: static property '_doublePattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_doublePattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 | return #/^[-+]?(\d+([.]\d*)?|[.]\d+)([eE]([-+])?\d+)?$/#.anchorsMatchLineEndings()
275 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:600:23: warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
598 | }
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
| |- warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
602 | }
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:601:23: warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
| |- warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | }
603 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:13:23: warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| |- warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xsd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xsd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:65:23: warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var object: Node
64 | public typealias GroundType = Triple
65 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Triple.subject, \Triple.predicate, \Triple.object]
| |- warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static var groundKeyNames = ["subject", "predicate", "object"]
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:66:23: warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public typealias GroundType = Triple
65 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Triple.subject, \Triple.predicate, \Triple.object]
66 | public static var groundKeyNames = ["subject", "predicate", "object"]
| |- warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(subject: Node, predicate: Node, object: Node) {
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:172:23: warning: static property 'keyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 | public var graph: Node
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
| |- warning: static property 'keyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'keyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| |- warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:174:23: warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
| |- warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | public init(triplePattern tp: TriplePattern, graph: Node) {
[24/36] Compiling SPARQLSyntax RDFPatterns.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:265:24: warning: static property '_integerPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | private static let _integerPattern: Regex = {
| |- warning: static property '_integerPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_integerPattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | return #/^[-+]?[0-9]+$/#.anchorsMatchLineEndings()
267 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:269:24: warning: static property '_decimalPattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
267 | }()
268 |
269 | private static let _decimalPattern: Regex = {
| |- warning: static property '_decimalPattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_decimalPattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | return #/^[-+]?([0-9]+([.][0-9]*)?|[.]\d+)$/#.anchorsMatchLineEndings()
271 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:273:24: warning: static property '_doublePattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
271 | }()
272 |
273 | private static let _doublePattern: Regex = {
| |- warning: static property '_doublePattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_doublePattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 | return #/^[-+]?(\d+([.]\d*)?|[.]\d+)([eE]([-+])?\d+)?$/#.anchorsMatchLineEndings()
275 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:600:23: warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
598 | }
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
| |- warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
602 | }
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:601:23: warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
| |- warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | }
603 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:13:23: warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| |- warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xsd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xsd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:65:23: warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var object: Node
64 | public typealias GroundType = Triple
65 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Triple.subject, \Triple.predicate, \Triple.object]
| |- warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static var groundKeyNames = ["subject", "predicate", "object"]
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:66:23: warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public typealias GroundType = Triple
65 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Triple.subject, \Triple.predicate, \Triple.object]
66 | public static var groundKeyNames = ["subject", "predicate", "object"]
| |- warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(subject: Node, predicate: Node, object: Node) {
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:172:23: warning: static property 'keyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 | public var graph: Node
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
| |- warning: static property 'keyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'keyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| |- warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:174:23: warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
| |- warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | public init(triplePattern tp: TriplePattern, graph: Node) {
[25/36] Compiling SPARQLSyntax Expression.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:14:16: warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
| |- warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:600:23: warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
598 | }
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
| |- warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
602 | }
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:15:16: warning: static property 'falseExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
| |- warning: static property 'falseExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | case node(Node)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:601:23: warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
| |- warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | }
603 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Algebra.swift:10:23: warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct WalkType {
| `- note: consider making struct 'WalkType' conform to the 'Sendable' protocol
10 | public static let defaultType = WalkType(descendIntoAlgebras: true, descendIntoSubqueries: false, descendIntoExpressions: false)
| |- warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var descendIntoAlgebras: Bool
12 | var descendIntoSubqueries: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:13:23: warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| |- warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xsd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xsd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:14:23: warning: static property 'rdf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| |- warning: static property 'rdf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rdf' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rdf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:15:23: warning: static property 'rdfs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
| |- warning: static property 'rdfs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rdfs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rdfs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:16:23: warning: static property 'sd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
| |- warning: static property 'sd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:17:23: warning: static property 'hydra' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
| |- warning: static property 'hydra' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hydra' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'hydra' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:18:23: warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
| |- warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'void' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:19:23: warning: static property 'formats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
| |- warning: static property 'formats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | var value: String
[26/36] Compiling SPARQLSyntax IRI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:14:16: warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
| |- warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:600:23: warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
598 | }
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
| |- warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
602 | }
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:15:16: warning: static property 'falseExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
| |- warning: static property 'falseExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | case node(Node)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:601:23: warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
| |- warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | }
603 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Algebra.swift:10:23: warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct WalkType {
| `- note: consider making struct 'WalkType' conform to the 'Sendable' protocol
10 | public static let defaultType = WalkType(descendIntoAlgebras: true, descendIntoSubqueries: false, descendIntoExpressions: false)
| |- warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var descendIntoAlgebras: Bool
12 | var descendIntoSubqueries: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:13:23: warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| |- warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xsd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xsd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:14:23: warning: static property 'rdf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| |- warning: static property 'rdf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rdf' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rdf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:15:23: warning: static property 'rdfs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
| |- warning: static property 'rdfs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rdfs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rdfs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:16:23: warning: static property 'sd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
| |- warning: static property 'sd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:17:23: warning: static property 'hydra' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
| |- warning: static property 'hydra' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hydra' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'hydra' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:18:23: warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
| |- warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'void' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:19:23: warning: static property 'formats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
| |- warning: static property 'formats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | var value: String
[27/36] Compiling SPARQLSyntax Aggregation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Algebra.swift:10:23: warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct WalkType {
| `- note: consider making struct 'WalkType' conform to the 'Sendable' protocol
10 | public static let defaultType = WalkType(descendIntoAlgebras: true, descendIntoSubqueries: false, descendIntoExpressions: false)
| |- warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var descendIntoAlgebras: Bool
12 | var descendIntoSubqueries: Bool
[28/36] Compiling SPARQLSyntax Algebra.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Algebra.swift:10:23: warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct WalkType {
| `- note: consider making struct 'WalkType' conform to the 'Sendable' protocol
10 | public static let defaultType = WalkType(descendIntoAlgebras: true, descendIntoSubqueries: false, descendIntoExpressions: false)
| |- warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var descendIntoAlgebras: Bool
12 | var descendIntoSubqueries: Bool
[29/36] Emitting module SPARQLSyntax
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Algebra.swift:10:23: warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct WalkType {
| `- note: consider making struct 'WalkType' conform to the 'Sendable' protocol
10 | public static let defaultType = WalkType(descendIntoAlgebras: true, descendIntoSubqueries: false, descendIntoExpressions: false)
| |- warning: static property 'defaultType' is not concurrency-safe because non-'Sendable' type 'WalkType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var descendIntoAlgebras: Bool
12 | var descendIntoSubqueries: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:14:16: warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
| |- warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:600:23: warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
598 | }
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
| |- warning: static property 'trueValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
602 | }
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:15:16: warning: static property 'falseExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
| |- warning: static property 'falseExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | case node(Node)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:601:23: warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making struct 'Term' conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
:
599 |
600 | public static let trueValue = Term(value: "true", type: .datatype(.boolean))
601 | public static let falseValue = Term(value: "false", type: .datatype(.boolean))
| |- warning: static property 'falseValue' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | }
603 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:13:23: warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| |- warning: static property 'xsd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xsd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xsd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:14:23: warning: static property 'rdf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| |- warning: static property 'rdf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rdf' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rdf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:15:23: warning: static property 'rdfs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
| |- warning: static property 'rdfs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rdfs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rdfs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:16:23: warning: static property 'sd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
| |- warning: static property 'sd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:17:23: warning: static property 'hydra' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
| |- warning: static property 'hydra' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hydra' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'hydra' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:18:23: warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
| |- warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'void' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/IRI.swift:19:23: warning: static property 'formats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var hydra = Namespace(value: "http://www.w3.org/ns/hydra/core#")
18 | public static var void = Namespace(value: "http://rdfs.org/ns/void#")
19 | public static var formats = Namespace(value: "http://www.w3.org/ns/formats/")
| |- warning: static property 'formats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | var value: String
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:265:24: warning: static property '_integerPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | private static let _integerPattern: Regex = {
| |- warning: static property '_integerPattern' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_integerPattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | return #/^[-+]?[0-9]+$/#.anchorsMatchLineEndings()
267 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:269:24: warning: static property '_decimalPattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
267 | }()
268 |
269 | private static let _decimalPattern: Regex = {
| |- warning: static property '_decimalPattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_decimalPattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | return #/^[-+]?([0-9]+([.][0-9]*)?|[.]\d+)$/#.anchorsMatchLineEndings()
271 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDF.swift:273:24: warning: static property '_doublePattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
271 | }()
272 |
273 | private static let _doublePattern: Regex = {
| |- warning: static property '_doublePattern' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_doublePattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 | return #/^[-+]?(\d+([.]\d*)?|[.]\d+)([eE]([-+])?\d+)?$/#.anchorsMatchLineEndings()
275 | }()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:65:23: warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | public var object: Node
64 | public typealias GroundType = Triple
65 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Triple.subject, \Triple.predicate, \Triple.object]
| |- warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static var groundKeyNames = ["subject", "predicate", "object"]
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:66:23: warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public typealias GroundType = Triple
65 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Triple.subject, \Triple.predicate, \Triple.object]
66 | public static var groundKeyNames = ["subject", "predicate", "object"]
| |- warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(subject: Node, predicate: Node, object: Node) {
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:172:23: warning: static property 'keyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 | public var graph: Node
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
| |- warning: static property 'keyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'keyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| |- warning: static property 'groundKeyPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/RDFPatterns.swift:174:23: warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
| |- warning: static property 'groundKeyNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'groundKeyNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'groundKeyNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | public init(triplePattern tp: TriplePattern, graph: Node) {
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:299:24: warning: static property '_bnodeNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<Substring>.RegexOutput>' (aka 'Regex<Substring>') may have shared mutable state; this is an error in the Swift 6 language mode
297 | private static let rPNameNS = "(((([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}])(((([_]|([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}]))|-|[0-9]|\\x{00B7}|[\\x{0300}-\\x{036F}]|[\\x{203F}-\\x{2040}])|[.])*(([_]|([A-Z]|[a-z]|[\\x{00C0}-\\x{00D6}]|[\\x{00D8}-\\x{00F6}]|[\\x{00F8}-\\x{02FF}]|[\\x{0370}-\\x{037D}]|[\\x{037F}-\\x{1FFF}]|[\\x{200C}-\\x{200D}]|[\\x{2070}-\\x{218F}]|[\\x{2C00}-\\x{2FEF}]|[\\x{3001}-\\x{D7FF}]|[\\x{F900}-\\x{FDCF}]|[\\x{FDF0}-\\x{FFFD}]|[\\x{10000}-\\x{EFFFF}]))|-|[0-9]|\\x{00B7}|[\\x{0300}-\\x{036F}]|[\\x{203F}-\\x{2040}]))?))?:)"
298 |
299 | private static let _bnodeNameRegex = {
| |- warning: static property '_bnodeNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<Substring>.RegexOutput>' (aka 'Regex<Substring>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_bnodeNameRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | // The codepoints in these ranges are non-NFC (or otherwise problematic), and currently cannot
301 | // be used in a character class range in swift regex, so we construct the character class
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:359:24: warning: static property '_keywordRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<ChoiceOf<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
357 | }()
358 |
359 | private static let _keywordRegex: Regex = { () -> Regex in
| |- warning: static property '_keywordRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<ChoiceOf<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_keywordRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 | let windowKeywords2 = #/OVER|PARTITION|RANGE|ROWS|BETWEEN|UNBOUNDED|PRECEDING|CURRENT|ROW|FOLLOWING|AND|RANK|DENSE_RANK|ROW_NUMBER|NTILE/#
361 | let r = Regex {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:390:24: warning: static property '_aRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
388 | }()
389 |
390 | private static let _aRegex = #/a\b/#
| |- warning: static property '_aRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_aRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:392:24: warning: static property '_booleanRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
390 | private static let _aRegex = #/a\b/#
391 |
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
| |- warning: static property '_booleanRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_booleanRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
393 |
394 | private static let prefixedNameRegex = {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:394:24: warning: static property 'prefixedNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<Optionally<Substring>.RegexOutput>.RegexOutput, Regex<Optionally<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
392 | private static let _booleanRegex = #/(true|false)/#.anchorsMatchLineEndings().ignoresCase()
393 |
394 | private static let prefixedNameRegex = {
| |- warning: static property 'prefixedNameRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Regex<(Substring, Regex<Optionally<Substring>.RegexOutput>.RegexOutput, Regex<Optionally<Substring>.RegexOutput>.RegexOutput)>.RegexOutput>' (aka 'Regex<(Substring, Substring, Substring)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prefixedNameRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
395 | // The codepoints in these ranges are non-NFC (or otherwise problematic), and currently cannot
396 | // be used in a character class range in swift regex, so we construct the character class
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:532:24: warning: static property '_iriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
530 | }()
531 |
532 | private static let _iriRegex = #/<([^<>"{}|^`\x{00}-\x{20}]*)>/#
| |- warning: static property '_iriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_iriRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
533 |
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:534:24: warning: static property '_doubleRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
532 | private static let _iriRegex = #/<([^<>"{}|^`\x{00}-\x{20}]*)>/#
533 |
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
| |- warning: static property '_doubleRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_doubleRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
535 |
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:536:24: warning: static property '_decimalRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
534 | private static let _doubleRegex = #/(([0-9]+[.][0-9]*[eE][+-]?[0-9]+)|([.][0-9]+[eE][+-]?[0-9]+)|([0-9]+[eE][+-]?[0-9]+))/#
535 |
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
| |- warning: static property '_decimalRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_decimalRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
537 |
538 | private static let _integerRegex = #/[0-9]+/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:538:24: warning: static property '_integerRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
536 | private static let _decimalRegex = #/[0-9]*[.][0-9]+/#
537 |
538 | private static let _integerRegex = #/[0-9]+/#
| |- warning: static property '_integerRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_integerRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
539 |
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:540:24: warning: static property '_anonRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
538 | private static let _integerRegex = #/[0-9]+/#
539 |
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
| |- warning: static property '_anonRegex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_anonRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
541 |
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:542:24: warning: static property '_prefixOrBaseRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
540 | private static let _anonRegex = #/\[[ \u{0a}\u{0d}\u{09}]*\]/#
541 |
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
| |- warning: static property '_prefixOrBaseRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_prefixOrBaseRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 |
544 | private static let _langRegex = #/[a-zA-Z]+(-[a-zA-Z0-9]+)*\b/#
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/SPARQLLexer.swift:544:24: warning: static property '_langRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
542 | private static let _prefixOrBaseRegex = #/(prefix|base)\b/#
543 |
544 | private static let _langRegex = #/[a-zA-Z]+(-[a-zA-Z0-9]+)*\b/#
| |- warning: static property '_langRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_langRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 |
546 | // PN_CHARS_BASE
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[30/36] Compiling SPARQLSyntax SPARQLParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPARQLSyntax/Expression.swift:14:16: warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // swiftlint:disable cyclomatic_complexity
12 | // swiftlint:disable:next type_body_length
13 | public indirect enum Expression: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
14 | static let trueExpression: Expression = .node(.bound(Term.trueValue))
| |- warning: static property 'trueExpression' is not concurrency-safe because non-'Sendable' type 'Expression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let falseExpression: Expression = .node(.bound(Term.falseValue))
16 |
[31/40] Emitting module sparqllint
[32/40] Compiling sparqllint main.swift
/Users/admin/builder/spi-builder-workspace/Sources/sparqllint/main.swift:65:9: warning: variable 's' was never mutated; consider changing to 'let' constant
63 |
64 | func reformat(_ sparql: String, config: Config) -> String {
65 | var s = SPARQLSerializer(prettyPrint: config.pretty)
| `- warning: variable 's' was never mutated; consider changing to 'let' constant
66 | return s.reformat(sparql)
67 | }
[32/40] Write Objects.LinkFileList
[34/40] Compiling sparql_parser main.swift
[35/40] Emitting module sparql_parser
[35/40] Write Objects.LinkFileList
[36/40] Linking sparql-parser
[37/40] Linking sparqllint
[38/40] Applying sparql-parser
[39/40] Applying sparqllint
Build complete! (17.77s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-serd",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.4",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kasei/swift-serd.git"
}
],
"manifest_display_name" : "SPARQLSyntax",
"name" : "SPARQLSyntax",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SPARQLSyntax",
"targets" : [
"SPARQLSyntax"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "sparqllint",
"targets" : [
"sparqllint"
],
"type" : {
"executable" : null
}
},
{
"name" : "sparql-parser",
"targets" : [
"sparql-parser"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "sparqllint",
"module_type" : "SwiftTarget",
"name" : "sparqllint",
"path" : "Sources/sparqllint",
"product_memberships" : [
"sparqllint"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SPARQLSyntax"
],
"type" : "executable"
},
{
"c99name" : "sparql_parser",
"module_type" : "SwiftTarget",
"name" : "sparql-parser",
"path" : "Sources/sparql-parser",
"product_memberships" : [
"sparql-parser"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SPARQLSyntax"
],
"type" : "executable"
},
{
"c99name" : "SPARQLSyntaxTests",
"module_type" : "SwiftTarget",
"name" : "SPARQLSyntaxTests",
"path" : "Tests/SPARQLSyntaxTests",
"sources" : [
"AlgebraTests.swift",
"ExpressionTests.swift",
"IRITests.swift",
"PropertyPathTests.swift",
"RDFPatternsTests.swift",
"RDFTests.swift",
"SPARQLParserTests.swift",
"SPARQLParserWindowTests.swift",
"SPARQLReformattingTests.swift",
"SPARQLRewriting.swift",
"SPARQLSerializationTests.swift",
"XCTestManifests.swift",
"XSDTests.swift"
],
"target_dependencies" : [
"SPARQLSyntax"
],
"type" : "test"
},
{
"c99name" : "SPARQLSyntax",
"module_type" : "SwiftTarget",
"name" : "SPARQLSyntax",
"path" : "Sources/SPARQLSyntax",
"product_dependencies" : [
"serd"
],
"product_memberships" : [
"SPARQLSyntax",
"sparqllint",
"sparql-parser"
],
"sources" : [
"Aggregation.swift",
"Algebra.swift",
"Expression.swift",
"IRI.swift",
"PropertyPath.swift",
"Query.swift",
"RDF.swift",
"RDFPatterns.swift",
"RDFSerialization.swift",
"SPARQLLexer.swift",
"SPARQLParser.swift",
"SPARQLSerializer.swift",
"SPARQLSyntax.swift",
"Window.swift",
"XSD.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.