Build Information
Successful build of MathParser, reference 3.1.0 (0a1591
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 15:08:37 UTC.
Swift 6 data race errors: 109
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
| |- 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: add '@MainActor' to make static property 'l_if' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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 GroupedToken.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'standardFunctions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | add, subtract, multiply, divide,
27 | mod, negate, factorial, factorial2,
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'add' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'subtract' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'multiply' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'divide' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'mod' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'negate' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'factorial' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:106:23: warning: static property 'factorial2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
104 | })
105 |
106 | public static let factorial2 = Function(name: "factorial2", evaluator: { state throws -> Double in
| |- warning: static property 'factorial2' 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: add '@MainActor' to make static property 'factorial2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
108 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:127:23: warning: static property 'pow' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
125 | })
126 |
127 | public static let pow = Function(name: "pow", evaluator: { state throws -> Double in
| |- warning: static property 'pow' 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: add '@MainActor' to make static property 'pow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
129 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:136:23: warning: static property 'sqrt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
134 | })
135 |
136 | public static let sqrt = Function(name: "sqrt", evaluator: { state throws -> Double in
| |- warning: static property 'sqrt' 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: add '@MainActor' to make static property 'sqrt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
138 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:144:23: warning: static property 'cuberoot' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
142 | })
143 |
144 | public static let cuberoot = Function(name: "cuberoot", evaluator: { state throws -> Double in
| |- warning: static property 'cuberoot' 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: add '@MainActor' to make static property 'cuberoot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
146 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:152:23: warning: static property 'nthroot' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
150 | })
151 |
152 | public static let nthroot = Function(name: "nthroot", evaluator: { state throws -> Double in
| |- warning: static property 'nthroot' 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: add '@MainActor' to make static property 'nthroot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
154 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:188:23: warning: static property 'log' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
186 | })
187 |
188 | public static let log = Function(name: "log", evaluator: { state throws -> Double in
| |- warning: static property 'log' 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: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
190 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:195:23: warning: static property 'ln' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
193 | })
194 |
195 | public static let ln = Function(name: "ln", evaluator: { state throws -> Double in
| |- warning: static property 'ln' 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: add '@MainActor' to make static property 'ln' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
197 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:202:23: warning: static property 'log2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
200 | })
201 |
202 | public static let log2 = Function(name: "log2", evaluator: { state throws -> Double in
| |- warning: static property 'log2' 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: add '@MainActor' to make static property 'log2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
204 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:209:23: warning: static property 'exp' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
207 | })
208 |
209 | public static let exp = Function(name: "exp", evaluator: { state throws -> Double in
| |- warning: static property 'exp' 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: add '@MainActor' to make static property 'exp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
211 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'abs' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'percent' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'and' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'or' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'not' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'xor' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'rshift' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'lshift' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'average' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'sum' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'product' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | return Double(state.arguments.count)
334 | })
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'median' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:376:23: warning: static property 'stddev' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
374 | })
375 |
376 | public static let stddev = Function(name: "stddev", evaluator: { state throws -> Double in
| |- warning: static property 'stddev' 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: add '@MainActor' to make static property 'stddev' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
378 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:391:23: warning: static property 'ceil' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
389 | })
390 |
391 | public static let ceil = Function(name: "ceil", evaluator: { state throws -> Double in
| |- warning: static property 'ceil' 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: add '@MainActor' to make static property 'ceil' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
392 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
393 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:398:23: warning: static property 'floor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
396 | })
397 |
398 | public static let floor = Function(names: ["floor", "trunc"], evaluator: { state throws -> Double in
| |- warning: static property 'floor' 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: add '@MainActor' to make static property 'floor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
400 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:407:23: warning: static property 'sin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
405 | // MARK: - Trigonometric functions
406 |
407 | public static let sin = Function(name: "sin", evaluator: { state throws -> Double in
| |- warning: static property 'sin' 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: add '@MainActor' to make static property 'sin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
408 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
409 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:414:23: warning: static property 'cos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
412 | })
413 |
414 | public static let cos = Function(name: "cos", evaluator: { state throws -> Double in
| |- warning: static property 'cos' 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: add '@MainActor' to make static property 'cos' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
415 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
416 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:421:23: warning: static property 'tan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
419 | })
420 |
421 | public static let tan = Function(name: "tan", evaluator: { state throws -> Double in
| |- warning: static property 'tan' 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: add '@MainActor' to make static property 'tan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
423 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:428:23: warning: static property 'asin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
426 | })
427 |
428 | public static let asin = Function(names: ["asin", "sin⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asin' 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: add '@MainActor' to make static property 'asin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
430 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:435:23: warning: static property 'acos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
433 | })
434 |
435 | public static let acos = Function(names: ["acos", "cos⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acos' 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: add '@MainActor' to make static property 'acos' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
437 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:442:23: warning: static property 'atan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
440 | })
441 |
442 | public static let atan = Function(names: ["atan", "tan⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'atan' 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: add '@MainActor' to make static property 'atan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
443 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
444 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:449:23: warning: static property 'atan2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
447 | })
448 |
449 | public static let atan2 = Function(name: "atan2", evaluator: { state throws -> Double in
| |- warning: static property 'atan2' 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: add '@MainActor' to make static property 'atan2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
450 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
451 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:457:23: warning: static property 'csc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
455 | })
456 |
457 | public static let csc = Function(name: "csc", evaluator: { state throws -> Double in
| |- warning: static property 'csc' 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: add '@MainActor' to make static property 'csc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
458 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
459 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:466:23: warning: static property 'sec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
464 | })
465 |
466 | public static let sec = Function(name: "sec", evaluator: { state throws -> Double in
| |- warning: static property 'sec' 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: add '@MainActor' to make static property 'sec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
467 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
468 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:475:23: warning: static property 'cotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
473 | })
474 |
475 | public static let cotan = Function(name: "cotan", evaluator: { state throws -> Double in
| |- warning: static property 'cotan' 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: add '@MainActor' to make static property 'cotan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
476 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
477 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:484:23: warning: static property 'acsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
482 | })
483 |
484 | public static let acsc = Function(names: ["acsc", "csc⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acsc' 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: add '@MainActor' to make static property 'acsc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
485 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
486 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:23: warning: static property 'asec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
490 | })
491 |
492 | public static let asec = Function(names: ["asec", "sec⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asec' 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: add '@MainActor' to make static property 'asec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
493 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
494 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:500:23: warning: static property 'acotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
498 | })
499 |
500 | public static let acotan = Function(names: ["acotan", "cotan⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acotan' 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: add '@MainActor' to make static property 'acotan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
501 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
502 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:23: warning: static property 'sinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
508 | // MARK: - Hyperbolic trigonometric functions
509 |
510 | public static let sinh = Function(name: "sinh", evaluator: { state throws -> Double in
| |- warning: static property 'sinh' 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: add '@MainActor' to make static property 'sinh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
511 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
512 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:517:23: warning: static property 'cosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
515 | })
516 |
517 | public static let cosh = Function(name: "cosh", evaluator: { state throws -> Double in
| |- warning: static property 'cosh' 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: add '@MainActor' to make static property 'cosh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
518 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
519 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:524:23: warning: static property 'tanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
522 | })
523 |
524 | public static let tanh = Function(name: "tanh", evaluator: { state throws -> Double in
| |- warning: static property 'tanh' 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: add '@MainActor' to make static property 'tanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
525 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
526 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:531:23: warning: static property 'asinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
529 | })
530 |
531 | public static let asinh = Function(names: ["asinh", "sinh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asinh' 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: add '@MainActor' to make static property 'asinh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
532 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
533 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:538:23: warning: static property 'acosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
536 | })
537 |
538 | public static let acosh = Function(names: ["acosh", "cosh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acosh' 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: add '@MainActor' to make static property 'acosh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
539 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
540 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:545:23: warning: static property 'atanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
543 | })
544 |
545 | public static let atanh = Function(names: ["atanh", "tanh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'atanh' 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: add '@MainActor' to make static property 'atanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
547 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:552:23: warning: static property 'csch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
550 | })
551 |
552 | public static let csch = Function(name: "csch", evaluator: { state throws -> Double in
| |- warning: static property 'csch' 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: add '@MainActor' to make static property 'csch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
553 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
554 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:561:23: warning: static property 'sech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
559 | })
560 |
561 | public static let sech = Function(name: "sech", evaluator: { state throws -> Double in
| |- warning: static property 'sech' 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: add '@MainActor' to make static property 'sech' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
563 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:570:23: warning: static property 'cotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
568 | })
569 |
570 | public static let cotanh = Function(name: "cotanh", evaluator: { state throws -> Double in
| |- warning: static property 'cotanh' 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: add '@MainActor' to make static property 'cotanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
571 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
572 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:579:23: warning: static property 'acsch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
577 | })
578 |
579 | public static let acsch = Function(names: ["acsch", "csch⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acsch' 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: add '@MainActor' to make static property 'acsch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
581 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:23: warning: static property 'asech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
585 | })
586 |
587 | public static let asech = Function(names: ["asech", "sech⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asech' 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: add '@MainActor' to make static property 'asech' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
588 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
589 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:595:23: warning: static property 'acotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
593 | })
594 |
595 | public static let acotanh = Function(names: ["acotanh", "cotanh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acotanh' 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: add '@MainActor' to make static property 'acotanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
596 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
597 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:23: warning: static property 'versin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
603 | // MARK: - Geometric functions
604 |
605 | public static let versin = Function(names: ["versin", "vers", "ver"], evaluator: { state throws -> Double in
| |- warning: static property 'versin' 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: add '@MainActor' to make static property 'versin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
606 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
607 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:612:23: warning: static property 'vercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
610 | })
611 |
612 | public static let vercosin = Function(names: ["vercosin", "vercos"], evaluator: { state throws -> Double in
| |- warning: static property 'vercosin' 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: add '@MainActor' to make static property 'vercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
613 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
614 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:619:23: warning: static property 'coversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
617 | })
618 |
619 | public static let coversin = Function(names: ["coversin", "cvs"], evaluator: { state throws -> Double in
| |- warning: static property 'coversin' 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: add '@MainActor' to make static property 'coversin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
620 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
621 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:626:23: warning: static property 'covercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
624 | })
625 |
626 | public static let covercosin = Function(name: "covercosin", evaluator: { state throws -> Double in
| |- warning: static property 'covercosin' 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: add '@MainActor' to make static property 'covercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
627 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
628 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:633:23: warning: static property 'haversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
631 | })
632 |
633 | public static let haversin = Function(name: "haversin", evaluator: { state throws -> Double in
| |- warning: static property 'haversin' 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: add '@MainActor' to make static property 'haversin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
634 | return try versin.evaluator(state) / 2.0
635 | })
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:637:23: warning: static property 'havercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
635 | })
636 |
637 | public static let havercosin = Function(name: "havercosin", evaluator: { state throws -> Double in
| |- warning: static property 'havercosin' 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: add '@MainActor' to make static property 'havercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
638 | return try vercosin.evaluator(state) / 2.0
639 | })
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:641:23: warning: static property 'hacoversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
639 | })
640 |
641 | public static let hacoversin = Function(name: "hacoversin", evaluator: { state throws -> Double in
| |- warning: static property 'hacoversin' 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: add '@MainActor' to make static property 'hacoversin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
642 | return try coversin.evaluator(state) / 2.0
643 | })
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:645:23: warning: static property 'hacovercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
643 | })
644 |
645 | public static let hacovercosin = Function(name: "hacovercosin", evaluator: { state throws -> Double in
| |- warning: static property 'hacovercosin' 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: add '@MainActor' to make static property 'hacovercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
646 | return try covercosin.evaluator(state) / 2.0
647 | })
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:649:23: warning: static property 'exsec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
647 | })
648 |
649 | public static let exsec = Function(name: "exsec", evaluator: { state throws -> Double in
| |- warning: static property 'exsec' 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: add '@MainActor' to make static property 'exsec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
650 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
651 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:658:23: warning: static property 'excsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
656 | })
657 |
658 | public static let excsc = Function(name: "excsc", evaluator: { state throws -> Double in
| |- warning: static property 'excsc' 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: add '@MainActor' to make static property 'excsc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
659 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
660 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:667:23: warning: static property 'crd' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
665 | })
666 |
667 | public static let crd = Function(names: ["crd", "chord"], evaluator: { state throws -> Double in
| |- warning: static property 'crd' 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: add '@MainActor' to make static property 'crd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
668 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
669 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'dtor' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'rtod' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'phi' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'pi' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'pi_2' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'pi_4' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'tau' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'sqrt2' part of global actor 'MainActor'
| `- 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()
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'log2e' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'log10e' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'ln2' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'ln10' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_and' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_or' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_not' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_eq' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_neq' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_lt' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_gt' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_ltoe' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_gtoe' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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>
/Users/admin/builder/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: add '@MainActor' to make static property 'l_if' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowArgumentlessFunctions' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/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: add '@MainActor' to make static property 'useHighPrecedenceImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[30/45] Compiling MathParser Configuration.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowArgumentlessFunctions' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/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: add '@MainActor' to make static property 'useHighPrecedenceImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[31/45] Compiling MathParser DecimalNumberExtractor.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowArgumentlessFunctions' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/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: add '@MainActor' to make static property 'useHighPrecedenceImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[32/45] Compiling MathParser Deprecations.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowArgumentlessFunctions' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/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: add '@MainActor' to make static property 'useHighPrecedenceImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[33/45] Compiling MathParser Double.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowArgumentlessFunctions' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'allowImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/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: add '@MainActor' to make static property 'useHighPrecedenceImplicitMultiplication' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[34/45] Compiling MathParser HexNumberExtractor.swift
/Users/admin/builder/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
[35/45] Compiling MathParser IdentifierExtractor.swift
/Users/admin/builder/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
[36/45] Compiling MathParser LocalizedNumberExtractor.swift
/Users/admin/builder/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
[37/45] Compiling MathParser MathParserErrors.swift
/Users/admin/builder/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
[38/45] Compiling MathParser OctalNumberExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[39/45] Compiling MathParser Operator+Defaults.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[40/45] Compiling MathParser Operator.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[41/45] Compiling MathParser OperatorExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[42/45] Compiling MathParser OperatorSet.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[43/45] Compiling MathParser OperatorTokenSet.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[44/45] Compiling MathParser PeekingIterator.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[45/45] Compiling MathParser QuotedVariableExtractor.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
Build complete! (5.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MathParser",
"name" : "MathParser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MathParser",
"targets" : [
"MathParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MathParserTests",
"module_type" : "SwiftTarget",
"name" : "MathParserTests",
"path" : "MathParser/Tests/MathParserTests",
"sources" : [
"EvaluatorTests.swift",
"ExpressionTests.swift",
"GithubIssues.swift",
"GroupingTests.swift",
"ResolverTests.swift",
"RewriterTests.swift",
"TestHelpers.swift",
"TokenizerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MathParser"
],
"type" : "test"
},
{
"c99name" : "MathParser",
"module_type" : "SwiftTarget",
"name" : "MathParser",
"path" : "MathParser/Sources/MathParser",
"product_memberships" : [
"MathParser"
],
"sources" : [
"Character.swift",
"Configuration.swift",
"DecimalNumberExtractor.swift",
"Deprecations.swift",
"Double.swift",
"DynamicResolution.swift",
"Either.swift",
"Evaluator.swift",
"ExponentExtractor.swift",
"Expression+Matching.swift",
"Expression.swift",
"ExpressionRewriter.swift",
"Expressionizer.swift",
"FractionNumberExtractor.swift",
"Function.swift",
"FunctionSet.swift",
"Functions+Defaults.swift",
"GroupedToken.swift",
"HexNumberExtractor.swift",
"IdentifierExtractor.swift",
"LocalizedNumberExtractor.swift",
"MathParserErrors.swift",
"OctalNumberExtractor.swift",
"Operator+Defaults.swift",
"Operator.swift",
"OperatorExtractor.swift",
"OperatorSet.swift",
"OperatorTokenSet.swift",
"PeekingIterator.swift",
"QuotedVariableExtractor.swift",
"RawToken.swift",
"ResolvedToken.swift",
"RewriteRule+Defaults.swift",
"RewriteRule.swift",
"String.swift",
"SubstitutionExtensions.swift",
"TokenCharacterBuffer.swift",
"TokenExtractor.swift",
"TokenGrouper.swift",
"TokenResolver.swift",
"Tokenizer.swift",
"VariableExtractor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.