Build Information
Failed to build MathParser, reference master (2e067f
), with Swift 6.0 for Linux on 26 Nov 2024 14:07:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
304 | })
305 |
306 | public static let lshift = Function(name: "lshift", evaluator: { state throws -> Double in
| |- warning: static property 'lshift' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lshift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
307 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
308 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:317: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
315 | // MARK: - Aggregate functions
316 |
317 | public static let average = Function(names: ["average", "avg", "mean"], evaluator: { state throws -> Double in
| |- warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'average' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
319 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:325: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
323 | })
324 |
325 | public static let sum = Function(names: ["sum", "∑"], evaluator: { state throws -> Double in
| |- warning: static property 'sum' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
327 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:335: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
333 | })
334 |
335 | public static let product = Function(names: ["product", "∏"], evaluator: { state throws -> Double in
| |- warning: static property 'product' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'product' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
337 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:345: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
343 | })
344 |
345 | public static let count = Function(name: "count", evaluator: { state throws -> Double in
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'count' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 | return Double(state.arguments.count)
347 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:349: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
347 | })
348 |
349 | public static let min = Function(name: "min", evaluator: { state throws -> Double in
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
351 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:360: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
358 | })
359 |
360 | public static let max = Function(name: "max", evaluator: { state throws -> Double in
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
362 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:371: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
369 | })
370 |
371 | public static let median = Function(name: "median", evaluator: { state throws -> Double in
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
373 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:688: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
686 | })
687 |
688 | public static let dtor = Function(name: "dtor", evaluator: { state throws -> Double in
| |- warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dtor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
689 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
690 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:695: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
693 | })
694 |
695 | public static let rtod = Function(name: "rtod", evaluator: { state throws -> Double in
| |- warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rtod' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
696 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
697 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:704: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
702 | // MARK: - Constant functions
703 |
704 | public static let `true` = Function(names: ["true", "yes"], evaluator: { state throws -> Double in
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
705 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
706 | return 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:709: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
707 | })
708 |
709 | public static let `false` = Function(names: ["false", "no"], evaluator: { state throws -> Double in
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
710 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
711 | return 0.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:714: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
712 | })
713 |
714 | public static let phi = Function(names: ["phi", "ϕ"], evaluator: { state throws -> Double in
| |- warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
716 | return 1.6180339887498948
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:719: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
717 | })
718 |
719 | public static let pi = Function(names: ["pi", "π", "tau_2"], evaluator: { state throws -> Double in
| |- warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
720 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
721 | return Double.pi
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:724: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
722 | })
723 |
724 | public static let pi_2 = Function(names: ["pi_2", "tau_4"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
725 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
726 | return Double.pi / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:729: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
727 | })
728 |
729 | public static let pi_4 = Function(names: ["pi_4", "tau_8"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
730 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
731 | return Double.pi / 4
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:734: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
732 | })
733 |
734 | public static let tau = Function(names: ["tau", "τ"], evaluator: { state throws -> Double in
| |- warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tau' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
736 | return 2 * Double.pi
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:739: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
737 | })
738 |
739 | public static let sqrt2 = Function(name: "sqrt2", evaluator: { state throws -> Double in
| |- warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sqrt2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
740 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
741 | return 2.squareRoot()
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:744: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
742 | })
743 |
744 | public static let e = Function(name: "e", evaluator: { state throws -> Double in
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
745 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
746 | return M_E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:749: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
747 | })
748 |
749 | public static let log2e = Function(name: "log2e", evaluator: { state throws -> Double in
| |- warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log2e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
750 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
751 | return M_LOG2E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:754: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
752 | })
753 |
754 | public static let log10e = Function(name: "log10e", evaluator: { state throws -> Double in
| |- warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log10e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
755 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
756 | return M_LOG10E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:759: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
757 | })
758 |
759 | public static let ln2 = Function(name: "ln2", evaluator: { state throws -> Double in
| |- warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
760 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
761 | return M_LN2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:764: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
762 | })
763 |
764 | public static let ln10 = Function(name: "ln10", evaluator: { state throws -> Double in
| |- warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
766 | return M_LN10
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:771: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
769 | // MARK: - Logical Functions
770 |
771 | public static let l_and = Function(name: "l_and", evaluator: { state throws -> Double in
| |- warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_and' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
773 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:779: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
777 | })
778 |
779 | public static let l_or = Function(name: "l_or", evaluator: { state throws -> Double in
| |- warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_or' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
781 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:787: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
785 | })
786 |
787 | public static let l_not = Function(name: "l_not", evaluator: { state throws -> Double in
| |- warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_not' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
788 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
789 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:794: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
792 | })
793 |
794 | public static let l_eq = Function(name: "l_eq", evaluator: { state throws -> Double in
| |- warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_eq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
795 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
796 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:802: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
800 | })
801 |
802 | public static let l_neq = Function(name: "l_neq", evaluator: { state throws -> Double in
| |- warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_neq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
804 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:810: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
808 | })
809 |
810 | public static let l_lt = Function(name: "l_lt", evaluator: { state throws -> Double in
| |- warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_lt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
811 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
812 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:818: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
816 | })
817 |
818 | public static let l_gt = Function(name: "l_gt", evaluator: { state throws -> Double in
| |- warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
819 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
820 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:826: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
824 | })
825 |
826 | public static let l_ltoe = Function(name: "l_ltoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_ltoe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
827 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
828 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:834: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
832 | })
833 |
834 | public static let l_gtoe = Function(name: "l_gtoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gtoe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
835 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
836 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:842: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
840 | })
841 |
842 | public static let l_if = Function(names: ["l_if", "if"], evaluator: { state throws -> Double in
| |- warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_if' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | guard state.arguments.count == 3 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
844 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
[24/45] Compiling MathParser Functions+Defaults.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:25:23: warning: static property 'standardFunctions' is not concurrency-safe because non-'Sendable' type 'Array<Function>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public static let standardFunctions: Array<Function> = [
| |- warning: static property 'standardFunctions' is not concurrency-safe because non-'Sendable' type 'Array<Function>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | add, subtract, multiply, divide,
27 | mod, negate, factorial, factorial2,
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 | guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 | guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
| `- error: cannot find 'Darwin' in scope
112 |
113 | if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 | if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 | let k = arg1 / 2
115 | return Darwin.pow(2, k) * k.factorial()
| `- error: cannot find 'Darwin' in scope
116 | } else {
117 | let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 | let numerator = (2*k).factorial()
120 | let denominator = Darwin.pow(2, k) * k.factorial()
| `- error: cannot find 'Darwin' in scope
121 |
122 | guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 | let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 | return Darwin.pow(arg1, arg2)
| `- error: cannot find 'Darwin' in scope
134 | })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 | let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 | return Darwin.sqrt(value)
| `- error: cannot find 'Darwin' in scope
142 | })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 | if arg1 < 0 {
150 | let root = Darwin.pow(-arg1, 1.0/3.0)
| `- error: cannot find 'Darwin' in scope
151 | return -root
152 | } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 | return -root
152 | } else {
153 | return Darwin.pow(arg1, 1.0/3.0)
| `- error: cannot find 'Darwin' in scope
154 | }
155 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 | if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 | // for negative numbers with an odd root, the result will be negative
167 | let root = Darwin.pow(-arg1, 1/arg2)
| `- error: cannot find 'Darwin' in scope
168 | return -root
169 | } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 | return -root
169 | } else {
170 | return Darwin.pow(arg1, 1/arg2)
| `- error: cannot find 'Darwin' in scope
171 | }
172 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 | return Darwin.log10(arg1)
| `- error: cannot find 'Darwin' in scope
206 | })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 | return Darwin.log(arg1)
| `- error: cannot find 'Darwin' in scope
213 | })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 | return Darwin.log2(arg1)
| `- error: cannot find 'Darwin' in scope
220 | })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 | return Darwin.exp(arg1)
| `- error: cannot find 'Darwin' in scope
227 | })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 | }
400 |
401 | return Darwin.sqrt(stddev / Double(state.arguments.count))
| `- error: cannot find 'Darwin' in scope
402 | })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 | return Darwin.ceil(arg1)
| `- error: cannot find 'Darwin' in scope
409 | })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 | return Darwin.floor(arg1)
| `- error: cannot find 'Darwin' in scope
416 | })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 | return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
425 | })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 | return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
432 | })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 | return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
439 | })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 | return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
446 | })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 | return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
453 | })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 | return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
460 | })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 | let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 | return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
468 | })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 | let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
475 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 | let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
484 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 | let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
493 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 | return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
503 | })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 | return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
511 | })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 | return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
| `- error: cannot find 'Darwin' in scope
519 | })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 | return Darwin.sinh(arg1)
| `- error: cannot find 'Darwin' in scope
528 | })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 | return Darwin.cosh(arg1)
| `- error: cannot find 'Darwin' in scope
535 | })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 | return Darwin.tanh(arg1)
| `- error: cannot find 'Darwin' in scope
542 | })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 | return Darwin.asinh(arg1)
| `- error: cannot find 'Darwin' in scope
549 | })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 | return Darwin.acosh(arg1)
| `- error: cannot find 'Darwin' in scope
556 | })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 | return Darwin.atanh(arg1)
| `- error: cannot find 'Darwin' in scope
563 | })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 | let sinArg = Darwin.sinh(arg1)
| `- error: cannot find 'Darwin' in scope
570 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 | let sinArg = Darwin.cosh(arg1)
| `- error: cannot find 'Darwin' in scope
579 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 | let sinArg = Darwin.tanh(arg1)
| `- error: cannot find 'Darwin' in scope
588 | guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 | return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 | return Darwin.asinh(1.0 / arg1)
| `- error: cannot find 'Darwin' in scope
598 | })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 | return Darwin.acosh(1.0 / arg1)
| `- error: cannot find 'Darwin' in scope
606 | })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 | guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 | return Darwin.atanh(1.0 / arg1)
| `- error: cannot find 'Darwin' in scope
614 | })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 | return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
623 | })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 | return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
630 | })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 | return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
637 | })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 | return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
644 | })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 | let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
667 | guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 | return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 | let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
| `- error: cannot find 'Darwin' in scope
676 | guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 | return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 | let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 | let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
| `- error: cannot find 'Darwin' in scope
685 | return 2 * sinArg1
686 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:48:23: warning: static property 'add' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
46 | // MARK: - Basic functions
47 |
48 | public static let add = Function(name: "add", evaluator: { state throws -> Double in
| |- warning: static property 'add' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'add' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
50 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:56:23: warning: static property 'subtract' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
54 | })
55 |
56 | public static let subtract = Function(name: "subtract", evaluator: { state throws -> Double in
| |- warning: static property 'subtract' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'subtract' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
58 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:64:23: warning: static property 'multiply' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
62 | })
63 |
64 | public static let multiply = Function(names: ["multiply", "implicitmultiply"], evaluator: { state throws -> Double in
| |- warning: static property 'multiply' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multiply' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
66 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:72:23: warning: static property 'divide' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
70 | })
71 |
72 | public static let divide = Function(name: "divide", evaluator: { state throws -> Double in
| |- warning: static property 'divide' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'divide' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
74 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:82:23: warning: static property 'mod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
80 | })
81 |
82 | public static let mod = Function(names: ["mod", "modulo"], evaluator: { state throws -> Double in
| |- warning: static property 'mod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mod' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
84 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:91:23: warning: static property 'negate' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
89 | })
90 |
91 | public static let negate = Function(name: "negate", evaluator: { state throws -> Double in
| |- warning: static property 'negate' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
93 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:99:23: warning: static property 'factorial' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
97 | })
98 |
99 | public static let factorial = Function(name: "factorial", evaluator: { state throws -> Double in
| |- warning: static property 'factorial' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'factorial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
101 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:174: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
172 | })
173 |
174 | public static let random = Function(name: "random", evaluator: { state throws -> Double in
| |- warning: static property 'random' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'random' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | guard state.arguments.count <= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
176 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:229: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
227 | })
228 |
229 | public static let abs = Function(name: "abs", evaluator: { state throws -> Double in
| |- warning: static property 'abs' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'abs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
231 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:236: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
234 | })
235 |
236 | public static let percent = Function(name: "percent", evaluator: { state throws -> Double in
| |- warning: static property 'percent' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'percent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
238 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:262: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
260 | // MARK: - Bitwise functions
261 |
262 | public static let and = Function(name: "and", evaluator: { state throws -> Double in
| |- warning: static property 'and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'and' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
264 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:271: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
269 | })
270 |
271 | public static let or = Function(name: "or", evaluator: { state throws -> Double in
| |- warning: static property 'or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'or' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
273 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:280: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
278 | })
279 |
280 | public static let not = Function(name: "not", evaluator: { state throws -> Double in
| |- warning: static property 'not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'not' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
281 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
282 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:288: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
286 | })
287 |
288 | public static let xor = Function(name: "xor", evaluator: { state throws -> Double in
| |- warning: static property 'xor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
290 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:297: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
295 | })
296 |
297 | public static let rshift = Function(name: "rshift", evaluator: { state throws -> Double in
| |- warning: static property 'rshift' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rshift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
298 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
299 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:306: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
304 | })
305 |
306 | public static let lshift = Function(name: "lshift", evaluator: { state throws -> Double in
| |- warning: static property 'lshift' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lshift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
307 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
308 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:317: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
315 | // MARK: - Aggregate functions
316 |
317 | public static let average = Function(names: ["average", "avg", "mean"], evaluator: { state throws -> Double in
| |- warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'average' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
319 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:325: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
323 | })
324 |
325 | public static let sum = Function(names: ["sum", "∑"], evaluator: { state throws -> Double in
| |- warning: static property 'sum' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
327 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:335: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
333 | })
334 |
335 | public static let product = Function(names: ["product", "∏"], evaluator: { state throws -> Double in
| |- warning: static property 'product' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'product' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
337 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:345: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
343 | })
344 |
345 | public static let count = Function(name: "count", evaluator: { state throws -> Double in
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'count' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 | return Double(state.arguments.count)
347 | })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:349: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
347 | })
348 |
349 | public static let min = Function(name: "min", evaluator: { state throws -> Double in
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
351 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:360: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
358 | })
359 |
360 | public static let max = Function(name: "max", evaluator: { state throws -> Double in
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
362 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:371: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
369 | })
370 |
371 | public static let median = Function(name: "median", evaluator: { state throws -> Double in
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
373 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:688: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
686 | })
687 |
688 | public static let dtor = Function(name: "dtor", evaluator: { state throws -> Double in
| |- warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dtor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
689 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
690 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:695: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
693 | })
694 |
695 | public static let rtod = Function(name: "rtod", evaluator: { state throws -> Double in
| |- warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rtod' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
696 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
697 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:704: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
702 | // MARK: - Constant functions
703 |
704 | public static let `true` = Function(names: ["true", "yes"], evaluator: { state throws -> Double in
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
705 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
706 | return 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:709: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
707 | })
708 |
709 | public static let `false` = Function(names: ["false", "no"], evaluator: { state throws -> Double in
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
710 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
711 | return 0.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:714: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
712 | })
713 |
714 | public static let phi = Function(names: ["phi", "ϕ"], evaluator: { state throws -> Double in
| |- warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
716 | return 1.6180339887498948
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:719: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
717 | })
718 |
719 | public static let pi = Function(names: ["pi", "π", "tau_2"], evaluator: { state throws -> Double in
| |- warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
720 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
721 | return Double.pi
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:724: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
722 | })
723 |
724 | public static let pi_2 = Function(names: ["pi_2", "tau_4"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
725 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
726 | return Double.pi / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:729: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
727 | })
728 |
729 | public static let pi_4 = Function(names: ["pi_4", "tau_8"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
730 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
731 | return Double.pi / 4
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:734: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
732 | })
733 |
734 | public static let tau = Function(names: ["tau", "τ"], evaluator: { state throws -> Double in
| |- warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tau' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
736 | return 2 * Double.pi
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:739: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
737 | })
738 |
739 | public static let sqrt2 = Function(name: "sqrt2", evaluator: { state throws -> Double in
| |- warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sqrt2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
740 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
741 | return 2.squareRoot()
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:744: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
742 | })
743 |
744 | public static let e = Function(name: "e", evaluator: { state throws -> Double in
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
745 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
746 | return M_E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:749: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
747 | })
748 |
749 | public static let log2e = Function(name: "log2e", evaluator: { state throws -> Double in
| |- warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log2e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
750 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
751 | return M_LOG2E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:754: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
752 | })
753 |
754 | public static let log10e = Function(name: "log10e", evaluator: { state throws -> Double in
| |- warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log10e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
755 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
756 | return M_LOG10E
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:759: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
757 | })
758 |
759 | public static let ln2 = Function(name: "ln2", evaluator: { state throws -> Double in
| |- warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
760 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
761 | return M_LN2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:764: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
762 | })
763 |
764 | public static let ln10 = Function(name: "ln10", evaluator: { state throws -> Double in
| |- warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
766 | return M_LN10
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:771: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
769 | // MARK: - Logical Functions
770 |
771 | public static let l_and = Function(name: "l_and", evaluator: { state throws -> Double in
| |- warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_and' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
773 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:779: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
777 | })
778 |
779 | public static let l_or = Function(name: "l_or", evaluator: { state throws -> Double in
| |- warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_or' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
781 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:787: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
785 | })
786 |
787 | public static let l_not = Function(name: "l_not", evaluator: { state throws -> Double in
| |- warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_not' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
788 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
789 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:794: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
792 | })
793 |
794 | public static let l_eq = Function(name: "l_eq", evaluator: { state throws -> Double in
| |- warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_eq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
795 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
796 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:802: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
800 | })
801 |
802 | public static let l_neq = Function(name: "l_neq", evaluator: { state throws -> Double in
| |- warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_neq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
804 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:810: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
808 | })
809 |
810 | public static let l_lt = Function(name: "l_lt", evaluator: { state throws -> Double in
| |- warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_lt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
811 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
812 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:818: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
816 | })
817 |
818 | public static let l_gt = Function(name: "l_gt", evaluator: { state throws -> Double in
| |- warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
819 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
820 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:826: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
824 | })
825 |
826 | public static let l_ltoe = Function(name: "l_ltoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_ltoe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
827 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
828 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:834: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
832 | })
833 |
834 | public static let l_gtoe = Function(name: "l_gtoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gtoe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
835 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
836 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:842: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
840 | })
841 |
842 | public static let l_if = Function(names: ["l_if", "if"], evaluator: { state throws -> Double in
| |- warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_if' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | guard state.arguments.count == 3 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
844 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
[25/45] Compiling MathParser Either.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[26/45] Compiling MathParser Evaluator.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[27/45] Compiling MathParser ExponentExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[28/45] Compiling MathParser Expression+Matching.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[29/45] Compiling MathParser Expression.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[30/45] Compiling MathParser ExpressionRewriter.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[31/45] Compiling MathParser GroupedToken.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[32/45] Compiling MathParser HexNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[33/45] Compiling MathParser IdentifierExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[34/45] Compiling MathParser LocalizedNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[35/45] Compiling MathParser MathParserErrors.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[36/45] Compiling MathParser OctalNumberExtractor.swift
/host/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: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression:72:24: note: 'init(format:_:)' has been explicitly marked unavailable here
70 | open func allowEvaluation()
71 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
72 | public convenience init(format expressionFormat: String, _ args: any CVarArg...)
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
73 | override public init()
74 | deinit
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
| `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
57 |
58 | if result?.int32Value == 512 {
Foundation.NSExpression:68:15: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
66 | open var expressionBlock: (Any?, [Any], NSMutableDictionary?) -> Any { get }
67 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
68 | open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?
| `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
69 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
70 | open func allowEvaluation()
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[37/45] Compiling MathParser Operator+Defaults.swift
/host/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: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression:72:24: note: 'init(format:_:)' has been explicitly marked unavailable here
70 | open func allowEvaluation()
71 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
72 | public convenience init(format expressionFormat: String, _ args: any CVarArg...)
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
73 | override public init()
74 | deinit
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
| `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
57 |
58 | if result?.int32Value == 512 {
Foundation.NSExpression:68:15: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
66 | open var expressionBlock: (Any?, [Any], NSMutableDictionary?) -> Any { get }
67 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
68 | open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?
| `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
69 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
70 | open func allowEvaluation()
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[38/45] Compiling MathParser Operator.swift
/host/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: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression:72:24: note: 'init(format:_:)' has been explicitly marked unavailable here
70 | open func allowEvaluation()
71 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
72 | public convenience init(format expressionFormat: String, _ args: any CVarArg...)
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
73 | override public init()
74 | deinit
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
| `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
57 |
58 | if result?.int32Value == 512 {
Foundation.NSExpression:68:15: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
66 | open var expressionBlock: (Any?, [Any], NSMutableDictionary?) -> Any { get }
67 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
68 | open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?
| `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
69 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
70 | open func allowEvaluation()
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[39/45] Compiling MathParser OperatorExtractor.swift
/host/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: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression:72:24: note: 'init(format:_:)' has been explicitly marked unavailable here
70 | open func allowEvaluation()
71 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
72 | public convenience init(format expressionFormat: String, _ args: any CVarArg...)
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
73 | override public init()
74 | deinit
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
| `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
57 |
58 | if result?.int32Value == 512 {
Foundation.NSExpression:68:15: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
66 | open var expressionBlock: (Any?, [Any], NSMutableDictionary?) -> Any { get }
67 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
68 | open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?
| `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
69 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
70 | open func allowEvaluation()
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[40/45] Compiling MathParser OperatorSet.swift
/host/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: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression:72:24: note: 'init(format:_:)' has been explicitly marked unavailable here
70 | open func allowEvaluation()
71 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
72 | public convenience init(format expressionFormat: String, _ args: any CVarArg...)
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
73 | override public init()
74 | deinit
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
| `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
57 |
58 | if result?.int32Value == 512 {
Foundation.NSExpression:68:15: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
66 | open var expressionBlock: (Any?, [Any], NSMutableDictionary?) -> Any { get }
67 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
68 | open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?
| `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
69 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
70 | open func allowEvaluation()
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[41/45] Compiling MathParser TokenExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[42/45] Compiling MathParser TokenGrouper.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[43/45] Compiling MathParser TokenResolver.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[44/45] Compiling MathParser Tokenizer.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[45/45] Compiling MathParser VariableExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
BUILD FAILURE 6.0 linux