Build Information
Failed to build MathParser, reference master (2e067f
), with Swift 6.2 (beta) for Linux on 17 Jun 2025 17:01:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davedelong/DDMathParser.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/davedelong/DDMathParser
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2e067fc Correct factorial implementation for integers > 20
Cloned https://github.com/davedelong/DDMathParser.git
Revision (git rev-parse @):
2e067fc17c36f4298649b6681d52286fe4ca388e
SUCCESS checkout https://github.com/davedelong/DDMathParser.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/davedelong/DDMathParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/40] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/45] Compiling MathParser TokenExtractor.swift
[5/45] Compiling MathParser TokenGrouper.swift
[6/45] Compiling MathParser TokenResolver.swift
[7/45] Compiling MathParser Tokenizer.swift
[8/45] Compiling MathParser VariableExtractor.swift
[9/45] 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 | })
[10/45] 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 | })
[11/45] 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 | })
[12/45] 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 | })
[13/45] 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 | })
[14/45] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/45] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/45] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/45] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/45] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/45] Compiling MathParser GroupedToken.swift
[20/45] Compiling MathParser HexNumberExtractor.swift
[21/45] Compiling MathParser IdentifierExtractor.swift
[22/45] Compiling MathParser LocalizedNumberExtractor.swift
[23/45] Compiling MathParser MathParserErrors.swift
[24/45] Compiling MathParser RewriteRule+Defaults.swift
[25/45] Compiling MathParser RewriteRule.swift
[26/45] Compiling MathParser String.swift
[27/45] Compiling MathParser SubstitutionExtensions.swift
[28/45] Compiling MathParser TokenCharacterBuffer.swift
[29/45] Compiling MathParser OperatorTokenSet.swift
[30/45] Compiling MathParser PeekingIterator.swift
[31/45] Compiling MathParser QuotedVariableExtractor.swift
[32/45] Compiling MathParser RawToken.swift
[33/45] Compiling MathParser ResolvedToken.swift
[34/45] 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 |
[35/45] 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 |
[36/45] 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 |
[37/45] 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 |
[38/45] 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 |
[39/45] 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 |
[40/45] Compiling MathParser Either.swift
[41/45] Compiling MathParser Evaluator.swift
[42/45] Compiling MathParser ExponentExtractor.swift
[43/45] Compiling MathParser Expression+Matching.swift
[44/45] Compiling MathParser Expression.swift
[45/45] Compiling MathParser ExpressionRewriter.swift
BUILD FAILURE 6.2 linux