The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MathParser, reference master (2e067f), with Swift 6.1 for Wasm on 27 May 2025 09:01:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

    |                       |- 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:345:23: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
343 |     })
344 |
345 |     public static let count = Function(name: "count", evaluator: { state throws -> Double in
    |                       |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:349:23: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
347 |     })
348 |
349 |     public static let min = Function(name: "min", evaluator: { state throws -> Double in
    |                       |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:360:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
358 |     })
359 |
360 |     public static let max = Function(name: "max", evaluator: { state throws -> Double in
    |                       |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:371:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
369 |     })
370 |
371 |     public static let median = Function(name: "median", evaluator: { state throws -> Double in
    |                       |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:688:23: warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
686 |     })
687 |
688 |     public static let dtor = Function(name: "dtor", evaluator: { state throws -> Double in
    |                       |- warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:695:23: warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
693 |     })
694 |
695 |     public static let rtod = Function(name: "rtod", evaluator: { state throws -> Double in
    |                       |- warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:704:23: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
702 |     // MARK: - Constant functions
703 |
704 |     public static let `true` = Function(names: ["true", "yes"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:709:23: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
707 |     })
708 |
709 |     public static let `false` = Function(names: ["false", "no"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:714:23: warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
712 |     })
713 |
714 |     public static let phi = Function(names: ["phi", "ϕ"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:719:23: warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
717 |     })
718 |
719 |     public static let pi = Function(names: ["pi", "π", "tau_2"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:724:23: warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
722 |     })
723 |
724 |     public static let pi_2 = Function(names: ["pi_2", "tau_4"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:729:23: warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
727 |     })
728 |
729 |     public static let pi_4 = Function(names: ["pi_4", "tau_8"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:734:23: warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
732 |     })
733 |
734 |     public static let tau = Function(names: ["tau", "τ"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:739:23: warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
737 |     })
738 |
739 |     public static let sqrt2 = Function(name: "sqrt2", evaluator: { state throws -> Double in
    |                       |- warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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()
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:744:23: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
742 |     })
743 |
744 |     public static let e = Function(name: "e", evaluator: { state throws -> Double in
    |                       |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:749:23: warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
747 |     })
748 |
749 |     public static let log2e = Function(name: "log2e", evaluator: { state throws -> Double in
    |                       |- warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:754:23: warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
752 |     })
753 |
754 |     public static let log10e = Function(name: "log10e", evaluator: { state throws -> Double in
    |                       |- warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:759:23: warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
757 |     })
758 |
759 |     public static let ln2 = Function(name: "ln2", evaluator: { state throws -> Double in
    |                       |- warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:764:23: warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
762 |     })
763 |
764 |     public static let ln10 = Function(name: "ln10", evaluator: { state throws -> Double in
    |                       |- warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:771:23: warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
769 |     // MARK: - Logical Functions
770 |
771 |     public static let l_and = Function(name: "l_and", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:779:23: warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
777 |     })
778 |
779 |     public static let l_or = Function(name: "l_or", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:787:23: warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
785 |     })
786 |
787 |     public static let l_not = Function(name: "l_not", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:794:23: warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
792 |     })
793 |
794 |     public static let l_eq = Function(name: "l_eq", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:802:23: warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
800 |     })
801 |
802 |     public static let l_neq = Function(name: "l_neq", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:810:23: warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
808 |     })
809 |
810 |     public static let l_lt = Function(name: "l_lt", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:818:23: warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
816 |     })
817 |
818 |     public static let l_gt = Function(name: "l_gt", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:826:23: warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
824 |     })
825 |
826 |     public static let l_ltoe = Function(name: "l_ltoe", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:834:23: warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
832 |     })
833 |
834 |     public static let l_gtoe = Function(name: "l_gtoe", evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:842:23: warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
840 |     })
841 |
842 |     public static let l_if = Function(names: ["l_if", "if"], evaluator: { state throws -> Double in
    |                       |- warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: 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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
   |               `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 |     public let names: Set<String>
[35/45] Compiling MathParser Either.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
   |               `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 |     public enum AngleMode {
   :
21 |     }
22 |
23 |     public static let `default` = Evaluator()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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
24 |     private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
   |               `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 |     private let maxIterationCount: UInt
13 |     private var rules: Array<RewriteRule>
14 |
15 |     public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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) {
[36/45] Compiling MathParser Evaluator.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
   |               `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 |     public enum AngleMode {
   :
21 |     }
22 |
23 |     public static let `default` = Evaluator()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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
24 |     private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
   |               `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 |     private let maxIterationCount: UInt
13 |     private var rules: Array<RewriteRule>
14 |
15 |     public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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) {
[37/45] Compiling MathParser ExponentExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
   |               `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 |     public enum AngleMode {
   :
21 |     }
22 |
23 |     public static let `default` = Evaluator()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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
24 |     private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
   |               `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 |     private let maxIterationCount: UInt
13 |     private var rules: Array<RewriteRule>
14 |
15 |     public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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) {
[38/45] Compiling MathParser Expression+Matching.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
   |               `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 |     public enum AngleMode {
   :
21 |     }
22 |
23 |     public static let `default` = Evaluator()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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
24 |     private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
   |               `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 |     private let maxIterationCount: UInt
13 |     private var rules: Array<RewriteRule>
14 |
15 |     public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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 Expression.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
   |               `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 |     public enum AngleMode {
   :
21 |     }
22 |
23 |     public static let `default` = Evaluator()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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
24 |     private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
   |               `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 |     private let maxIterationCount: UInt
13 |     private var rules: Array<RewriteRule>
14 |
15 |     public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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 ExpressionRewriter.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
   |               `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 |     public enum AngleMode {
   :
21 |     }
22 |
23 |     public static let `default` = Evaluator()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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
24 |     private let functionSet: FunctionSet
25 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
   |               `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 |     private let maxIterationCount: UInt
13 |     private var rules: Array<RewriteRule>
14 |
15 |     public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: 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 TokenExtractor.swift
[42/45] Compiling MathParser TokenGrouper.swift
[43/45] Compiling MathParser TokenResolver.swift
[44/45] Compiling MathParser Tokenizer.swift
[45/45] Compiling MathParser VariableExtractor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/39] Compiling MathParser Character.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 |     func factorial() -> Double {
28 |         if Darwin.floor(self) == self && self > 1 {
   |            `- error: cannot find 'Darwin' in scope
29 |             // it's a factorial of an integer
30 |
[3/39] Compiling MathParser Configuration.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 |     func factorial() -> Double {
28 |         if Darwin.floor(self) == self && self > 1 {
   |            `- error: cannot find 'Darwin' in scope
29 |             // it's a factorial of an integer
30 |
[4/39] Compiling MathParser DecimalNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 |     func factorial() -> Double {
28 |         if Darwin.floor(self) == self && self > 1 {
   |            `- error: cannot find 'Darwin' in scope
29 |             // it's a factorial of an integer
30 |
[5/39] Compiling MathParser Deprecations.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 |     func factorial() -> Double {
28 |         if Darwin.floor(self) == self && self > 1 {
   |            `- error: cannot find 'Darwin' in scope
29 |             // it's a factorial of an integer
30 |
[6/39] Compiling MathParser Double.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 |     func factorial() -> Double {
28 |         if Darwin.floor(self) == self && self > 1 {
   |            `- error: cannot find 'Darwin' in scope
29 |             // it's a factorial of an integer
30 |
[7/39] Compiling MathParser DynamicResolution.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 |     func factorial() -> Double {
28 |         if Darwin.floor(self) == self && self > 1 {
   |            `- error: cannot find 'Darwin' in scope
29 |             // it's a factorial of an integer
30 |
[8/39] Compiling MathParser OctalNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
Foundation.NSExpression.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   public convenience init(format expressionFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
    |                                 `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 57 |
 58 |         if result?.int32Value == 512 {
Foundation.NSExpression.expressionValue:3:13: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?}
  |             `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
4 |
[9/39] Compiling MathParser Operator+Defaults.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
Foundation.NSExpression.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   public convenience init(format expressionFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
    |                                 `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 57 |
 58 |         if result?.int32Value == 512 {
Foundation.NSExpression.expressionValue:3:13: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?}
  |             `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
4 |
[10/39] Compiling MathParser Operator.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
Foundation.NSExpression.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   public convenience init(format expressionFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
    |                                 `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 57 |
 58 |         if result?.int32Value == 512 {
Foundation.NSExpression.expressionValue:3:13: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?}
  |             `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
4 |
[11/39] Compiling MathParser OperatorExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
Foundation.NSExpression.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   public convenience init(format expressionFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
    |                                 `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 57 |
 58 |         if result?.int32Value == 512 {
Foundation.NSExpression.expressionValue:3:13: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?}
  |             `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
4 |
[12/39] Compiling MathParser OperatorSet.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
Foundation.NSExpression.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   public convenience init(format expressionFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
    |                                 `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 57 |
 58 |         if result?.int32Value == 512 {
Foundation.NSExpression.expressionValue:3:13: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?}
  |             `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
4 |
[13/44] Compiling MathParser OperatorTokenSet.swift
[14/44] Compiling MathParser PeekingIterator.swift
[15/44] Compiling MathParser QuotedVariableExtractor.swift
[16/44] Compiling MathParser RawToken.swift
[17/44] Compiling MathParser ResolvedToken.swift
[18/44] Compiling MathParser GroupedToken.swift
[19/44] Compiling MathParser HexNumberExtractor.swift
[20/44] Compiling MathParser IdentifierExtractor.swift
[21/44] Compiling MathParser LocalizedNumberExtractor.swift
[22/44] Compiling MathParser MathParserErrors.swift
[23/44] Compiling MathParser RewriteRule+Defaults.swift
[24/44] Compiling MathParser RewriteRule.swift
[25/44] Compiling MathParser String.swift
[26/44] Compiling MathParser SubstitutionExtensions.swift
[27/44] Compiling MathParser TokenCharacterBuffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/44] Emitting module MathParser
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 |         guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 |         guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
    |                       `- error: cannot find 'Darwin' in scope
112 |
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 |             let k = arg1 / 2
115 |             return Darwin.pow(2, k) * k.factorial()
    |                    `- error: cannot find 'Darwin' in scope
116 |         } else {
117 |             let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 |             let numerator = (2*k).factorial()
120 |             let denominator = Darwin.pow(2, k) * k.factorial()
    |                               `- error: cannot find 'Darwin' in scope
121 |
122 |             guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 |         return Darwin.pow(arg1, arg2)
    |                `- error: cannot find 'Darwin' in scope
134 |     })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 |         let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 |         return Darwin.sqrt(value)
    |                `- error: cannot find 'Darwin' in scope
142 |     })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 |         if arg1 < 0 {
150 |             let root = Darwin.pow(-arg1, 1.0/3.0)
    |                        `- error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
153 |             return Darwin.pow(arg1, 1.0/3.0)
    |                    `- error: cannot find 'Darwin' in scope
154 |         }
155 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 |             // for negative numbers with an odd root, the result will be negative
167 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
170 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
171 |         }
172 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
206 |     })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
213 |     })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
220 |     })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
227 |     })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 |         }
400 |
401 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
402 |     })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
409 |     })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
416 |     })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
425 |     })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
432 |     })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
439 |     })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
446 |     })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
453 |     })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
460 |     })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
468 |     })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
475 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
484 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
493 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
503 |     })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
511 |     })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
519 |     })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
528 |     })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
535 |     })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
542 |     })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
549 |     })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
556 |     })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
563 |     })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
570 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
579 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
588 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
598 |     })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
606 |     })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
614 |     })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
623 |     })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
630 |     })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
637 |     })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
644 |     })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
667 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
676 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
685 |         return 2 * sinArg1
686 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
Foundation.NSExpression.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   public convenience init(format expressionFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
    |                                 `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 57 |
 58 |         if result?.int32Value == 512 {
Foundation.NSExpression.expressionValue:3:13: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?}
  |             `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
4 |
[29/44] Compiling MathParser Either.swift
[30/44] Compiling MathParser Evaluator.swift
[31/44] Compiling MathParser ExponentExtractor.swift
[32/44] Compiling MathParser Expression+Matching.swift
[33/44] Compiling MathParser Expression.swift
[34/44] Compiling MathParser ExpressionRewriter.swift
[35/44] Compiling MathParser Expressionizer.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 |         guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 |         guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
    |                       `- error: cannot find 'Darwin' in scope
112 |
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 |             let k = arg1 / 2
115 |             return Darwin.pow(2, k) * k.factorial()
    |                    `- error: cannot find 'Darwin' in scope
116 |         } else {
117 |             let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 |             let numerator = (2*k).factorial()
120 |             let denominator = Darwin.pow(2, k) * k.factorial()
    |                               `- error: cannot find 'Darwin' in scope
121 |
122 |             guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 |         return Darwin.pow(arg1, arg2)
    |                `- error: cannot find 'Darwin' in scope
134 |     })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 |         let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 |         return Darwin.sqrt(value)
    |                `- error: cannot find 'Darwin' in scope
142 |     })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 |         if arg1 < 0 {
150 |             let root = Darwin.pow(-arg1, 1.0/3.0)
    |                        `- error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
