The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MathParser, reference master (2e067f), with Swift 6.4 for Wasm on 16 Sep 2026 01:23:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davedelong/DDMathParser.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/davedelong/DDMathParser
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2e067fc Correct factorial implementation for integers > 20
Cloned https://github.com/davedelong/DDMathParser.git
Revision (git rev-parse @):
2e067fc17c36f4298649b6681d52286fe4ca388e
SUCCESS checkout https://github.com/davedelong/DDMathParser.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/davedelong/DDMathParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:111:23: error: cannot find 'Darwin' in scope
109 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
110 |         guard arg1 >= 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
111 |         guard arg1 == Darwin.floor(arg1) else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
    |                       `- error: cannot find 'Darwin' in scope
112 |
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:115:20: error: cannot find 'Darwin' in scope
113 |         if arg1.truncatingRemainder(dividingBy: 2) == 0 {
114 |             let k = arg1 / 2
115 |             return Darwin.pow(2, k) * k.factorial()
    |                    `- error: cannot find 'Darwin' in scope
116 |         } else {
117 |             let k = (arg1 + 1) / 2
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:120:31: error: cannot find 'Darwin' in scope
118 |
119 |             let numerator = (2*k).factorial()
120 |             let denominator = Darwin.pow(2, k) * k.factorial()
    |                               `- error: cannot find 'Darwin' in scope
121 |
122 |             guard denominator != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:133:16: error: cannot find 'Darwin' in scope
131 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
132 |
133 |         return Darwin.pow(arg1, arg2)
    |                `- error: cannot find 'Darwin' in scope
134 |     })
135 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:141:16: error: cannot find 'Darwin' in scope
139 |         let value = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
140 |
141 |         return Darwin.sqrt(value)
    |                `- error: cannot find 'Darwin' in scope
142 |     })
143 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:150:24: error: cannot find 'Darwin' in scope
148 |
149 |         if arg1 < 0 {
150 |             let root = Darwin.pow(-arg1, 1.0/3.0)
    |                        `- error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:153:20: error: cannot find 'Darwin' in scope
151 |             return -root
152 |         } else {
153 |             return Darwin.pow(arg1, 1.0/3.0)
    |                    `- error: cannot find 'Darwin' in scope
154 |         }
155 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:167:24: error: cannot find 'Darwin' in scope
165 |         if arg1 < 0 && arg2.truncatingRemainder(dividingBy: 2) == 1 {
166 |             // for negative numbers with an odd root, the result will be negative
167 |             let root = Darwin.pow(-arg1, 1/arg2)
    |                        `- error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:170:20: error: cannot find 'Darwin' in scope
168 |             return -root
169 |         } else {
170 |             return Darwin.pow(arg1, 1/arg2)
    |                    `- error: cannot find 'Darwin' in scope
171 |         }
172 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:205:16: error: cannot find 'Darwin' in scope
203 |
204 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
205 |         return Darwin.log10(arg1)
    |                `- error: cannot find 'Darwin' in scope
206 |     })
207 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:212:16: error: cannot find 'Darwin' in scope
210 |
211 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
212 |         return Darwin.log(arg1)
    |                `- error: cannot find 'Darwin' in scope
213 |     })
214 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:219:16: error: cannot find 'Darwin' in scope
217 |
218 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
219 |         return Darwin.log2(arg1)
    |                `- error: cannot find 'Darwin' in scope
220 |     })
221 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:226:16: error: cannot find 'Darwin' in scope
224 |
225 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
226 |         return Darwin.exp(arg1)
    |                `- error: cannot find 'Darwin' in scope
227 |     })
228 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:401:16: error: cannot find 'Darwin' in scope
399 |         }
400 |
401 |         return Darwin.sqrt(stddev / Double(state.arguments.count))
    |                `- error: cannot find 'Darwin' in scope
402 |     })
403 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:408:16: error: cannot find 'Darwin' in scope
406 |
407 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
408 |         return Darwin.ceil(arg1)
    |                `- error: cannot find 'Darwin' in scope
409 |     })
410 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:415:16: error: cannot find 'Darwin' in scope
413 |
414 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
415 |         return Darwin.floor(arg1)
    |                `- error: cannot find 'Darwin' in scope
