Build Information
Successful build of DynamicJSON, reference main (6b932f
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 03:22:58 UTC.
Swift 6 data race errors: 31
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/objecthub/swift-dynamicjson.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/objecthub/swift-dynamicjson
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6b932fd Support format annotation vocabulary (within schema validation).
Cloned https://github.com/objecthub/swift-dynamicjson.git
Revision (git rev-parse @):
6b932fda6290b26f39656193dfb9d65e25971c86
SUCCESS checkout https://github.com/objecthub/swift-dynamicjson.git at main
========================================
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-dynamicjson",
"name": "DynamicJSON",
"url": "https://github.com/objecthub/swift-dynamicjson.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dynamicjson",
"dependencies": [
]
}
]
}
Fetching https://github.com/objecthub/swift-dynamicjson.git
[1/889] Fetching swift-dynamicjson
Fetched https://github.com/objecthub/swift-dynamicjson.git from cache (1.01s)
Creating working copy for https://github.com/objecthub/swift-dynamicjson.git
Working copy of https://github.com/objecthub/swift-dynamicjson.git resolved at main (6b932fd)
warning: '.resolve-product-dependencies': dependency 'swift-dynamicjson' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/objecthub/swift-dynamicjson.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/7] Write sources
[2/7] Write JSONPathTool-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/32] Emitting module DynamicJSON
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:57:10: warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
55 | case indexOutOfBounds(Int, Int)
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
| `- warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:58:10: warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
| `- warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:59:10: warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
| `- warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:60:10: warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
| `- warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:61:10: warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
| `- warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:62:10: warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
| `- warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
63 | case memberRequiredToMutateObject(JSONReference)
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:63:10: warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
| `- warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
64 |
65 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:42:10: warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
40 | public enum Error: LocalizedError, CustomStringConvertible {
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
| `- warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:43:10: warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
| `- warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:45:10: warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
| `- warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
46 | case divisionByZero(JSONPath.Expression)
47 | case unknownVariable(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:46:10: warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
| `- warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:49:10: warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
| `- warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:50:10: warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
| `- warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:52:10: warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
| `- warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
53 |
54 | public var description: String {
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathParser.swift:50:10: warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
48 | case expectedStringLiteral(Character?)
49 | case malformedStringLiteralEscape(String)
50 | case notASingularQuery(JSONPath)
| `- warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
51 | case expectedMemberName(Character?)
52 | case invalidSelectorCharacter(Character?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:29:22: note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
27 | /// JSON value.
28 | ///
29 | public indirect enum JSONPath: Codable,
| `- note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
30 | Hashable,
31 | CustomStringConvertible {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:18:21: warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct JSONSchemaFormatValidators {
17 |
18 | public static let draft2020: [String : (String) -> Bool] = [
| |- warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'draft2020' 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 | "unknown": JSONSchemaFormatValidators.isUnknown,
20 | "date-time": JSONSchemaFormatValidators.isDateTime,
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
78 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:77:23: warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
| |- warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateFormat' 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
78 |
79 | public let uri: URL
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:33:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 | /// for non-production usage to the default of `JSON.validate(with:, using:))` (which
32 | /// creates a new empty registry for every invocation).
33 | public static let `default` = DefaultJSONSchemaRegistry()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
34 |
35 | /// The default dialect used by this registry
:
242 | /// Special version of `JSONSchemaRegistry` with support to reset the resources.
243 | ///
244 | public final class DefaultJSONSchemaRegistry: JSONSchemaRegistry {
| `- note: class 'DefaultJSONSchemaRegistry' does not conform to the 'Sendable' protocol
245 | public init() {
246 | let dialect: JSONSchemaDialect = .draft2020
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:49:10: warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
47 | /// Collection of errors raised by functionality provided by `JSONSchemaRegistry`.
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
| `- warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
50 | case schemaWithoutId(JSONSchema)
51 | case unknownSchemaResource(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:50:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
50 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
51 | case unknownSchemaResource(String)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaResource.swift:66:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
64 | public enum Error: LocalizedError, CustomStringConvertible {
65 | case rootSchemaRequiresAbsoluteId
66 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
67 | case illegalUriFragment(String)
68 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationContext.swift:32:10: warning: associated value 'unknownResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchemaIdentifier'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError, CustomStringConvertible {
31 | case unknownDialect(URL)
32 | case unknownResource(JSONSchemaIdentifier)
| `- warning: associated value 'unknownResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchemaIdentifier'; this is an error in the Swift 6 language mode
33 | case validationDepthExhausted(JSONLocation)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaIdentifier.swift:26:15: note: consider making struct 'JSONSchemaIdentifier' conform to the 'Sendable' protocol
24 | /// URI representing a JSON schema identifier.
25 | ///
26 | public struct JSONSchemaIdentifier: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'JSONSchemaIdentifier' conform to the 'Sendable' protocol
27 | public let uri: URLComponents
28 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationContext.swift:33:10: warning: associated value 'validationDepthExhausted' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONLocation'; this is an error in the Swift 6 language mode
31 | case unknownDialect(URL)
32 | case unknownResource(JSONSchemaIdentifier)
33 | case validationDepthExhausted(JSONLocation)
| `- warning: associated value 'validationDepthExhausted' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONLocation'; this is an error in the Swift 6 language mode
34 |
35 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONLocation.swift:30:22: note: consider making enum 'JSONLocation' conform to the 'Sendable' protocol
28 | /// value within a JSON document.
29 | ///
30 | public indirect enum JSONLocation: SegmentableJSONReference,
| `- note: consider making enum 'JSONLocation' conform to the 'Sendable' protocol
31 | JSONLocationConvertible,
32 | Codable,
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:69:23: warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
| |- warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deprecated' 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
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:70:23: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readOnly' 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
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:71:23: warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
| |- warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeOnly' 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
72 |
73 | public let rawValue: UInt
[6/34] Compiling DynamicJSON JSONExtensions.swift
[7/34] Compiling DynamicJSON NSNumber.swift
[8/34] Compiling DynamicJSON JSONSchemaProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:33:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 | /// for non-production usage to the default of `JSON.validate(with:, using:))` (which
32 | /// creates a new empty registry for every invocation).
33 | public static let `default` = DefaultJSONSchemaRegistry()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
34 |
35 | /// The default dialect used by this registry
:
242 | /// Special version of `JSONSchemaRegistry` with support to reset the resources.
243 | ///
244 | public final class DefaultJSONSchemaRegistry: JSONSchemaRegistry {
| `- note: class 'DefaultJSONSchemaRegistry' does not conform to the 'Sendable' protocol
245 | public init() {
246 | let dialect: JSONSchemaDialect = .draft2020
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:49:10: warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
47 | /// Collection of errors raised by functionality provided by `JSONSchemaRegistry`.
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
| `- warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
50 | case schemaWithoutId(JSONSchema)
51 | case unknownSchemaResource(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:50:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
50 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
51 | case unknownSchemaResource(String)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaResource.swift:66:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
64 | public enum Error: LocalizedError, CustomStringConvertible {
65 | case rootSchemaRequiresAbsoluteId
66 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
67 | case illegalUriFragment(String)
68 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
[9/34] Compiling DynamicJSON JSONSchemaRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:33:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 | /// for non-production usage to the default of `JSON.validate(with:, using:))` (which
32 | /// creates a new empty registry for every invocation).
33 | public static let `default` = DefaultJSONSchemaRegistry()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
34 |
35 | /// The default dialect used by this registry
:
242 | /// Special version of `JSONSchemaRegistry` with support to reset the resources.
243 | ///
244 | public final class DefaultJSONSchemaRegistry: JSONSchemaRegistry {
| `- note: class 'DefaultJSONSchemaRegistry' does not conform to the 'Sendable' protocol
245 | public init() {
246 | let dialect: JSONSchemaDialect = .draft2020
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:49:10: warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
47 | /// Collection of errors raised by functionality provided by `JSONSchemaRegistry`.
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
| `- warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
50 | case schemaWithoutId(JSONSchema)
51 | case unknownSchemaResource(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:50:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
50 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
51 | case unknownSchemaResource(String)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaResource.swift:66:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
64 | public enum Error: LocalizedError, CustomStringConvertible {
65 | case rootSchemaRequiresAbsoluteId
66 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
67 | case illegalUriFragment(String)
68 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
[10/34] Compiling DynamicJSON JSONSchemaResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:33:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 | /// for non-production usage to the default of `JSON.validate(with:, using:))` (which
32 | /// creates a new empty registry for every invocation).
33 | public static let `default` = DefaultJSONSchemaRegistry()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DefaultJSONSchemaRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
34 |
35 | /// The default dialect used by this registry
:
242 | /// Special version of `JSONSchemaRegistry` with support to reset the resources.
243 | ///
244 | public final class DefaultJSONSchemaRegistry: JSONSchemaRegistry {
| `- note: class 'DefaultJSONSchemaRegistry' does not conform to the 'Sendable' protocol
245 | public init() {
246 | let dialect: JSONSchemaDialect = .draft2020
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:49:10: warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
47 | /// Collection of errors raised by functionality provided by `JSONSchemaRegistry`.
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
| `- warning: associated value 'cannotRegisterNonRootResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
50 | case schemaWithoutId(JSONSchema)
51 | case unknownSchemaResource(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaRegistry.swift:50:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
48 | public enum Error: LocalizedError, CustomStringConvertible {
49 | case cannotRegisterNonRootResource(JSONSchema)
50 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
51 | case unknownSchemaResource(String)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaResource.swift:66:10: warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
64 | public enum Error: LocalizedError, CustomStringConvertible {
65 | case rootSchemaRequiresAbsoluteId
66 | case schemaWithoutId(JSONSchema)
| `- warning: associated value 'schemaWithoutId' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchema'; this is an error in the Swift 6 language mode
67 | case illegalUriFragment(String)
68 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchema.swift:34:22: note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
32 | /// them into valid `JSONSchema` objects.
33 | ///
34 | public indirect enum JSONSchema: Codable,
| `- note: consider making enum 'JSONSchema' conform to the 'Sendable' protocol
35 | Equatable,
36 | CustomDebugStringConvertible {
[11/34] Compiling DynamicJSON JSONPatchOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:57:10: warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
55 | case indexOutOfBounds(Int, Int)
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
| `- warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:58:10: warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
| `- warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:59:10: warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
| `- warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:60:10: warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
| `- warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:61:10: warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
| `- warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:62:10: warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
| `- warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
63 | case memberRequiredToMutateObject(JSONReference)
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:63:10: warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
| `- warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
64 |
65 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
[12/34] Compiling DynamicJSON JSONPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:57:10: warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
55 | case indexOutOfBounds(Int, Int)
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
| `- warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:58:10: warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
| `- warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:59:10: warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
| `- warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:60:10: warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
| `- warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:61:10: warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
| `- warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:62:10: warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
| `- warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
63 | case memberRequiredToMutateObject(JSONReference)
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:63:10: warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
| `- warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
64 |
65 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
[13/34] Compiling DynamicJSON JSONPathEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:57:10: warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
55 | case indexOutOfBounds(Int, Int)
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
| `- warning: associated value 'cannotAddValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:58:10: warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
56 | case cannotRemoveRoot
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
| `- warning: associated value 'cannotReplaceValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:59:10: warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
57 | case cannotAddValue(JSONReference)
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
| `- warning: associated value 'cannotRemoveValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:60:10: warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
58 | case cannotReplaceValue(JSONReference)
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
| `- warning: associated value 'testFailed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:61:10: warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
59 | case cannotRemoveValue(JSONReference)
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
| `- warning: associated value 'valueNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:62:10: warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
60 | case testFailed(JSONReference)
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
| `- warning: associated value 'indexRequiredToMutateArray' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
63 | case memberRequiredToMutateObject(JSONReference)
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPatch/JSONPatchOperation.swift:63:10: warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
61 | case valueNotFound(JSONReference)
62 | case indexRequiredToMutateArray(JSONReference)
63 | case memberRequiredToMutateObject(JSONReference)
| `- warning: associated value 'memberRequiredToMutateObject' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any JSONReference'; this is an error in the Swift 6 language mode
64 |
65 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONReference.swift:29:17: note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
27 | /// `JSONLocation` (implementing singular JSONPath queries as defined by RFC 9535)
28 | ///
29 | public protocol JSONReference: CustomStringConvertible {
| `- note: protocol 'JSONReference' does not conform to the 'Sendable' protocol
30 |
31 | /// Returns true if this reference refers to the root of a JSON document
[14/34] Compiling DynamicJSON JSONReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
78 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:77:23: warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
| |- warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateFormat' 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
78 |
79 | public let uri: URL
[15/34] Compiling DynamicJSON JSONSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
78 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:77:23: warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
| |- warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateFormat' 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
78 |
79 | public let uri: URL
[16/34] Compiling DynamicJSON JSONSchemaDialect.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
78 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:77:23: warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
| |- warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateFormat' 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
78 |
79 | public let uri: URL
[17/34] Compiling DynamicJSON JSONSchemaValidator.swift
[18/34] Compiling DynamicJSON JSONType.swift
[19/34] Compiling DynamicJSON LocatedJSON.swift
[20/34] Compiling DynamicJSON Indirect.swift
[21/34] Compiling DynamicJSON JSONPathEvaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:42:10: warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
40 | public enum Error: LocalizedError, CustomStringConvertible {
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
| `- warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:43:10: warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
| `- warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:45:10: warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
| `- warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
46 | case divisionByZero(JSONPath.Expression)
47 | case unknownVariable(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:46:10: warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
| `- warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:49:10: warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
| `- warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:50:10: warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
| `- warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:52:10: warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
| `- warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
53 |
54 | public var description: String {
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathParser.swift:50:10: warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
48 | case expectedStringLiteral(Character?)
49 | case malformedStringLiteralEscape(String)
50 | case notASingularQuery(JSONPath)
| `- warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
51 | case expectedMemberName(Character?)
52 | case invalidSelectorCharacter(Character?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:29:22: note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
27 | /// JSON value.
28 | ///
29 | public indirect enum JSONPath: Codable,
| `- note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
30 | Hashable,
31 | CustomStringConvertible {
[22/34] Compiling DynamicJSON JSONPathParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:42:10: warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
40 | public enum Error: LocalizedError, CustomStringConvertible {
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
| `- warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:43:10: warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
| `- warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:45:10: warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
| `- warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
46 | case divisionByZero(JSONPath.Expression)
47 | case unknownVariable(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:46:10: warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
| `- warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:49:10: warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
| `- warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:50:10: warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
| `- warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:52:10: warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
| `- warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
53 |
54 | public var description: String {
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathParser.swift:50:10: warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
48 | case expectedStringLiteral(Character?)
49 | case malformedStringLiteralEscape(String)
50 | case notASingularQuery(JSONPath)
| `- warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
51 | case expectedMemberName(Character?)
52 | case invalidSelectorCharacter(Character?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:29:22: note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
27 | /// JSON value.
28 | ///
29 | public indirect enum JSONPath: Codable,
| `- note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
30 | Hashable,
31 | CustomStringConvertible {
[23/34] Compiling DynamicJSON JSONPointer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:42:10: warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
40 | public enum Error: LocalizedError, CustomStringConvertible {
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
| `- warning: associated value 'doesNotEvaluateToJSON' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:43:10: warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
41 | case booleanNotCoercableToBool
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
| `- warning: associated value 'cannotNegate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:44:10: warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
42 | case doesNotEvaluateToJSON(JSONPath.Expression)
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
| `- warning: associated value 'expectedType' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:45:10: warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
43 | case cannotNegate(JSONPath.Expression)
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
| `- warning: associated value 'mismatchOfOperandTypes' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
46 | case divisionByZero(JSONPath.Expression)
47 | case unknownVariable(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:46:10: warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
44 | case expectedType(ValueType, JSONPath.Expression)
45 | case mismatchOfOperandTypes(JSONPath.Expression)
46 | case divisionByZero(JSONPath.Expression)
| `- warning: associated value 'divisionByZero' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:49:10: warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
47 | case unknownVariable(String)
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
| `- warning: associated value 'numberOfArgumentsMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:50:10: warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
48 | case unknownFunction(String)
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
| `- warning: associated value 'filterExprNotLogical' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath.Expression'; this is an error in the Swift 6 language mode
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:305:24: note: consider making enum 'Expression' conform to the 'Sendable' protocol
303 |
304 | /// Representation of JSONPath query filter expressions.
305 | public indirect enum Expression: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Expression' conform to the 'Sendable' protocol
306 | case `null`
307 | case `true`
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.ValueType'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
114 |
115 | /// Types of values as defined by JSONPath
116 | public enum ValueType: Hashable, CustomStringConvertible {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
117 | case logicalType
118 | case jsonType
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:51:10: warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
49 | case numberOfArgumentsMismatch(JSONPath.Expression)
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
| `- warning: associated value 'typeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
52 | case jsonTypeMismatch(String, JSONType, Value)
53 |
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathEvaluator.swift:52:10: warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
50 | case filterExprNotLogical(JSONPath.Expression)
51 | case typeMismatch(String, ValueType, Value)
52 | case jsonTypeMismatch(String, JSONType, Value)
| `- warning: associated value 'jsonTypeMismatch' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPathEvaluator.Value'; this is an error in the Swift 6 language mode
53 |
54 | public var description: String {
:
132 |
133 | /// Values used for evaluating JSONPath filter expressions.
134 | public enum Value: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
135 | case logical(Bool)
136 | case json(JSON?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPathParser.swift:50:10: warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
48 | case expectedStringLiteral(Character?)
49 | case malformedStringLiteralEscape(String)
50 | case notASingularQuery(JSONPath)
| `- warning: associated value 'notASingularQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONPath'; this is an error in the Swift 6 language mode
51 | case expectedMemberName(Character?)
52 | case invalidSelectorCharacter(Character?)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONPath/JSONPath.swift:29:22: note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
27 | /// JSON value.
28 | ///
29 | public indirect enum JSONPath: Codable,
| `- note: consider making enum 'JSONPath' conform to the 'Sendable' protocol
30 | Hashable,
31 | CustomStringConvertible {
[24/34] Compiling DynamicJSON JSONSchemaValidationContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationContext.swift:32:10: warning: associated value 'unknownResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchemaIdentifier'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError, CustomStringConvertible {
31 | case unknownDialect(URL)
32 | case unknownResource(JSONSchemaIdentifier)
| `- warning: associated value 'unknownResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchemaIdentifier'; this is an error in the Swift 6 language mode
33 | case validationDepthExhausted(JSONLocation)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaIdentifier.swift:26:15: note: consider making struct 'JSONSchemaIdentifier' conform to the 'Sendable' protocol
24 | /// URI representing a JSON schema identifier.
25 | ///
26 | public struct JSONSchemaIdentifier: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'JSONSchemaIdentifier' conform to the 'Sendable' protocol
27 | public let uri: URLComponents
28 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationContext.swift:33:10: warning: associated value 'validationDepthExhausted' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONLocation'; this is an error in the Swift 6 language mode
31 | case unknownDialect(URL)
32 | case unknownResource(JSONSchemaIdentifier)
33 | case validationDepthExhausted(JSONLocation)
| `- warning: associated value 'validationDepthExhausted' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONLocation'; this is an error in the Swift 6 language mode
34 |
35 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONLocation.swift:30:22: note: consider making enum 'JSONLocation' conform to the 'Sendable' protocol
28 | /// value within a JSON document.
29 | ///
30 | public indirect enum JSONLocation: SegmentableJSONReference,
| `- note: consider making enum 'JSONLocation' conform to the 'Sendable' protocol
31 | JSONLocationConvertible,
32 | Codable,
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:69:23: warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
| |- warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deprecated' 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
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:70:23: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readOnly' 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
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:71:23: warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
| |- warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeOnly' 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
72 |
73 | public let rawValue: UInt
[25/34] Compiling DynamicJSON JSONSchemaValidationResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationContext.swift:32:10: warning: associated value 'unknownResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchemaIdentifier'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError, CustomStringConvertible {
31 | case unknownDialect(URL)
32 | case unknownResource(JSONSchemaIdentifier)
| `- warning: associated value 'unknownResource' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONSchemaIdentifier'; this is an error in the Swift 6 language mode
33 | case validationDepthExhausted(JSONLocation)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaIdentifier.swift:26:15: note: consider making struct 'JSONSchemaIdentifier' conform to the 'Sendable' protocol
24 | /// URI representing a JSON schema identifier.
25 | ///
26 | public struct JSONSchemaIdentifier: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'JSONSchemaIdentifier' conform to the 'Sendable' protocol
27 | public let uri: URLComponents
28 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationContext.swift:33:10: warning: associated value 'validationDepthExhausted' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONLocation'; this is an error in the Swift 6 language mode
31 | case unknownDialect(URL)
32 | case unknownResource(JSONSchemaIdentifier)
33 | case validationDepthExhausted(JSONLocation)
| `- warning: associated value 'validationDepthExhausted' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONLocation'; this is an error in the Swift 6 language mode
34 |
35 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONLocation.swift:30:22: note: consider making enum 'JSONLocation' conform to the 'Sendable' protocol
28 | /// value within a JSON document.
29 | ///
30 | public indirect enum JSONLocation: SegmentableJSONReference,
| `- note: consider making enum 'JSONLocation' conform to the 'Sendable' protocol
31 | JSONLocationConvertible,
32 | Codable,
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:69:23: warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
| |- warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deprecated' 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
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:70:23: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readOnly' 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
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:71:23: warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
| |- warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeOnly' 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
72 |
73 | public let rawValue: UInt
[26/34] Compiling DynamicJSON JSONSchemaDraft2020.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:18:21: warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct JSONSchemaFormatValidators {
17 |
18 | public static let draft2020: [String : (String) -> Bool] = [
| |- warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'draft2020' 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 | "unknown": JSONSchemaFormatValidators.isUnknown,
20 | "date-time": JSONSchemaFormatValidators.isDateTime,
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
78 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:77:23: warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
| |- warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateFormat' 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
78 |
79 | public let uri: URL
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:69:23: warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
| |- warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deprecated' 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
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:70:23: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readOnly' 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
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:71:23: warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
| |- warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeOnly' 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
72 |
73 | public let rawValue: UInt
[27/34] Compiling DynamicJSON JSONSchemaFormatValidators.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:18:21: warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct JSONSchemaFormatValidators {
17 |
18 | public static let draft2020: [String : (String) -> Bool] = [
| |- warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'draft2020' 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 | "unknown": JSONSchemaFormatValidators.isUnknown,
20 | "date-time": JSONSchemaFormatValidators.isDateTime,
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
78 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:77:23: warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
| |- warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateFormat' 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
78 |
79 | public let uri: URL
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:69:23: warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
| |- warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deprecated' 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
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:70:23: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readOnly' 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
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:71:23: warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
| |- warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeOnly' 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
72 |
73 | public let rawValue: UInt
[28/34] Compiling DynamicJSON JSONSchemaIdentifier.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:18:21: warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public struct JSONSchemaFormatValidators {
17 |
18 | public static let draft2020: [String : (String) -> Bool] = [
| |- warning: static property 'draft2020' is not concurrency-safe because non-'Sendable' type '[String : (String) -> Bool]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'draft2020' 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 | "unknown": JSONSchemaFormatValidators.isUnknown,
20 | "date-time": JSONSchemaFormatValidators.isDateTime,
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
78 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaDraft2020.swift:77:23: warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | /// Draft 2020-20 dialect representation
75 | public struct Dialect: JSONSchemaDialect, CustomStringConvertible {
| `- note: consider making struct 'Dialect' conform to the 'Sendable' protocol
76 | public static let `default`: Dialect = Dialect()
77 | public static let `validateFormat`: Dialect = Dialect(vocabulary: Vocabulary(formatValid: true))
| |- warning: static property 'validateFormat' is not concurrency-safe because non-'Sendable' type 'JSONSchemaDraft2020.Dialect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateFormat' 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
78 |
79 | public let uri: URL
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:69:23: warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
| |- warning: static property 'deprecated' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deprecated' 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
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:70:23: warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
| |- warning: static property 'readOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readOnly' 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
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaValidationResult.swift:71:23: warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | public struct MetaTags: OptionSet, AnnotationMessage {
| `- note: consider making struct 'MetaTags' conform to the 'Sendable' protocol
69 | public static let deprecated = MetaTags(rawValue: 1 << 0)
70 | public static let readOnly = MetaTags(rawValue: 1 << 1)
71 | public static let writeOnly = MetaTags(rawValue: 1 << 2)
| |- warning: static property 'writeOnly' is not concurrency-safe because non-'Sendable' type 'JSONSchemaValidationResult.MetaTags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeOnly' 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
72 |
73 | public let rawValue: UInt
[29/34] Compiling DynamicJSON JSON.swift
[30/34] Compiling DynamicJSON JSONLocation.swift
[31/34] Compiling DynamicJSON JSONPatch.swift
[32/36] Emitting module JSONPathTool
[33/36] Compiling JSONPathTool main.swift
[33/36] Write Objects.LinkFileList
[34/36] Linking JSONPathTool
[35/36] Applying JSONPathTool
Build complete! (20.78s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DynamicJSON",
"name" : "DynamicJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "DynamicJSON",
"targets" : [
"DynamicJSON"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JSONPathTool",
"targets" : [
"JSONPathTool"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "JSONPathTool",
"module_type" : "SwiftTarget",
"name" : "JSONPathTool",
"path" : "Sources/JSONPathTool",
"product_memberships" : [
"JSONPathTool"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"DynamicJSON"
],
"type" : "executable"
},
{
"c99name" : "DynamicJSONTests",
"module_type" : "SwiftTarget",
"name" : "DynamicJSONTests",
"path" : "Tests/DynamicJSONTests",
"sources" : [
"DynamicJSONTests.swift",
"JSONConstructorTests.swift",
"JSONLocationTests.swift",
"JSONMergingTests.swift",
"JSONMutationTests.swift",
"JSONPatchComplianceSuite.swift",
"JSONPatchComplianceTest.swift",
"JSONPatchLargeTest.swift",
"JSONPatchTestCase.swift",
"JSONPathComplianceSuite.swift",
"JSONPathComplianceTest.swift",
"JSONPathTestCase.swift",
"JSONPathTests.swift",
"JSONPointerTests.swift",
"JSONSchemaComplianceSuite.swift",
"JSONSchemaComplianceTest.swift",
"JSONSchemaDebugTest.swift",
"JSONSchemaExampleTest.swift",
"JSONSchemaFormatSuite.swift",
"JSONSchemaOptionalSuite.swift",
"JSONSchemaTestCase.swift",
"JSONTypeTests.swift"
],
"target_dependencies" : [
"DynamicJSON"
],
"type" : "test"
},
{
"c99name" : "DynamicJSON",
"module_type" : "SwiftTarget",
"name" : "DynamicJSON",
"path" : "Sources/DynamicJSON",
"product_memberships" : [
"DynamicJSON",
"JSONPathTool"
],
"sources" : [
"JSON.swift",
"JSONLocation.swift",
"JSONPatch/JSONPatch.swift",
"JSONPatch/JSONPatchOperation.swift",
"JSONPath/JSONPath.swift",
"JSONPath/JSONPathEnvironment.swift",
"JSONPath/JSONPathEvaluator.swift",
"JSONPath/JSONPathParser.swift",
"JSONPointer.swift",
"JSONReference.swift",
"JSONSchema/JSONSchema.swift",
"JSONSchema/JSONSchemaDialect.swift",
"JSONSchema/JSONSchemaDraft2020.swift",
"JSONSchema/JSONSchemaFormatValidators.swift",
"JSONSchema/JSONSchemaIdentifier.swift",
"JSONSchema/JSONSchemaProvider.swift",
"JSONSchema/JSONSchemaRegistry.swift",
"JSONSchema/JSONSchemaResource.swift",
"JSONSchema/JSONSchemaValidationContext.swift",
"JSONSchema/JSONSchemaValidationResult.swift",
"JSONSchema/JSONSchemaValidator.swift",
"JSONType.swift",
"LocatedJSON.swift",
"Util/Indirect.swift",
"Util/JSONExtensions.swift",
"Util/NSNumber.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.