153 |             return Darwin.pow(arg1, 1.0/3.0)
    |                    `- error: cannot find 'Darwin' in scope
154 |         }
155 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 |             // for negative numbers with an odd root, the result will be negative
167 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
170 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
171 |         }
172 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
206 |     })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
213 |     })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
220 |     })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
227 |     })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 |         }
400 |
401 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
402 |     })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
409 |     })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
416 |     })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
425 |     })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
432 |     })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
439 |     })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
446 |     })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
453 |     })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
460 |     })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
468 |     })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
475 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
484 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
493 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
503 |     })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
511 |     })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
519 |     })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
528 |     })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
535 |     })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
542 |     })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
549 |     })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
556 |     })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
563 |     })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
570 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
579 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
588 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
598 |     })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
606 |     })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
614 |     })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
623 |     })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
630 |     })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
637 |     })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
644 |     })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
667 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
676 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
685 |         return 2 * sinArg1
686 |     })
[36/44] Compiling MathParser FractionNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 |         guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 |         guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
    |                       `- error: cannot find 'Darwin' in scope
112 |
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 |             let k = arg1 / 2
115 |             return Darwin.pow(2, k) * k.factorial()
    |                    `- error: cannot find 'Darwin' in scope
116 |         } else {
117 |             let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 |             let numerator = (2*k).factorial()
120 |             let denominator = Darwin.pow(2, k) * k.factorial()
    |                               `- error: cannot find 'Darwin' in scope
