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 SwiftMath, reference main (1e49ab), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 18:00:09 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/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 1e49ab4 Merge pull request #44 from trilorez/image-layout-info
Cloned https://github.com/mgriebling/SwiftMath.git
Revision (git rev-parse @):
1e49ab4e85eeb0986d0a63d1ca68f8a4b0b964d5
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-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/4] Copying Info.plist
[0/4] Write sources
[2/4] Copying mathFonts.bundle
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/25] 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
[6/25] 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
[7/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
[8/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
[9/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
[10/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
[11/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
[12/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
[13/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
[14/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
[15/27] 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
[16/27] 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
[17/27] 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
[18/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
[19/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
[20/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/27] 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
[22/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
[23/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
[24/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
[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