416 |     })
417 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:424:16: error: cannot find 'Darwin' in scope
422 |
423 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
424 |         return Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
425 |     })
426 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:431:16: error: cannot find 'Darwin' in scope
429 |
430 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
431 |         return Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
432 |     })
433 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:438:16: error: cannot find 'Darwin' in scope
436 |
437 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
438 |         return Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                `- error: cannot find 'Darwin' in scope
439 |     })
440 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:445:31: error: cannot find 'Darwin' in scope
443 |
444 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
445 |         return Function._rtod(Darwin.asin(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
446 |     })
447 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:452:31: error: cannot find 'Darwin' in scope
450 |
451 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
452 |         return Function._rtod(Darwin.acos(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
453 |     })
454 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:459:31: error: cannot find 'Darwin' in scope
457 |
458 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
459 |         return Function._rtod(Darwin.atan(arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
460 |     })
461 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:467:31: error: cannot find 'Darwin' in scope
465 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
466 |         let arg2 = try state.evaluator.evaluate(state.arguments[1], substitutions: state.substitutions)
467 |         return Function._rtod(Darwin.atan2(arg1, arg2), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
468 |     })
469 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:474:22: error: cannot find 'Darwin' in scope
472 |
473 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
474 |         let sinArg = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
475 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
476 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:483:22: error: cannot find 'Darwin' in scope
481 |
482 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
483 |         let sinArg = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
484 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
485 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:492:22: error: cannot find 'Darwin' in scope
490 |
491 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
492 |         let sinArg = Darwin.tan(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
493 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
494 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:502:31: error: cannot find 'Darwin' in scope
500 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
501 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
502 |         return Function._rtod(Darwin.asin(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
503 |     })
504 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:510:31: error: cannot find 'Darwin' in scope
508 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
509 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
510 |         return Function._rtod(Darwin.acos(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
511 |     })
512 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:518:31: error: cannot find 'Darwin' in scope
516 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
517 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
518 |         return Function._rtod(Darwin.atan(1.0 / arg1), evaluator: state.evaluator)
    |                               `- error: cannot find 'Darwin' in scope
519 |     })
520 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:527:16: error: cannot find 'Darwin' in scope
525 |
526 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
527 |         return Darwin.sinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
528 |     })
529 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:534:16: error: cannot find 'Darwin' in scope
532 |
533 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
534 |         return Darwin.cosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
535 |     })
536 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:541:16: error: cannot find 'Darwin' in scope
539 |
540 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
541 |         return Darwin.tanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
542 |     })
543 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:548:16: error: cannot find 'Darwin' in scope
546 |
547 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
548 |         return Darwin.asinh(arg1)
    |                `- error: cannot find 'Darwin' in scope
549 |     })
550 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:555:16: error: cannot find 'Darwin' in scope
553 |
554 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
555 |         return Darwin.acosh(arg1)
    |                `- error: cannot find 'Darwin' in scope
556 |     })
557 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:562:16: error: cannot find 'Darwin' in scope
560 |
561 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
562 |         return Darwin.atanh(arg1)
    |                `- error: cannot find 'Darwin' in scope
563 |     })
564 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:569:22: error: cannot find 'Darwin' in scope
567 |
568 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
569 |         let sinArg = Darwin.sinh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
570 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
571 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:578:22: error: cannot find 'Darwin' in scope
576 |
577 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
578 |         let sinArg = Darwin.cosh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
579 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
580 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:587:22: error: cannot find 'Darwin' in scope
585 |
586 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
587 |         let sinArg = Darwin.tanh(arg1)
    |                      `- error: cannot find 'Darwin' in scope
