Build Information
Failed to build MathParser, reference master (2e067f
), with Swift 6.1 for Linux on 25 Apr 2025 11:34:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
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>
[25/45] Compiling MathParser RewriteRule+Defaults.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[26/45] Compiling MathParser RewriteRule.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[27/45] Compiling MathParser String.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[28/45] Compiling MathParser SubstitutionExtensions.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[29/45] Compiling MathParser TokenCharacterBuffer.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[30/45] Compiling MathParser OperatorTokenSet.swift
[31/45] Compiling MathParser PeekingIterator.swift
[32/45] Compiling MathParser QuotedVariableExtractor.swift
[33/45] Compiling MathParser RawToken.swift
[34/45] Compiling MathParser ResolvedToken.swift
[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 OctalNumberExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression.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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[42/45] Compiling MathParser Operator+Defaults.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression.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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[43/45] Compiling MathParser Operator.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression.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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[44/45] Compiling MathParser OperatorExtractor.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression.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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
[45/45] Compiling MathParser OperatorSet.swift
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPowerAssociativity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
53 | //rdar://problem/8692313
54 |
55 | let expression = NSExpression(format: "2 ** 3 ** 2")
| `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
56 | let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
57 |
Foundation.NSExpression.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 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/39] Compiling MathParser RewriteRule+Defaults.swift
[3/39] Compiling MathParser RewriteRule.swift
[4/39] Compiling MathParser String.swift
[5/39] Compiling MathParser SubstitutionExtensions.swift
[6/39] Compiling MathParser TokenCharacterBuffer.swift
[7/44] 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 |
[8/44] 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 |
[9/44] 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 |
[10/44] 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 |
[11/44] 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 |
[12/44] Compiling MathParser GroupedToken.swift
[13/44] Compiling MathParser HexNumberExtractor.swift
[14/44] Compiling MathParser IdentifierExtractor.swift
[15/44] Compiling MathParser LocalizedNumberExtractor.swift
[16/44] Compiling MathParser MathParserErrors.swift
[17/44] Compiling MathParser Either.swift
[18/44] Compiling MathParser Evaluator.swift
[19/44] Compiling MathParser ExponentExtractor.swift
[20/44] Compiling MathParser Expression+Matching.swift
[21/44] Compiling MathParser Expression.swift
[22/44] Compiling MathParser ExpressionRewriter.swift
[23/44] 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 |
[24/44] 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 |
[25/44] 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 |
[26/44] 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 |
[27/44] 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 |
[28/44] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/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 |
[30/44] Compiling MathParser OperatorTokenSet.swift
[31/44] Compiling MathParser PeekingIterator.swift
[32/44] Compiling MathParser QuotedVariableExtractor.swift
[33/44] Compiling MathParser RawToken.swift
[34/44] Compiling MathParser ResolvedToken.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 linux