The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMath, reference main (48ff18), with Swift 6.2 for Wasm on 3 Feb 2026 20:37:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/SwiftMath.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 48ff188 Merge pull request #60 from nguillot/feat/tokenization-infrastructure
Cloned https://github.com/mgriebling/SwiftMath.git
Revision (git rev-parse @):
48ff188ba118c37d024551238041113560ab09b9
SUCCESS checkout https://github.com/mgriebling/SwiftMath.git at main
========================================
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-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/4] Write sources
[0/4] Copying Info.plist
[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/31] Emitting module SwiftMath
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[6/34] Compiling SwiftMath MTElementWidthCalculator.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[7/34] Compiling SwiftMath MTLineFitter.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[8/34] Compiling SwiftMath resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[9/34] Compiling SwiftMath MTBreakableElement.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[10/34] Compiling SwiftMath MTDisplayGenerator.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[11/34] Compiling SwiftMath MTDisplayPreRenderer.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[12/34] Compiling SwiftMath MTMathListIndex.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[13/34] Compiling SwiftMath MTMathUILabel.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[14/34] Compiling SwiftMath MTTypesetter+Tokenization.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[15/34] Compiling SwiftMath MTTypesetter.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[16/34] Compiling SwiftMath MTMathImage.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[17/34] Compiling SwiftMath MTMathList.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[18/34] Compiling SwiftMath MTMathListBuilder.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[19/34] Compiling SwiftMath MTMathListDisplay.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[20/34] Compiling SwiftMath MTBezierPath.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[21/34] Compiling SwiftMath MTColor.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[22/34] Compiling SwiftMath MTConfig.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[23/34] Compiling SwiftMath MTFont.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[24/34] Compiling SwiftMath MTFontManager.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[25/34] Compiling SwiftMath MTFontMathTable.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[26/34] Compiling SwiftMath MTLabel.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[27/34] Compiling SwiftMath MTMathAtomFactory.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[28/34] Compiling SwiftMath MTUnicode.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[29/34] Compiling SwiftMath RWLock.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[30/34] Compiling SwiftMath MTAtomTokenizer.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[31/34] Compiling SwiftMath MTFontMathTableV2.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[32/34] Compiling SwiftMath MTFontV2.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[33/34] Compiling SwiftMath MathFont.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
[34/34] Compiling SwiftMath MathImage.swift
/host/spi-builder-workspace/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 | import CoreText
 11 |
BUILD FAILURE 6.2 wasm