The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build D20, reference 0.5.0 (6fbf42), with Swift 6.1 for Wasm on 27 May 2025 09:10:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/D20.git
Reference: 0.5.0
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/kiliankoe/D20
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 6fbf426 Update readme
Cloned https://github.com/kiliankoe/D20.git
Revision (git rev-parse @):
6fbf426166804b5306febd23e63674f9976a2a28
SUCCESS checkout https://github.com/kiliankoe/D20.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kiliankoe/D20.git
https://github.com/kiliankoe/D20.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex"
    },
    {
      "identity" : "ddmathparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/davedelong/DDMathParser"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "clispinner",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kiliankoe/CLISpinner"
    }
  ],
  "manifest_display_name" : "D20",
  "name" : "D20",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "D20",
      "targets" : [
        "D20"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "d20",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "D20Tests",
      "module_type" : "SwiftTarget",
      "name" : "D20Tests",
      "path" : "Tests/D20Tests",
      "sources" : [
        "D20Tests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "D20"
      ],
      "type" : "test"
    },
    {
      "c99name" : "D20",
      "module_type" : "SwiftTarget",
      "name" : "D20",
      "path" : "Sources/D20",
      "product_dependencies" : [
        "Regex",
        "MathParser"
      ],
      "product_memberships" : [
        "D20",
        "d20"
      ],
      "sources" : [
        "Die.swift",
        "Roll.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "Rainbow",
        "CLISpinner"
      ],
      "product_memberships" : [
        "d20"
      ],
      "sources" : [
        "Roll.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "D20"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kiliankoe/CLISpinner
Fetching https://github.com/sharplet/Regex
Fetching https://github.com/davedelong/DDMathParser
Fetching https://github.com/onevcat/Rainbow
[1/253] Fetching clispinner
[254/1507] Fetching clispinner, regex
[1070/2703] Fetching clispinner, regex, rainbow
[1154/6851] Fetching clispinner, regex, rainbow, ddmathparser
Fetched https://github.com/onevcat/Rainbow from cache (0.28s)
[5229/5655] Fetching clispinner, regex, ddmathparser
Fetched https://github.com/kiliankoe/CLISpinner from cache (0.77s)
Fetched https://github.com/davedelong/DDMathParser from cache (0.77s)
Fetched https://github.com/sharplet/Regex from cache (0.78s)
Computing version for https://github.com/kiliankoe/CLISpinner
Computed https://github.com/kiliankoe/CLISpinner at 0.4.0 (2.85s)
Computing version for https://github.com/davedelong/DDMathParser
Computed https://github.com/davedelong/DDMathParser at 3.1.0 (0.67s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.1 (2.79s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.90s)
Creating working copy for https://github.com/davedelong/DDMathParser
Working copy of https://github.com/davedelong/DDMathParser resolved at 3.1.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/kiliankoe/CLISpinner
Working copy of https://github.com/kiliankoe/CLISpinner resolved at 0.4.0
Creating working copy for https://github.com/sharplet/Regex
Working copy of https://github.com/sharplet/Regex resolved at 2.1.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/71] Compiling Rainbow StringGenerator.swift
[9/71] Compiling Rainbow Style.swift
[10/72] Compiling MathParser Character.swift
[11/72] Compiling MathParser Configuration.swift
[12/72] Emitting module Rainbow
[13/72] Compiling Rainbow String+Rainbow.swift
[14/72] Compiling Rainbow XcodeColorsSupport.swift
[15/72] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[16/72] Compiling MathParser GroupedToken.swift
[17/72] Compiling MathParser HexNumberExtractor.swift
[18/72] Compiling MathParser IdentifierExtractor.swift
[19/72] Compiling MathParser LocalizedNumberExtractor.swift
[20/72] Compiling MathParser MathParserErrors.swift
[21/77] Compiling MathParser Expressionizer.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 |         return Darwin.pow(arg1, 1.0/3.0)
    |                `- error: cannot find 'Darwin' in scope
150 |     })
151 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 |             // for negative numbers with an odd root, the result will be negative
162 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
165 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
166 |         }
167 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
193 |     })
194 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
200 |     })
201 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
207 |     })
208 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
214 |     })
215 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 |         }
387 |
388 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
389 |     })
390 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
396 |     })
397 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
403 |     })
404 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
412 |     })
413 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
419 |     })
420 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
426 |     })
427 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
433 |     })
434 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
440 |     })
441 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
447 |     })
448 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
455 |     })
456 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
462 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
471 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
480 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
490 |     })
491 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
498 |     })
499 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
506 |     })
507 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
515 |     })
516 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
522 |     })
523 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
529 |     })
530 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
536 |     })
537 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
543 |     })
544 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
550 |     })
551 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
557 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
566 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
575 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
585 |     })
586 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
593 |     })
594 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
601 |     })
602 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
610 |     })
611 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
617 |     })
618 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
624 |     })
625 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
631 |     })
632 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
654 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
663 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
672 |         return 2 * sinArg1
673 |     })
[22/77] Compiling MathParser FractionNumberExtractor.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 |         return Darwin.pow(arg1, 1.0/3.0)
    |                `- error: cannot find 'Darwin' in scope
150 |     })
151 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 |             // for negative numbers with an odd root, the result will be negative
162 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
165 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
166 |         }
167 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
193 |     })
194 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
200 |     })
201 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
207 |     })
208 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
214 |     })
215 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 |         }
387 |
388 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
389 |     })
390 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
396 |     })
397 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
403 |     })
404 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
412 |     })
413 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
419 |     })
420 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
426 |     })
427 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
433 |     })
434 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
440 |     })
441 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
447 |     })
448 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
455 |     })
456 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
462 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
471 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
480 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
490 |     })
491 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
498 |     })
499 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
506 |     })
507 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
515 |     })
516 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
522 |     })
523 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
529 |     })
530 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
536 |     })
537 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
543 |     })
544 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
550 |     })
551 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
557 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
566 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
575 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
585 |     })
586 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
593 |     })
594 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
601 |     })
602 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
610 |     })
611 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
617 |     })
618 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
624 |     })
625 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
631 |     })
632 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
654 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
663 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
672 |         return 2 * sinArg1
673 |     })
[23/77] Compiling MathParser Function.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 |         return Darwin.pow(arg1, 1.0/3.0)
    |                `- error: cannot find 'Darwin' in scope
150 |     })
151 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 |             // for negative numbers with an odd root, the result will be negative
162 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
165 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
166 |         }
167 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
193 |     })
194 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
200 |     })
201 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
207 |     })
208 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
214 |     })
215 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 |         }
387 |
388 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
389 |     })
390 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
396 |     })
397 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
403 |     })
404 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
412 |     })
413 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
419 |     })
420 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
426 |     })
427 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
433 |     })
434 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
440 |     })
441 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
447 |     })
448 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
455 |     })
456 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
462 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
471 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
480 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
490 |     })
491 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
498 |     })
499 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
506 |     })
507 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
515 |     })
516 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
522 |     })
523 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
529 |     })
530 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
536 |     })
537 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
543 |     })
544 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
550 |     })
551 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
557 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
566 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
575 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
585 |     })
586 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
593 |     })
594 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
601 |     })
602 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
610 |     })
611 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
617 |     })
618 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
624 |     })
625 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
631 |     })
632 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
654 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
663 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
672 |         return 2 * sinArg1
673 |     })
[24/77] Compiling MathParser FunctionSet.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 |         return Darwin.pow(arg1, 1.0/3.0)
    |                `- error: cannot find 'Darwin' in scope