588 |         guard sinArg != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
589 |         return 1.0 / sinArg
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:597:16: error: cannot find 'Darwin' in scope
595 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
596 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
597 |         return Darwin.asinh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
598 |     })
599 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:605:16: error: cannot find 'Darwin' in scope
603 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
604 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
605 |         return Darwin.acosh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
606 |     })
607 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:613:16: error: cannot find 'Darwin' in scope
611 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
612 |         guard arg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
613 |         return Darwin.atanh(1.0 / arg1)
    |                `- error: cannot find 'Darwin' in scope
614 |     })
615 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:622:22: error: cannot find 'Darwin' in scope
620 |
621 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
622 |         return 1.0 - Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
623 |     })
624 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:629:22: error: cannot find 'Darwin' in scope
627 |
628 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
629 |         return 1.0 + Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
630 |     })
631 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:636:22: error: cannot find 'Darwin' in scope
634 |
635 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
636 |         return 1.0 - Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
637 |     })
638 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:643:22: error: cannot find 'Darwin' in scope
641 |
642 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
643 |         return 1.0 + Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                      `- error: cannot find 'Darwin' in scope
644 |     })
645 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:666:23: error: cannot find 'Darwin' in scope
664 |
665 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
666 |         let cosArg1 = Darwin.cos(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
667 |         guard cosArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
668 |         return (1.0/cosArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:675:23: error: cannot find 'Darwin' in scope
673 |
674 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
675 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator))
    |                       `- error: cannot find 'Darwin' in scope
676 |         guard sinArg1 != 0 else { throw MathParserError(kind: .divideByZero, range: state.expressionRange) }
677 |         return (1.0/sinArg1) - 1.0
/host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:684:23: error: cannot find 'Darwin' in scope
682 |
683 |         let arg1 = try state.evaluator.evaluate(state.arguments[0], substitutions: state.substitutions)
684 |         let sinArg1 = Darwin.sin(Function._dtor(arg1, evaluator: state.evaluator) / 2.0)
    |                       `- error: cannot find 'Darwin' in scope
685 |         return 2 * sinArg1
686 |     })
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- warning: 'NSExpression' is deprecated: NSExpression is not available in swift-corelibs-foundation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:55:26: error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 53 |         //rdar://problem/8692313
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
    |                          `- error: 'init(format:_:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
 57 |
Foundation.NSExpression.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   public convenience init(format expressionFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:56:33: error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 54 |
 55 |         let expression = NSExpression(format: "2 ** 3 ** 2")
 56 |         let result = expression.expressionValue(with: nil, context: nil) as? NSNumber
    |                                 `- error: 'expressionValue(with:context:)' is unavailable: NSExpression is not available in swift-corelibs-foundation
 57 |
 58 |         if result?.int32Value == 512 {
Foundation.NSExpression.expressionValue:3:13: note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
1 | class NSExpression {
2 | @available(*, unavailable, message: "NSExpression is not available in swift-corelibs-foundation")
3 |   open func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?}
  |             `- note: 'expressionValue(with:context:)' has been explicitly marked unavailable here
4 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/MathParser/Sources/MathParser/Character.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/DecimalNumberExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Double.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/DynamicResolution.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Either.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/ExponentExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Expression+Matching.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Expression.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Expressionizer.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/FractionNumberExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/FunctionSet.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/GroupedToken.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/HexNumberExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/IdentifierExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/LocalizedNumberExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/MathParserErrors.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/OctalNumberExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/OperatorTokenSet.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/PeekingIterator.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/QuotedVariableExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/RawToken.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/ResolvedToken.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/String.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/SubstitutionExtensions.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/TokenCharacterBuffer.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/TokenExtractor.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/TokenGrouper.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/TokenResolver.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/Tokenizer.swift /host/spi-builder-workspace/MathParser/Sources/MathParser/VariableExtractor.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MathParser -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/Objects-normal/wasm32/MathParser_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/Objects-normal/wasm32/Modules/MathParser.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/Objects-normal/wasm32/Modules/MathParser.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/Objects-normal/wasm32/MathParser-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/Objects-normal/wasm32/MathParser-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/Objects-normal/wasm32/MathParser-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathParser.build/Debug-webassembly-wasm32/MathParser-t.build/Objects-normal/wasm32/Modules/MathParser.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm