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