150 |     })
151 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 |             // for negative numbers with an odd root, the result will be negative
162 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
165 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
166 |         }
167 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
193 |     })
194 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
200 |     })
201 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
207 |     })
208 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
214 |     })
215 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 |         }
387 |
388 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
389 |     })
390 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
396 |     })
397 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
403 |     })
404 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
412 |     })
413 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
419 |     })
420 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
426 |     })
427 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
433 |     })
434 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
440 |     })
441 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
447 |     })
448 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
455 |     })
456 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
462 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
471 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
480 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
490 |     })
491 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
498 |     })
499 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
506 |     })
507 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
515 |     })
516 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
522 |     })
523 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
529 |     })
530 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
536 |     })
537 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
543 |     })
544 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
550 |     })
551 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
557 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
566 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
575 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
585 |     })
586 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
593 |     })
594 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
601 |     })
602 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
610 |     })
611 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
617 |     })
618 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
624 |     })
625 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
631 |     })
632 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
654 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
663 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
672 |         return 2 * sinArg1
673 |     })
[25/77] Compiling MathParser Functions+Defaults.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 |         return Darwin.pow(arg1, 1.0/3.0)
    |                `- error: cannot find 'Darwin' in scope
150 |     })
151 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 |             // for negative numbers with an odd root, the result will be negative
162 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
165 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
166 |         }
167 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
193 |     })
194 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
200 |     })
201 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
207 |     })
208 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
214 |     })
215 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 |         }
387 |
388 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
389 |     })
390 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
396 |     })
397 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
403 |     })
404 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
412 |     })
413 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
419 |     })
420 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
426 |     })
427 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
433 |     })
434 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
440 |     })
441 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
447 |     })
448 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
455 |     })
456 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
462 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
471 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
480 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
490 |     })
491 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
498 |     })
499 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
506 |     })
507 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
515 |     })
516 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
522 |     })
523 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
529 |     })
530 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
536 |     })
537 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
543 |     })
544 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
550 |     })
551 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
557 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
566 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
575 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
585 |     })
586 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
593 |     })
594 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
601 |     })
602 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
610 |     })
611 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
617 |     })
618 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
624 |     })
625 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
631 |     })
632 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
654 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
663 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
672 |         return 2 * sinArg1
673 |     })
[26/77] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[29/77] Compiling MathParser DecimalNumberExtractor.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[30/77] Compiling MathParser Deprecations.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[31/77] Compiling MathParser Double.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[32/77] Compiling MathParser DynamicResolution.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Double.swift:28:12: error: cannot find 'Darwin' in scope
26 |
27 |     func factorial() -> Double {
28 |         if Darwin.floor(self) == self && self > 1 {
   |            `- error: cannot find 'Darwin' in scope
