Build Information
Failed to build FinanceKit, reference 0.7.1 (b776f2
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 10:50:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/christiankm/FinanceKit.git
Reference: 0.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/christiankm/FinanceKit
* tag 0.7.1 -> FETCH_HEAD
HEAD is now at b776f2e Fix bug where only holdings with splits in the portfolio was returned
Cloned https://github.com/christiankm/FinanceKit.git
Revision (git rev-parse @):
b776f2e0d040c578c0b60aae5b778ffaac60834e
SUCCESS checkout https://github.com/christiankm/FinanceKit.git at 0.7.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/christiankm/FinanceKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/36] Emitting module FinanceKit
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[4/36] Compiling FinanceKit Numerics+Total+Average.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[5/36] Compiling FinanceKit Percentage.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[6/36] Compiling FinanceKit PercentageFormatter.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[7/36] Compiling FinanceKit PerformanceCalculator.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[8/40] Compiling FinanceKit CurrencyConverter.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[9/40] Compiling FinanceKit CurrencyFormatter.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[10/40] Compiling FinanceKit CurrencyPair.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[11/40] Compiling FinanceKit Date+Comparison.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[12/40] Compiling FinanceKit Date+Ranges.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[13/40] Compiling FinanceKit ChangePeriod.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[14/40] Compiling FinanceKit Company.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[15/40] Compiling FinanceKit ComparableToZero.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[16/40] Compiling FinanceKit Currency.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[17/40] Compiling FinanceKit CurrencyCode.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[18/40] Compiling FinanceKit Split.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[19/40] Compiling FinanceKit Stock.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[20/40] Compiling FinanceKit Symbol.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[21/40] Compiling FinanceKit Transaction.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[22/40] Compiling FinanceKit Portfolio.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[23/40] Compiling FinanceKit Price.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[24/40] Compiling FinanceKit PriceTarget.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[25/40] Compiling FinanceKit Quantity.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[26/40] Compiling FinanceKit HistoricalPrice.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[27/40] Compiling FinanceKit Holding.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[28/40] Compiling FinanceKit Money.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[29/40] Compiling FinanceKit Number+LegacyType.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[30/40] Compiling FinanceKit NumberFormatter+Currency.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[31/40] Compiling FinanceKit Decimal+DoubleValue.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[32/40] Compiling FinanceKit Decimal+Rounded.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[33/40] Compiling FinanceKit Dividend.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[34/40] Compiling FinanceKit Exchange.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[35/40] Compiling FinanceKit ExchangeRate.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[36/40] Compiling FinanceKit Amount.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[37/40] Compiling FinanceKit Array+Holding.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[38/40] Compiling FinanceKit Asset.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[39/40] Compiling FinanceKit AssetAllocation.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
[40/40] Compiling FinanceKit Change.swift
/host/spi-builder-workspace/Sources/FinanceKit/Amount.swift:7:8: error: no such module 'Foundation'
5 | //
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | /// Amount is a typealias for Decimal to provide better context when working with monetary amounts.
BUILD FAILURE 6.2 wasm