121 |
122 |             guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 |         return Darwin.pow(arg1, arg2)
    |                `- error: cannot find 'Darwin' in scope
134 |     })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 |         let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 |         return Darwin.sqrt(value)
    |                `- error: cannot find 'Darwin' in scope
142 |     })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 |         if arg1 < 0 {
150 |             let root = Darwin.pow(-arg1, 1.0/3.0)
    |                        `- error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
153 |             return Darwin.pow(arg1, 1.0/3.0)
    |                    `- error: cannot find 'Darwin' in scope
154 |         }
155 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 |             // for negative numbers with an odd root, the result will be negative
167 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
170 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
171 |         }
172 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
206 |     })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
213 |     })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
220 |     })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
227 |     })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 |         }
400 |
401 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
402 |     })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
409 |     })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
416 |     })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
425 |     })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
432 |     })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
439 |     })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
446 |     })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
453 |     })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
460 |     })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
468 |     })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
475 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
484 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
493 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
503 |     })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
511 |     })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
519 |     })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
528 |     })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
535 |     })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
542 |     })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
549 |     })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
556 |     })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
563 |     })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
570 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
579 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
588 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
598 |     })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
606 |     })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
614 |     })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
623 |     })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
630 |     })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
637 |     })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
644 |     })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
667 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
676 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
685 |         return 2 * sinArg1
686 |     })
[37/44] Compiling MathParser Function.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 |         guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 |         guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
    |                       `- error: cannot find 'Darwin' in scope
112 |
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 |             let k = arg1 / 2
115 |             return Darwin.pow(2, k) * k.factorial()
    |                    `- error: cannot find 'Darwin' in scope