29 |             // it's a factorial of an integer
30 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/77] Emitting module MathParser
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 |         return Darwin.pow(arg1, 1.0/3.0)
    |                `- error: cannot find 'Darwin' in scope
150 |     })
151 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 |             // for negative numbers with an odd root, the result will be negative
162 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
165 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
166 |         }
167 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
193 |     })
194 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
200 |     })
201 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
207 |     })
208 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
214 |     })
215 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 |         }
387 |
388 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
389 |     })
390 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
396 |     })
397 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
403 |     })
404 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
412 |     })
413 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
419 |     })
420 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
426 |     })
427 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
433 |     })
434 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
440 |     })
441 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
447 |     })
448 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
455 |     })
456 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
462 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
471 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
480 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
490 |     })
491 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
498 |     })
499 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
506 |     })
507 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
515 |     })
516 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
522 |     })
523 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
529 |     })
530 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
536 |     })
537 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
543 |     })
544 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
550 |     })
551 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
557 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
566 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
575 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
585 |     })
586 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
593 |     })
594 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
601 |     })
602 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
610 |     })
611 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
617 |     })
618 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
624 |     })
625 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
631 |     })
632 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
654 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
663 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
672 |         return 2 * sinArg1
673 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[34/77] Emitting module Regex
[35/77] Compiling Regex Foundation+Ranges.swift
[36/77] Compiling Regex String+ReplaceMatching.swift
[41/78] Compiling Regex Regex.swift
[42/78] Compiling Regex Options.swift
[43/78] Compiling Regex MatchResult.swift
[44/78] Compiling MathParser OperatorTokenSet.swift
[45/78] Compiling MathParser PeekingIterator.swift
[46/78] Compiling MathParser QuotedVariableExtractor.swift
[47/78] Compiling MathParser RawToken.swift
[48/78] Compiling MathParser ResolvedToken.swift
[49/78] Compiling MathParser RewriteRule+Defaults.swift
[50/78] Compiling MathParser RewriteRule.swift
[51/78] Compiling MathParser String.swift
[52/78] Compiling MathParser SubstitutionExtensions.swift
[53/78] Compiling MathParser TokenCharacterBuffer.swift
[54/78] Compiling MathParser OctalNumberExtractor.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[55/78] Compiling MathParser Operator+Defaults.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[56/78] Compiling MathParser Operator.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[57/78] Compiling MathParser OperatorExtractor.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[58/78] Compiling MathParser OperatorSet.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[59/78] Compiling MathParser Either.swift
[60/78] Compiling MathParser Evaluator.swift
[61/78] Compiling MathParser ExponentExtractor.swift
[62/78] Compiling MathParser Expression+Matching.swift
[63/78] Compiling MathParser Expression.swift
[64/78] Compiling MathParser ExpressionRewriter.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/65] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[3/65] Compiling Regex String+ReplaceMatching.swift
[4/65] Compiling Rainbow Style.swift
[5/65] Compiling Rainbow String+Rainbow.swift
[6/65] Compiling Rainbow Rainbow.swift
[7/66] Compiling MathParser ExponentExtractor.swift
[8/66] Compiling MathParser Expression+Matching.swift
[9/66] Compiling MathParser Expression.swift
[10/66] Compiling MathParser ExpressionRewriter.swift
[11/66] Emitting module Rainbow
[12/66] Compiling MathParser Either.swift
[13/66] Compiling MathParser Evaluator.swift
[14/66] Compiling Rainbow StringGenerator.swift
[15/66] Compiling MathParser RewriteRule+Defaults.swift
[16/66] Compiling MathParser RewriteRule.swift
[17/66] Compiling MathParser String.swift
[18/66] Compiling MathParser SubstitutionExtensions.swift
[19/66] Compiling MathParser TokenCharacterBuffer.swift
[20/71] Compiling Regex Foundation+Ranges.swift
[21/71] Compiling Regex Options.swift
[22/71] Compiling Regex MatchResult.swift
[23/71] Emitting module Regex
[24/71] Compiling Regex Regex.swift
[25/71] Compiling MathParser OperatorTokenSet.swift
[26/71] Compiling MathParser PeekingIterator.swift
[27/71] Compiling MathParser QuotedVariableExtractor.swift
[28/71] Compiling MathParser RawToken.swift
[29/71] Compiling MathParser ResolvedToken.swift
[30/71] Compiling MathParser GroupedToken.swift
[31/71] Compiling MathParser HexNumberExtractor.swift
[32/71] Compiling MathParser IdentifierExtractor.swift
[33/71] Compiling MathParser LocalizedNumberExtractor.swift
[34/71] Compiling MathParser MathParserErrors.swift
[35/71] Compiling MathParser OctalNumberExtractor.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[36/71] Compiling MathParser Operator+Defaults.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[37/71] Compiling MathParser Operator.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[38/71] Compiling MathParser OperatorExtractor.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[39/71] Compiling MathParser OperatorSet.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[40/71] Compiling Rainbow XcodeColorsSupport.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/72] Emitting module MathParser
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:149:16: error: cannot find 'Darwin' in scope
147 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
148 |
149 |         return Darwin.pow(arg1, 1.0/3.0)
    |                `- error: cannot find 'Darwin' in scope
