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 ExpressionParser, reference main (e9984c), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 06:52:53 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/ExpressionParser.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/ExpressionParser
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e9984ca Added badges.
Cloned https://github.com/mgriebling/ExpressionParser.git
Revision (git rev-parse @):
e9984ca215b16c2c508dfc181f9c5320c126ede8
SUCCESS checkout https://github.com/mgriebling/ExpressionParser.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mgriebling/ExpressionParser.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
Fetching https://github.com/mgriebling/BigDecimal.git
[1/5906] Fetching bigdecimal
Fetched https://github.com/mgriebling/BigDecimal.git from cache (0.54s)
Computing version for https://github.com/mgriebling/BigDecimal.git
Computed https://github.com/mgriebling/BigDecimal.git at 3.0.2 (2.25s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/mgriebling/BigInt.git
[1/5757] Fetching swift-numerics
[347/7341] Fetching swift-numerics, uint128
[7342/14851] Fetching swift-numerics, uint128, bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (0.74s)
[9663/13267] Fetching swift-numerics, bigint
Fetched https://github.com/apple/swift-numerics from cache (1.52s)
Fetched https://github.com/mgriebling/BigInt.git from cache (1.53s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (5.12s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.65s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.40s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/mgriebling/BigDecimal.git
Working copy of https://github.com/mgriebling/BigDecimal.git resolved at 3.0.2
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.0
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.3.0
Building for debugging...
[0/9] Write sources
[7/9] Compiling _NumericsShims _NumericsShims.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/36] Emitting module RealModule
[11/37] Compiling RealModule Real.swift
[12/37] Compiling BigInt ExpMod.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[13/37] Compiling BigInt FFT.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[14/38] Compiling RealModule Float16+Real.swift
[15/38] Emitting module UInt128
[16/38] Compiling RealModule AlgebraicField.swift
[17/38] Compiling RealModule ApproximateEquality.swift
[18/38] Compiling RealModule Float80+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/38] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[22/38] Compiling BigInt Factorial.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[23/38] Compiling BigInt GCD.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[24/38] Compiling RealModule RealFunctions.swift
[25/38] Compiling RealModule ElementaryFunctions.swift
[26/38] Compiling RealModule AugmentedArithmetic.swift
[27/38] Compiling RealModule Double+Real.swift
[28/38] Compiling RealModule Float+Real.swift
[29/38] Compiling BigInt Limbs.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[30/38] Compiling BigInt Karatsuba.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[33/39] Compiling BigInt BurnikelZiegler.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[34/39] Compiling BigInt CRT.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[35/39] Compiling BigInt ToomCook.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
BUILD FAILURE 6.2 wasm