116 |         } else {
117 |             let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 |             let numerator = (2*k).factorial()
120 |             let denominator = Darwin.pow(2, k) * k.factorial()
    |                               `- error: cannot find 'Darwin' in scope
121 |
122 |             guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 |         return Darwin.pow(arg1, arg2)
    |                `- error: cannot find 'Darwin' in scope
134 |     })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 |         let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 |         return Darwin.sqrt(value)
    |                `- error: cannot find 'Darwin' in scope
142 |     })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 |         if arg1 < 0 {
150 |             let root = Darwin.pow(-arg1, 1.0/3.0)
    |                        `- error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
153 |             return Darwin.pow(arg1, 1.0/3.0)
    |                    `- error: cannot find 'Darwin' in scope
154 |         }
155 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 |             // for negative numbers with an odd root, the result will be negative
167 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
170 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
171 |         }
172 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
206 |     })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
213 |     })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
220 |     })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
227 |     })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 |         }
400 |
401 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
402 |     })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
409 |     })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
416 |     })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
425 |     })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
432 |     })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
439 |     })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
446 |     })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
453 |     })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
460 |     })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
468 |     })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
475 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
484 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
493 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
503 |     })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
511 |     })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
519 |     })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
528 |     })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
535 |     })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
542 |     })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
549 |     })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
556 |     })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
563 |     })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
570 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
579 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
588 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
598 |     })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
606 |     })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
614 |     })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
623 |     })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
630 |     })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
637 |     })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
644 |     })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
667 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
676 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
685 |         return 2 * sinArg1
686 |     })
[38/44] Compiling MathParser FunctionSet.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 |         guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 |         guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
    |                       `- error: cannot find 'Darwin' in scope