150 |     })
151 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:162:24: error: cannot find 'Darwin' in scope
160 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
161 |             // for negative numbers with an odd root, the result will be negative
162 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:165:20: error: cannot find 'Darwin' in scope
163 |             return -root
164 |         } else {
165 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
166 |         }
167 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:192:16: error: cannot find 'Darwin' in scope
190 |
191 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
192 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
193 |     })
194 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:199:16: error: cannot find 'Darwin' in scope
197 |
198 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
199 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
200 |     })
201 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:206:16: error: cannot find 'Darwin' in scope
204 |
205 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
206 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
207 |     })
208 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:213:16: error: cannot find 'Darwin' in scope
211 |
212 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
213 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
214 |     })
215 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:388:16: error: cannot find 'Darwin' in scope
386 |         }
387 |
388 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
389 |     })
390 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:395:16: error: cannot find 'Darwin' in scope
393 |
394 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
395 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
396 |     })
397 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:402:16: error: cannot find 'Darwin' in scope
400 |
401 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
402 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
403 |     })
404 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:411:16: error: cannot find 'Darwin' in scope
409 |
410 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
411 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
412 |     })
413 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:418:16: error: cannot find 'Darwin' in scope
416 |
417 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
418 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
419 |     })
420 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:425:16: error: cannot find 'Darwin' in scope
423 |
424 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
425 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
426 |     })
427 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:432:31: error: cannot find 'Darwin' in scope
430 |
431 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
432 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
433 |     })
434 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:439:31: error: cannot find 'Darwin' in scope
437 |
438 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
439 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
440 |     })
441 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:446:31: error: cannot find 'Darwin' in scope
444 |
445 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
446 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
447 |     })
448 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:454:31: error: cannot find 'Darwin' in scope
452 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
453 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
454 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
455 |     })
456 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:461:22: error: cannot find 'Darwin' in scope
459 |
460 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
461 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
462 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
463 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:470:22: error: cannot find 'Darwin' in scope
468 |
469 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
470 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
471 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
472 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:479:22: error: cannot find 'Darwin' in scope
477 |
478 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
479 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
480 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
481 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:489:31: error: cannot find 'Darwin' in scope
487 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
488 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
489 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
490 |     })
491 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:497:31: error: cannot find 'Darwin' in scope
495 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
496 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
497 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
498 |     })
499 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:505:31: error: cannot find 'Darwin' in scope
503 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
504 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
505 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
506 |     })
507 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:514:16: error: cannot find 'Darwin' in scope
512 |
513 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
514 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
515 |     })
516 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:521:16: error: cannot find 'Darwin' in scope
519 |
520 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
521 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
522 |     })
523 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:528:16: error: cannot find 'Darwin' in scope
526 |
527 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
528 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
529 |     })
530 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:535:16: error: cannot find 'Darwin' in scope
533 |
534 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
535 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
536 |     })
537 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:542:16: error: cannot find 'Darwin' in scope
540 |
541 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
542 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
543 |     })
544 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:549:16: error: cannot find 'Darwin' in scope
547 |
548 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
549 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
550 |     })
551 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:556:22: error: cannot find 'Darwin' in scope
554 |
555 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
556 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
557 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
558 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:565:22: error: cannot find 'Darwin' in scope
563 |
564 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
565 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
566 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
567 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:574:22: error: cannot find 'Darwin' in scope
572 |
573 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
574 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
575 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
576 |         return 1.0 / sinArg
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:584:16: error: cannot find 'Darwin' in scope
582 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
583 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
584 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
585 |     })
586 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:592:16: error: cannot find 'Darwin' in scope
590 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
591 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
592 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
593 |     })
594 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:600:16: error: cannot find 'Darwin' in scope
598 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
599 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
600 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
601 |     })
602 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:609:22: error: cannot find 'Darwin' in scope
607 |
608 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
609 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
610 |     })
611 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:616:22: error: cannot find 'Darwin' in scope
614 |
615 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
616 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
617 |     })
618 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:623:22: error: cannot find 'Darwin' in scope
621 |
622 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
623 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
624 |     })
625 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:630:22: error: cannot find 'Darwin' in scope
628 |
629 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
630 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
631 |     })
632 |
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:653:23: error: cannot find 'Darwin' in scope
651 |
652 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
653 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
654 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
655 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: error: cannot find 'Darwin' in scope
660 |
661 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
662 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
663 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
664 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/.build/checkouts/DDMathParser/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: error: cannot find 'Darwin' in scope
669 |
670 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
671 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
672 |         return 2 * sinArg1
673 |     })
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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/.build/checkouts/DDMathParser/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 |
[49/72] Compiling MathParser Character.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[50/72] Compiling MathParser Configuration.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[51/72] Compiling MathParser DecimalNumberExtractor.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[52/72] Compiling MathParser Deprecations.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[53/72] Compiling MathParser Double.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
[54/72] Compiling MathParser DynamicResolution.swift
/host/spi-builder-workspace/.build/checkouts/DDMathParser/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 |
BUILD FAILURE 6.1 wasm