Build Information
Successful build of MathParser, reference master (2e067f
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 15:08:32 UTC.
Swift 6 data race errors: 109
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
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: add '@MainActor' to make static property 'rtod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
696 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
697 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
705 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
706 | return 1.0
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
710 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
711 | return 0.0
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'phi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
716 | return 1.6180339887498948
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'pi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
720 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
721 | return Double.pi
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'pi_2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
725 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
726 | return Double.pi / 2
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'pi_4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
730 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
731 | return Double.pi / 4
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'tau' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
736 | return 2 * Double.pi
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'sqrt2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
740 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
741 | return 2.squareRoot()
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
745 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
746 | return M_E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'log2e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
750 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
751 | return M_LOG2E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'log10e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
755 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
756 | return M_LOG10E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'ln2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
760 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
761 | return M_LN2
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'ln10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
766 | return M_LN10
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_and' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
773 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_or' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
781 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_not' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
788 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
789 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_eq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
795 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
796 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_neq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
804 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_lt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
811 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
812 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_gt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
819 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
820 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_ltoe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
827 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
828 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_gtoe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
835 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
836 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_if' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | guard state.arguments.count == 3 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
844 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
[21/45] Compiling MathParser GroupedToken.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:25:23: warning: static property 'standardFunctions' is not concurrency-safe because non-'Sendable' type 'Array<Function>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public static let standardFunctions: Array<Function> = [
| |- warning: static property 'standardFunctions' is not concurrency-safe because non-'Sendable' type 'Array<Function>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standardFunctions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | add, subtract, multiply, divide,
27 | mod, negate, factorial, factorial2,
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:48:23: warning: static property 'add' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
46 | // MARK: - Basic functions
47 |
48 | public static let add = Function(name: "add", evaluator: { state throws -> Double in
| |- warning: static property 'add' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'add' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
50 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:56:23: warning: static property 'subtract' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
54 | })
55 |
56 | public static let subtract = Function(name: "subtract", evaluator: { state throws -> Double in
| |- warning: static property 'subtract' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subtract' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
58 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:64:23: warning: static property 'multiply' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
62 | })
63 |
64 | public static let multiply = Function(names: ["multiply", "implicitmultiply"], evaluator: { state throws -> Double in
| |- warning: static property 'multiply' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiply' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
66 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:72:23: warning: static property 'divide' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
70 | })
71 |
72 | public static let divide = Function(name: "divide", evaluator: { state throws -> Double in
| |- warning: static property 'divide' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'divide' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
74 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:82:23: warning: static property 'mod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
80 | })
81 |
82 | public static let mod = Function(names: ["mod", "modulo"], evaluator: { state throws -> Double in
| |- warning: static property 'mod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
84 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:91:23: warning: static property 'negate' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
89 | })
90 |
91 | public static let negate = Function(name: "negate", evaluator: { state throws -> Double in
| |- warning: static property 'negate' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'negate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
93 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:99:23: warning: static property 'factorial' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
97 | })
98 |
99 | public static let factorial = Function(name: "factorial", evaluator: { state throws -> Double in
| |- warning: static property 'factorial' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'factorial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
101 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:106:23: warning: static property 'factorial2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
104 | })
105 |
106 | public static let factorial2 = Function(name: "factorial2", evaluator: { state throws -> Double in
| |- warning: static property 'factorial2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'factorial2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
108 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:127:23: warning: static property 'pow' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
125 | })
126 |
127 | public static let pow = Function(name: "pow", evaluator: { state throws -> Double in
| |- warning: static property 'pow' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
129 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:136:23: warning: static property 'sqrt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
134 | })
135 |
136 | public static let sqrt = Function(name: "sqrt", evaluator: { state throws -> Double in
| |- warning: static property 'sqrt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sqrt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
138 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:144:23: warning: static property 'cuberoot' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
142 | })
143 |
144 | public static let cuberoot = Function(name: "cuberoot", evaluator: { state throws -> Double in
| |- warning: static property 'cuberoot' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cuberoot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
146 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:157:23: warning: static property 'nthroot' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
155 | })
156 |
157 | public static let nthroot = Function(name: "nthroot", evaluator: { state throws -> Double in
| |- warning: static property 'nthroot' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nthroot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
159 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | guard state.arguments.count <= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
176 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:201:23: warning: static property 'log' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
199 | })
200 |
201 | public static let log = Function(name: "log", evaluator: { state throws -> Double in
| |- warning: static property 'log' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
203 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:208:23: warning: static property 'ln' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
206 | })
207 |
208 | public static let ln = Function(name: "ln", evaluator: { state throws -> Double in
| |- warning: static property 'ln' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ln' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
210 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:215:23: warning: static property 'log2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
213 | })
214 |
215 | public static let log2 = Function(name: "log2", evaluator: { state throws -> Double in
| |- warning: static property 'log2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'log2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
217 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:222:23: warning: static property 'exp' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
220 | })
221 |
222 | public static let exp = Function(name: "exp", evaluator: { state throws -> Double in
| |- warning: static property 'exp' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'exp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
224 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'abs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
231 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'percent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
238 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'and' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
264 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'or' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
273 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'not' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
281 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
282 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'xor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
290 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'rshift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
298 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
299 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'lshift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
307 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
308 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'average' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
319 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'sum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
327 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'product' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
337 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 | return Double(state.arguments.count)
347 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
351 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
362 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'median' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
373 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:389:23: warning: static property 'stddev' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
387 | })
388 |
389 | public static let stddev = Function(name: "stddev", evaluator: { state throws -> Double in
| |- warning: static property 'stddev' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stddev' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
391 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:404:23: warning: static property 'ceil' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
402 | })
403 |
404 | public static let ceil = Function(name: "ceil", evaluator: { state throws -> Double in
| |- warning: static property 'ceil' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ceil' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
405 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
406 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:411:23: warning: static property 'floor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
409 | })
410 |
411 | public static let floor = Function(names: ["floor", "trunc"], evaluator: { state throws -> Double in
| |- warning: static property 'floor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'floor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
413 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:420:23: warning: static property 'sin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
418 | // MARK: - Trigonometric functions
419 |
420 | public static let sin = Function(name: "sin", evaluator: { state throws -> Double in
| |- warning: static property 'sin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
421 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
422 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:427:23: warning: static property 'cos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
425 | })
426 |
427 | public static let cos = Function(name: "cos", evaluator: { state throws -> Double in
| |- warning: static property 'cos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cos' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
429 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:434:23: warning: static property 'tan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
432 | })
433 |
434 | public static let tan = Function(name: "tan", evaluator: { state throws -> Double in
| |- warning: static property 'tan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
435 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
436 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:441:23: warning: static property 'asin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
439 | })
440 |
441 | public static let asin = Function(names: ["asin", "sin⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'asin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
443 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:448:23: warning: static property 'acos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
446 | })
447 |
448 | public static let acos = Function(names: ["acos", "cos⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'acos' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
449 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
450 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:455:23: warning: static property 'atan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
453 | })
454 |
455 | public static let atan = Function(names: ["atan", "tan⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'atan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
456 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
457 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:462:23: warning: static property 'atan2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
460 | })
461 |
462 | public static let atan2 = Function(name: "atan2", evaluator: { state throws -> Double in
| |- warning: static property 'atan2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atan2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
464 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:470:23: warning: static property 'csc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
468 | })
469 |
470 | public static let csc = Function(name: "csc", evaluator: { state throws -> Double in
| |- warning: static property 'csc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
471 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
472 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:479:23: warning: static property 'sec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
477 | })
478 |
479 | public static let sec = Function(name: "sec", evaluator: { state throws -> Double in
| |- warning: static property 'sec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
481 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:488:23: warning: static property 'cotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
486 | })
487 |
488 | public static let cotan = Function(name: "cotan", evaluator: { state throws -> Double in
| |- warning: static property 'cotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cotan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
490 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:497:23: warning: static property 'acsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
495 | })
496 |
497 | public static let acsc = Function(names: ["acsc", "csc⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'acsc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
498 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
499 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:505:23: warning: static property 'asec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
503 | })
504 |
505 | public static let asec = Function(names: ["asec", "sec⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'asec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
506 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
507 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:513:23: warning: static property 'acotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
511 | })
512 |
513 | public static let acotan = Function(names: ["acotan", "cotan⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'acotan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
514 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
515 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:523:23: warning: static property 'sinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
521 | // MARK: - Hyperbolic trigonometric functions
522 |
523 | public static let sinh = Function(name: "sinh", evaluator: { state throws -> Double in
| |- warning: static property 'sinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sinh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
524 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
525 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:530:23: warning: static property 'cosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
528 | })
529 |
530 | public static let cosh = Function(name: "cosh", evaluator: { state throws -> Double in
| |- warning: static property 'cosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cosh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
531 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
532 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:537:23: warning: static property 'tanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
535 | })
536 |
537 | public static let tanh = Function(name: "tanh", evaluator: { state throws -> Double in
| |- warning: static property 'tanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
538 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
539 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:544:23: warning: static property 'asinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
542 | })
543 |
544 | public static let asinh = Function(names: ["asinh", "sinh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'asinh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
546 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:551:23: warning: static property 'acosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
549 | })
550 |
551 | public static let acosh = Function(names: ["acosh", "cosh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'acosh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
552 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
553 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:558:23: warning: static property 'atanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
556 | })
557 |
558 | public static let atanh = Function(names: ["atanh", "tanh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'atanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
559 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
560 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:565:23: warning: static property 'csch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
563 | })
564 |
565 | public static let csch = Function(name: "csch", evaluator: { state throws -> Double in
| |- warning: static property 'csch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
566 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
567 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:574:23: warning: static property 'sech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
572 | })
573 |
574 | public static let sech = Function(name: "sech", evaluator: { state throws -> Double in
| |- warning: static property 'sech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sech' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
575 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
576 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:583:23: warning: static property 'cotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
581 | })
582 |
583 | public static let cotanh = Function(name: "cotanh", evaluator: { state throws -> Double in
| |- warning: static property 'cotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cotanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
584 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
585 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:592:23: warning: static property 'acsch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
590 | })
591 |
592 | public static let acsch = Function(names: ["acsch", "csch⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acsch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'acsch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
593 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
594 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:600:23: warning: static property 'asech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
598 | })
599 |
600 | public static let asech = Function(names: ["asech", "sech⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'asech' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
602 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:608:23: warning: static property 'acotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
606 | })
607 |
608 | public static let acotanh = Function(names: ["acotanh", "cotanh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'acotanh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
609 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
610 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:618:23: warning: static property 'versin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
616 | // MARK: - Geometric functions
617 |
618 | public static let versin = Function(names: ["versin", "vers", "ver"], evaluator: { state throws -> Double in
| |- warning: static property 'versin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'versin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
619 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
620 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:625:23: warning: static property 'vercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
623 | })
624 |
625 | public static let vercosin = Function(names: ["vercosin", "vercos"], evaluator: { state throws -> Double in
| |- warning: static property 'vercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
626 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
627 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:632:23: warning: static property 'coversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
630 | })
631 |
632 | public static let coversin = Function(names: ["coversin", "cvs"], evaluator: { state throws -> Double in
| |- warning: static property 'coversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'coversin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
633 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
634 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:639:23: warning: static property 'covercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
637 | })
638 |
639 | public static let covercosin = Function(name: "covercosin", evaluator: { state throws -> Double in
| |- warning: static property 'covercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'covercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
640 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
641 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:646:23: warning: static property 'haversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
644 | })
645 |
646 | public static let haversin = Function(name: "haversin", evaluator: { state throws -> Double in
| |- warning: static property 'haversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'haversin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
647 | return try versin.evaluator(state) / 2.0
648 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:650:23: warning: static property 'havercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
648 | })
649 |
650 | public static let havercosin = Function(name: "havercosin", evaluator: { state throws -> Double in
| |- warning: static property 'havercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'havercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
651 | return try vercosin.evaluator(state) / 2.0
652 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:654:23: warning: static property 'hacoversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
652 | })
653 |
654 | public static let hacoversin = Function(name: "hacoversin", evaluator: { state throws -> Double in
| |- warning: static property 'hacoversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hacoversin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
655 | return try coversin.evaluator(state) / 2.0
656 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:658:23: warning: static property 'hacovercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
656 | })
657 |
658 | public static let hacovercosin = Function(name: "hacovercosin", evaluator: { state throws -> Double in
| |- warning: static property 'hacovercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hacovercosin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
659 | return try covercosin.evaluator(state) / 2.0
660 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: warning: static property 'exsec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
660 | })
661 |
662 | public static let exsec = Function(name: "exsec", evaluator: { state throws -> Double in
| |- warning: static property 'exsec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'exsec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
664 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: warning: static property 'excsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
669 | })
670 |
671 | public static let excsc = Function(name: "excsc", evaluator: { state throws -> Double in
| |- warning: static property 'excsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'excsc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
673 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:680:23: warning: static property 'crd' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
678 | })
679 |
680 | public static let crd = Function(names: ["crd", "chord"], evaluator: { state throws -> Double in
| |- warning: static property 'crd' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'crd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
681 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
682 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'dtor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
689 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
690 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'rtod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
696 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
697 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
705 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
706 | return 1.0
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
710 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
711 | return 0.0
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'phi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
716 | return 1.6180339887498948
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'pi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
720 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
721 | return Double.pi
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'pi_2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
725 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
726 | return Double.pi / 2
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'pi_4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
730 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
731 | return Double.pi / 4
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'tau' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
736 | return 2 * Double.pi
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'sqrt2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
740 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
741 | return 2.squareRoot()
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
745 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
746 | return M_E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'log2e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
750 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
751 | return M_LOG2E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'log10e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
755 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
756 | return M_LOG10E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'ln2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
760 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
761 | return M_LN2
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'ln10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
766 | return M_LN10
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_and' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
773 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_or' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
781 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_not' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
788 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
789 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_eq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
795 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
796 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_neq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
804 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_lt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
811 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
812 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_gt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
819 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
820 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_ltoe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
827 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
828 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_gtoe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
835 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
836 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift: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: add '@MainActor' to make static property 'l_if' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | guard state.arguments.count == 3 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
844 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
[22/45] Compiling MathParser OctalNumberExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[23/45] Compiling MathParser Operator+Defaults.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[24/45] Compiling MathParser Operator.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[25/45] Compiling MathParser OperatorExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[26/45] Compiling MathParser RawToken.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- 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"),
/Users/admin/builder/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 ResolvedToken.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- 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"),
/Users/admin/builder/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 RewriteRule+Defaults.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- 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"),
/Users/admin/builder/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 RewriteRule.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- 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"),
/Users/admin/builder/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 String.swift
[31/45] Compiling MathParser SubstitutionExtensions.swift
[32/45] Compiling MathParser TokenCharacterBuffer.swift
[33/45] Compiling MathParser TokenExtractor.swift
[34/45] Compiling MathParser OperatorSet.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[35/45] Compiling MathParser OperatorTokenSet.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[36/45] Compiling MathParser PeekingIterator.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[37/45] Compiling MathParser QuotedVariableExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[38/45] Compiling MathParser Expression.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
[39/45] Compiling MathParser ExpressionRewriter.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
[40/45] Compiling MathParser Expressionizer.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
[41/45] Compiling MathParser FractionNumberExtractor.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
[42/45] Compiling MathParser HexNumberExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[43/45] Compiling MathParser IdentifierExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[44/45] Compiling MathParser LocalizedNumberExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
[45/45] Compiling MathParser MathParserErrors.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift:49:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
11 | public struct MathParserError: Error {
12 |
13 | public enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
14 | // Tokenization Errors
15 | case cannotParseNumber
:
47 | }
48 |
49 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'MathParserError' has non-sendable type 'MathParserError.Kind'; this is an error in the Swift 6 language mode
50 |
51 | // the location within the original source string where the error was found
Build complete! (5.46s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MathParser",
"name" : "MathParser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MathParser",
"targets" : [
"MathParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MathParserTests",
"module_type" : "SwiftTarget",
"name" : "MathParserTests",
"path" : "MathParser/Tests/MathParserTests",
"sources" : [
"EvaluatorTests.swift",
"ExpressionTests.swift",
"GithubIssues.swift",
"GroupingTests.swift",
"ResolverTests.swift",
"RewriterTests.swift",
"TestHelpers.swift",
"TokenizerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MathParser"
],
"type" : "test"
},
{
"c99name" : "MathParser",
"module_type" : "SwiftTarget",
"name" : "MathParser",
"path" : "MathParser/Sources/MathParser",
"product_memberships" : [
"MathParser"
],
"sources" : [
"Character.swift",
"Configuration.swift",
"DecimalNumberExtractor.swift",
"Deprecations.swift",
"Double.swift",
"DynamicResolution.swift",
"Either.swift",
"Evaluator.swift",
"ExponentExtractor.swift",
"Expression+Matching.swift",
"Expression.swift",
"ExpressionRewriter.swift",
"Expressionizer.swift",
"FractionNumberExtractor.swift",
"Function.swift",
"FunctionSet.swift",
"Functions+Defaults.swift",
"GroupedToken.swift",
"HexNumberExtractor.swift",
"IdentifierExtractor.swift",
"LocalizedNumberExtractor.swift",
"MathParserErrors.swift",
"OctalNumberExtractor.swift",
"Operator+Defaults.swift",
"Operator.swift",
"OperatorExtractor.swift",
"OperatorSet.swift",
"OperatorTokenSet.swift",
"PeekingIterator.swift",
"QuotedVariableExtractor.swift",
"RawToken.swift",
"ResolvedToken.swift",
"RewriteRule+Defaults.swift",
"RewriteRule.swift",
"String.swift",
"SubstitutionExtensions.swift",
"TokenCharacterBuffer.swift",
"TokenExtractor.swift",
"TokenGrouper.swift",
"TokenResolver.swift",
"Tokenizer.swift",
"VariableExtractor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.