112 |
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 |             let k = arg1 / 2
115 |             return Darwin.pow(2, k) * k.factorial()
    |                    `- error: cannot find 'Darwin' in scope
116 |         } else {
117 |             let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 |             let numerator = (2*k).factorial()
120 |             let denominator = Darwin.pow(2, k) * k.factorial()
    |                               `- error: cannot find 'Darwin' in scope
121 |
122 |             guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 |         return Darwin.pow(arg1, arg2)
    |                `- error: cannot find 'Darwin' in scope
134 |     })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 |         let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 |         return Darwin.sqrt(value)
    |                `- error: cannot find 'Darwin' in scope
142 |     })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 |         if arg1 < 0 {
150 |             let root = Darwin.pow(-arg1, 1.0/3.0)
    |                        `- error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
153 |             return Darwin.pow(arg1, 1.0/3.0)
    |                    `- error: cannot find 'Darwin' in scope
154 |         }
155 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 |             // for negative numbers with an odd root, the result will be negative
167 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
170 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
171 |         }
172 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
206 |     })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
213 |     })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
220 |     })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
227 |     })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 |         }
400 |
401 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
402 |     })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
409 |     })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
416 |     })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
425 |     })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
432 |     })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
439 |     })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
446 |     })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
453 |     })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
460 |     })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
468 |     })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
475 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
484 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
493 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
503 |     })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
511 |     })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
519 |     })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
528 |     })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
535 |     })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
542 |     })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
549 |     })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
556 |     })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
563 |     })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
570 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
579 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
588 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
598 |     })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
606 |     })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
614 |     })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
623 |     })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
630 |     })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
637 |     })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
644 |     })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
667 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
676 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
685 |         return 2 * sinArg1
686 |     })
[39/44] Compiling MathParser Functions+Defaults.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 |         guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 |         guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
    |                       `- error: cannot find 'Darwin' in scope
112 |
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 |             let k = arg1 / 2
115 |             return Darwin.pow(2, k) * k.factorial()
    |                    `- error: cannot find 'Darwin' in scope
116 |         } else {
117 |             let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 |             let numerator = (2*k).factorial()
120 |             let denominator = Darwin.pow(2, k) * k.factorial()
    |                               `- error: cannot find 'Darwin' in scope
121 |
122 |             guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 |         return Darwin.pow(arg1, arg2)
    |                `- error: cannot find 'Darwin' in scope
134 |     })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 |         let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 |         return Darwin.sqrt(value)
    |                `- error: cannot find 'Darwin' in scope
142 |     })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 |         if arg1 < 0 {
150 |             let root = Darwin.pow(-arg1, 1.0/3.0)
    |                        `- error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
153 |             return Darwin.pow(arg1, 1.0/3.0)
    |                    `- error: cannot find 'Darwin' in scope
154 |         }
155 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 |             // for negative numbers with an odd root, the result will be negative
167 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
170 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
171 |         }
172 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
206 |     })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
213 |     })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
220 |     })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
227 |     })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 |         }
400 |
401 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
402 |     })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
409 |     })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
416 |     })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
425 |     })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
432 |     })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
439 |     })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
446 |     })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
453 |     })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
460 |     })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
468 |     })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
475 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
484 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
493 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
503 |     })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
511 |     })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
519 |     })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
528 |     })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
535 |     })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
542 |     })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
549 |     })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
556 |     })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
563 |     })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
570 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
579 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
588 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
598 |     })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
606 |     })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
614 |     })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
623 |     })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
630 |     })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
637 |     })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
644 |     })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
667 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
676 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
685 |         return 2 * sinArg1
686 |     })
[40/44] Compiling MathParser TokenExtractor.swift
[41/44] Compiling MathParser TokenGrouper.swift
[42/44] Compiling MathParser TokenResolver.swift
[43/44] Compiling MathParser Tokenizer.swift
[44/44] Compiling MathParser VariableExtractor.swift
BUILD FAILURE 6.1 wasm