Build Information
Failed to build SwiftMath, reference 1.7.1 (606f9b
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 17:58:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/mgriebling/SwiftMath.git
Reference: 1.7.1
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/mgriebling/SwiftMath
* tag 1.7.1 -> FETCH_HEAD
HEAD is now at 606f9be Fix Ø command.
Cloned https://github.com/mgriebling/SwiftMath.git
Revision (git rev-parse @):
606f9be66db6afe0c41c3b064723a57061723db7
SUCCESS checkout https://github.com/mgriebling/SwiftMath.git at 1.7.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mgriebling/SwiftMath.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/4] Copying Info.plist
[1/4] Write sources
[2/4] Copying mathFonts.bundle
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/25] Emitting module SwiftMath
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[6/25] Compiling SwiftMath MTFontMathTableV2.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[7/25] Compiling SwiftMath MTFontV2.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[8/25] Compiling SwiftMath MathFont.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[9/27] Compiling SwiftMath MTFontMathTable.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[10/27] Compiling SwiftMath MTLabel.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[11/27] Compiling SwiftMath MTMathAtomFactory.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[12/27] Compiling SwiftMath MTTypesetter.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[13/27] Compiling SwiftMath MTUnicode.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[14/27] Compiling SwiftMath RWLock.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[15/27] Compiling SwiftMath resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[16/27] Compiling SwiftMath MTMathImage.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[17/27] Compiling SwiftMath MTMathList.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[18/27] Compiling SwiftMath MTMathListBuilder.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[19/27] Compiling SwiftMath MathImage.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[20/27] Compiling SwiftMath MTBezierPath.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[21/27] Compiling SwiftMath MTColor.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[22/27] Compiling SwiftMath MTConfig.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[23/27] Compiling SwiftMath MTFont.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[24/27] Compiling SwiftMath MTFontManager.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[25/27] Compiling SwiftMath MTMathListDisplay.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[26/27] Compiling SwiftMath MTMathListIndex.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
[27/27] Compiling SwiftMath MTMathUILabel.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CoreGraphics
10 | import CoreText
BUILD FAILURE 6.2 wasm