Build Information
Failed to build MathParser, reference 3.1.0 (0a1591
), with Swift 6.0 for Linux on 26 Nov 2024 14:07:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:746:23: warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
744 | })
745 |
746 | public static let ln2 = Function(name: "ln2", evaluator: { state throws -> Double in
| |- warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln2' 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
747 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
748 | return M_LN2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:751:23: warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
749 | })
750 |
751 | public static let ln10 = Function(name: "ln10", evaluator: { state throws -> Double in
| |- warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln10' 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
752 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
753 | return M_LN10
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:758:23: warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
756 | // MARK: - Logical Functions
757 |
758 | public static let l_and = Function(name: "l_and", evaluator: { state throws -> Double in
| |- warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_and' 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
759 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
760 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:766:23: warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
764 | })
765 |
766 | public static let l_or = Function(name: "l_or", evaluator: { state throws -> Double in
| |- warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_or' 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
767 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
768 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:774:23: warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
772 | })
773 |
774 | public static let l_not = Function(name: "l_not", evaluator: { state throws -> Double in
| |- warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_not' 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
775 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
776 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:781:23: warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
779 | })
780 |
781 | public static let l_eq = Function(name: "l_eq", evaluator: { state throws -> Double in
| |- warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_eq' 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
782 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
783 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:789:23: warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
787 | })
788 |
789 | public static let l_neq = Function(name: "l_neq", evaluator: { state throws -> Double in
| |- warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_neq' 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
790 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
791 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:797:23: warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
795 | })
796 |
797 | public static let l_lt = Function(name: "l_lt", evaluator: { state throws -> Double in
| |- warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_lt' 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
798 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
799 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:805:23: warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
803 | })
804 |
805 | public static let l_gt = Function(name: "l_gt", evaluator: { state throws -> Double in
| |- warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gt' 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
806 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
807 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:813:23: warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
811 | })
812 |
813 | public static let l_ltoe = Function(name: "l_ltoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_ltoe' 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
814 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
815 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:821:23: warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
819 | })
820 |
821 | public static let l_gtoe = Function(name: "l_gtoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gtoe' 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
822 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
823 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:829:23: warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
827 | })
828 |
829 | public static let l_if = Function(names: ["l_if", "if"], evaluator: { state throws -> Double in
| |- warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_if' 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
830 | guard state.arguments.count == 3 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
831 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
[28/45] Compiling MathParser Functions+Defaults.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:25:23: warning: static property 'standardFunctions' is not concurrency-safe because non-'Sendable' type 'Array<Function>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public static let standardFunctions: Array<Function> = [
| |- warning: static property 'standardFunctions' is not concurrency-safe because non-'Sendable' type 'Array<Function>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardFunctions' 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
26 | add, subtract, multiply, divide,
27 | mod, negate, factorial, factorial2,
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 | guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 | guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
| `- error: cannot find 'Darwin' in scope
112 |
113 | if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 | if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 | let k = arg1 / 2
115 | return Darwin.pow(2, k) * k.factorial()
| `- error: cannot find 'Darwin' in scope
116 | } else {
117 | let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 | let numerator = (2*k).factorial()
120 | let denominator = Darwin.pow(2, k) * k.factorial()
| `- error: cannot find 'Darwin' in scope
121 |
122 | guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 | let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 | return Darwin.pow(arg1, arg2)
| `- error: cannot find 'Darwin' in scope
134 | })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 | let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 | return Darwin.sqrt(value)
| `- error: cannot find 'Darwin' in scope
142 | })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 | return Darwin.pow(arg1, 1.0/3.0)
| `- error: cannot find 'Darwin' in scope
150 | })
151 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 | if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 | // for negative numbers with an odd root, the result will be negative
162 | let root = Darwin.pow(-arg1, 1/arg2)
| `- error: cannot find 'Darwin' in scope
163 | return -root
164 | } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 | return -root
164 | } else {
165 | return Darwin.pow(arg1, 1/arg2)
| `- error: cannot find 'Darwin' in scope
166 | }
167 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 | return Darwin.log10(arg1)
| `- error: cannot find 'Darwin' in scope
193 | })
194 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 | return Darwin.log(arg1)
| `- error: cannot find 'Darwin' in scope
200 | })
201 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 | return Darwin.log2(arg1)
| `- error: cannot find 'Darwin' in scope
207 | })
208 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 | return Darwin.exp(arg1)
| `- error: cannot find 'Darwin' in scope
214 | })
215 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 | }
387 |
388 | return Darwin.sqrt(stddev / Double(state.arguments.count))
| `- error: cannot find 'Darwin' in scope
389 | })
390 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 | return Darwin.ceil(arg1)
| `- error: cannot find 'Darwin' in scope
396 | })
397 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 | return Darwin.floor(arg1)
| `- error: cannot find 'Darwin' in scope
403 | })
404 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 | return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
412 | })
413 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 | return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
419 | })
420 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 | return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
426 | })
427 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 | return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
433 | })
434 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 | return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
440 | })
441 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 | return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
447 | })
448 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 | let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 | return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
455 | })
456 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 | let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
462 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 | let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
471 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 | let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
480 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 | return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
490 | })
491 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 | return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
498 | })
499 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 | return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
506 | })
507 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 | return Darwin.sinh(arg1)
| `- error: cannot find 'Darwin' in scope
515 | })
516 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 | return Darwin.cosh(arg1)
| `- error: cannot find 'Darwin' in scope
522 | })
523 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 | return Darwin.tanh(arg1)
| `- error: cannot find 'Darwin' in scope
529 | })
530 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 | return Darwin.asinh(arg1)
| `- error: cannot find 'Darwin' in scope
536 | })
537 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 | return Darwin.acosh(arg1)
| `- error: cannot find 'Darwin' in scope
543 | })
544 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 | return Darwin.atanh(arg1)
| `- error: cannot find 'Darwin' in scope
550 | })
551 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 | let sinArg = Darwin.sinh(arg1)
| `- error: cannot find 'Darwin' in scope
557 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 | let sinArg = Darwin.cosh(arg1)
| `- error: cannot find 'Darwin' in scope
566 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 | let sinArg = Darwin.tanh(arg1)
| `- error: cannot find 'Darwin' in scope
575 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 | return Darwin.asinh(1.0 / arg1)
| `- error: cannot find 'Darwin' in scope
585 | })
586 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 | return Darwin.acosh(1.0 / arg1)
| `- error: cannot find 'Darwin' in scope
593 | })
594 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 | return Darwin.atanh(1.0 / arg1)
| `- error: cannot find 'Darwin' in scope
601 | })
602 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 | return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
610 | })
611 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 | return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
617 | })
618 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 | return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
624 | })
625 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 | return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
631 | })
632 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 | let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
654 | guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 | return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 | let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
663 | guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 | return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 | let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
| `- error: cannot find 'Darwin' in scope
672 | return 2 * sinArg1
673 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:48:23: warning: static property 'add' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
46 | // MARK: - Basic functions
47 |
48 | public static let add = Function(name: "add", evaluator: { state throws -> Double in
| |- warning: static property 'add' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'add' 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
49 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
50 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:56:23: warning: static property 'subtract' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
54 | })
55 |
56 | public static let subtract = Function(name: "subtract", evaluator: { state throws -> Double in
| |- warning: static property 'subtract' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'subtract' 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
57 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
58 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:64:23: warning: static property 'multiply' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
62 | })
63 |
64 | public static let multiply = Function(names: ["multiply", "implicitmultiply"], evaluator: { state throws -> Double in
| |- warning: static property 'multiply' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multiply' 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
65 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
66 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:72:23: warning: static property 'divide' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
70 | })
71 |
72 | public static let divide = Function(name: "divide", evaluator: { state throws -> Double in
| |- warning: static property 'divide' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'divide' 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
73 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
74 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:82:23: warning: static property 'mod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
80 | })
81 |
82 | public static let mod = Function(names: ["mod", "modulo"], evaluator: { state throws -> Double in
| |- warning: static property 'mod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mod' 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
83 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
84 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:91:23: warning: static property 'negate' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
89 | })
90 |
91 | public static let negate = Function(name: "negate", evaluator: { state throws -> Double in
| |- warning: static property 'negate' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negate' 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
92 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
93 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:99:23: warning: static property 'factorial' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
97 | })
98 |
99 | public static let factorial = Function(name: "factorial", evaluator: { state throws -> Double in
| |- warning: static property 'factorial' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'factorial' 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
100 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
101 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:169:23: warning: static property 'random' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
167 | })
168 |
169 | public static let random = Function(name: "random", evaluator: { state throws -> Double in
| |- warning: static property 'random' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'random' 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
170 | guard state.arguments.count <= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
171 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:216:23: warning: static property 'abs' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
214 | })
215 |
216 | public static let abs = Function(name: "abs", evaluator: { state throws -> Double in
| |- warning: static property 'abs' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'abs' 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
217 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
218 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:223:23: warning: static property 'percent' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
221 | })
222 |
223 | public static let percent = Function(name: "percent", evaluator: { state throws -> Double in
| |- warning: static property 'percent' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percent' 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
224 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
225 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:249:23: warning: static property 'and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
247 | // MARK: - Bitwise functions
248 |
249 | public static let and = Function(name: "and", evaluator: { state throws -> Double in
| |- warning: static property 'and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'and' 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
250 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
251 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:258:23: warning: static property 'or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
256 | })
257 |
258 | public static let or = Function(name: "or", evaluator: { state throws -> Double in
| |- warning: static property 'or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'or' 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
259 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
260 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:267:23: warning: static property 'not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
265 | })
266 |
267 | public static let not = Function(name: "not", evaluator: { state throws -> Double in
| |- warning: static property 'not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'not' 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
268 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
269 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:275:23: warning: static property 'xor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
273 | })
274 |
275 | public static let xor = Function(name: "xor", evaluator: { state throws -> Double in
| |- warning: static property 'xor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xor' 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
276 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
277 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:284:23: warning: static property 'rshift' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
282 | })
283 |
284 | public static let rshift = Function(name: "rshift", evaluator: { state throws -> Double in
| |- warning: static property 'rshift' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rshift' 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
285 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
286 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:293:23: warning: static property 'lshift' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
291 | })
292 |
293 | public static let lshift = Function(name: "lshift", evaluator: { state throws -> Double in
| |- warning: static property 'lshift' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lshift' 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
294 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
295 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:304:23: warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
302 | // MARK: - Aggregate functions
303 |
304 | public static let average = Function(names: ["average", "avg", "mean"], evaluator: { state throws -> Double in
| |- warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'average' 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
305 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
306 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:312:23: warning: static property 'sum' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
310 | })
311 |
312 | public static let sum = Function(names: ["sum", "∑"], evaluator: { state throws -> Double in
| |- warning: static property 'sum' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sum' 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
313 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
314 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:322:23: warning: static property 'product' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
320 | })
321 |
322 | public static let product = Function(names: ["product", "∏"], evaluator: { state throws -> Double in
| |- warning: static property 'product' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'product' 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
323 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
324 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:332:23: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
330 | })
331 |
332 | public static let count = Function(name: "count", evaluator: { state throws -> Double in
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'count' 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
333 | return Double(state.arguments.count)
334 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:336:23: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
334 | })
335 |
336 | public static let min = Function(name: "min", evaluator: { state throws -> Double in
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' 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
337 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
338 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:347:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
345 | })
346 |
347 | public static let max = Function(name: "max", evaluator: { state throws -> Double in
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
348 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
349 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:358:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
356 | })
357 |
358 | public static let median = Function(name: "median", evaluator: { state throws -> Double in
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' 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
359 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
360 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
673 | })
674 |
675 | public static let dtor = Function(name: "dtor", evaluator: { state throws -> Double in
| |- warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dtor' 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
676 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
677 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:682:23: warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
680 | })
681 |
682 | public static let rtod = Function(name: "rtod", evaluator: { state throws -> Double in
| |- warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rtod' 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
683 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
684 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:691:23: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
689 | // MARK: - Constant functions
690 |
691 | public static let `true` = Function(names: ["true", "yes"], evaluator: { state throws -> Double in
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' 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
692 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
693 | return 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:696:23: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
694 | })
695 |
696 | public static let `false` = Function(names: ["false", "no"], evaluator: { state throws -> Double in
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' 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
697 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
698 | return 0.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:701:23: warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
699 | })
700 |
701 | public static let phi = Function(names: ["phi", "ϕ"], evaluator: { state throws -> Double in
| |- warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phi' 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
702 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
703 | return 1.6180339887498948
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:706:23: warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
704 | })
705 |
706 | public static let pi = Function(names: ["pi", "π", "tau_2"], evaluator: { state throws -> Double in
| |- warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi' 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
707 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
708 | return Double.pi
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:711:23: warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
709 | })
710 |
711 | public static let pi_2 = Function(names: ["pi_2", "tau_4"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_2' 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
712 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
713 | return Double.pi / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:716:23: warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
714 | })
715 |
716 | public static let pi_4 = Function(names: ["pi_4", "tau_8"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_4' 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
717 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
718 | return Double.pi / 4
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:721:23: warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
719 | })
720 |
721 | public static let tau = Function(names: ["tau", "τ"], evaluator: { state throws -> Double in
| |- warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tau' 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
722 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
723 | return 2 * Double.pi
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:726:23: warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
724 | })
725 |
726 | public static let sqrt2 = Function(name: "sqrt2", evaluator: { state throws -> Double in
| |- warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sqrt2' 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
727 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
728 | return 2.squareRoot()
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:731:23: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
729 | })
730 |
731 | public static let e = Function(name: "e", evaluator: { state throws -> Double in
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'e' 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
732 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
733 | return M_E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:736:23: warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
734 | })
735 |
736 | public static let log2e = Function(name: "log2e", evaluator: { state throws -> Double in
| |- warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log2e' 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
737 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
738 | return M_LOG2E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:741:23: warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
739 | })
740 |
741 | public static let log10e = Function(name: "log10e", evaluator: { state throws -> Double in
| |- warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log10e' 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
742 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
743 | return M_LOG10E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:746:23: warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
744 | })
745 |
746 | public static let ln2 = Function(name: "ln2", evaluator: { state throws -> Double in
| |- warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln2' 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
747 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
748 | return M_LN2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:751:23: warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
749 | })
750 |
751 | public static let ln10 = Function(name: "ln10", evaluator: { state throws -> Double in
| |- warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln10' 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
752 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
753 | return M_LN10
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:758:23: warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
756 | // MARK: - Logical Functions
757 |
758 | public static let l_and = Function(name: "l_and", evaluator: { state throws -> Double in
| |- warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_and' 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
759 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
760 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:766:23: warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
764 | })
765 |
766 | public static let l_or = Function(name: "l_or", evaluator: { state throws -> Double in
| |- warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_or' 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
767 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
768 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:774:23: warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
772 | })
773 |
774 | public static let l_not = Function(name: "l_not", evaluator: { state throws -> Double in
| |- warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_not' 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
775 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
776 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:781:23: warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
779 | })
780 |
781 | public static let l_eq = Function(name: "l_eq", evaluator: { state throws -> Double in
| |- warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_eq' 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
782 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
783 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:789:23: warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
787 | })
788 |
789 | public static let l_neq = Function(name: "l_neq", evaluator: { state throws -> Double in
| |- warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_neq' 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
790 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
791 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:797:23: warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
795 | })
796 |
797 | public static let l_lt = Function(name: "l_lt", evaluator: { state throws -> Double in
| |- warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_lt' 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
798 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
799 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:805:23: warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
803 | })
804 |
805 | public static let l_gt = Function(name: "l_gt", evaluator: { state throws -> Double in
| |- warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gt' 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
806 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
807 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:813:23: warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
811 | })
812 |
813 | public static let l_ltoe = Function(name: "l_ltoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_ltoe' 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
814 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
815 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:821:23: warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
819 | })
820 |
821 | public static let l_gtoe = Function(name: "l_gtoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gtoe' 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
822 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
823 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:829:23: warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
827 | })
828 |
829 | public static let l_if = Function(names: ["l_if", "if"], evaluator: { state throws -> Double in
| |- warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_if' 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
830 | guard state.arguments.count == 3 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
831 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
[29/45] Compiling MathParser Character.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' 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
13 |
14 | public enum Relation {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' produces an empty option set
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' 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
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' 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
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' 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
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 | func factorial() -> Double {
28 | if Darwin.floor(self) == self && self > 1 {
| `- error: cannot find 'Darwin' in scope
29 | // it's a factorial of an integer
30 |
[30/45] Compiling MathParser Configuration.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' 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
13 |
14 | public enum Relation {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' produces an empty option set
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' 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
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' 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
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' 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
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 | func factorial() -> Double {
28 | if Darwin.floor(self) == self && self > 1 {
| `- error: cannot find 'Darwin' in scope
29 | // it's a factorial of an integer
30 |
[31/45] Compiling MathParser DecimalNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' 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
13 |
14 | public enum Relation {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' produces an empty option set
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' 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
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' 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
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' 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
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 | func factorial() -> Double {
28 | if Darwin.floor(self) == self && self > 1 {
| `- error: cannot find 'Darwin' in scope
29 | // it's a factorial of an integer
30 |
[32/45] Compiling MathParser Deprecations.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' 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
13 |
14 | public enum Relation {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' produces an empty option set
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' 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
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' 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
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' 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
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 | func factorial() -> Double {
28 | if Darwin.floor(self) == self && self > 1 {
| `- error: cannot find 'Darwin' in scope
29 | // it's a factorial of an integer
30 |
[33/45] Compiling MathParser Double.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' 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
13 |
14 | public enum Relation {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' produces an empty option set
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' 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
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' 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
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' 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
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 | func factorial() -> Double {
28 | if Darwin.floor(self) == self && self > 1 {
| `- error: cannot find 'Darwin' in scope
29 | // it's a factorial of an integer
30 |
[34/45] Compiling MathParser DynamicResolution.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' 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
13 |
14 | public enum Relation {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' produces an empty option set
26 | }
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' 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
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none = TokenResolverOptions(rawValue: 0)
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' 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
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' 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
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 | func factorial() -> Double {
28 | if Darwin.floor(self) == self && self > 1 {
| `- error: cannot find 'Darwin' in scope
29 | // it's a factorial of an integer
30 |
[35/45] Compiling MathParser Either.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' 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
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' 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
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[36/45] Compiling MathParser Evaluator.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' 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
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' 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
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[37/45] Compiling MathParser ExponentExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' 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
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' 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
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[38/45] Compiling MathParser Expression+Matching.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' 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
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' 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
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[39/45] Compiling MathParser Expression.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' 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
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' 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
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[40/45] Compiling MathParser ExpressionRewriter.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' 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
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' 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
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' 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
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[41/45] Compiling MathParser GroupedToken.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[42/45] Compiling MathParser HexNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[43/45] Compiling MathParser IdentifierExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[44/45] Compiling MathParser LocalizedNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[45/45] Compiling MathParser MathParserErrors.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
BUILD FAILURE 6.0 linux