Build Information
Failed to build swift-currency, reference main (cb6704
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 22:12:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Peek-Travel/swift-currency.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/Peek-Travel/swift-currency
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cb6704c [CI] Increase test coverage for Swift 6.0-6.1 (#54)
Cloned https://github.com/Peek-Travel/swift-currency.git
Revision (git rev-parse @):
cb6704c48f6f5ea4d5e63b0df9857b3c34ed3ffd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Peek-Travel/swift-currency.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Peek-Travel/swift-currency.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling ISOStandardCodegen main.swift
[4/11] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[5/11] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[6/11] Emitting module ISOStandardCodegen
[7/11] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[8/11] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[9/12] Wrapping AST for ISOStandardCodegen for debugging
[10/12] Write Objects.LinkFileList
[11/12] Linking ISOStandardCodegen-tool
[1/1] Compiling plugin ISOStandardCodegenPlugin
Building for debugging...
[1/12] Write sources
[3/12] Write swift-version-24593BA9C3E375BF.txt
[5/19] Emitting module ISOStandardCodegen
[6/20] Wrapping AST for ISOStandardCodegen for debugging
[7/20] Write Objects.LinkFileList
[8/20] Linking ISOStandardCodegen-tool
[9/20] Generating ISO Standard currency support code
[10/20] Write sources
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/31] Emitting module Currency
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[13/32] Compiling Currency CurrencyMint+ISOCurrencyLookup.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[14/32] Compiling ISOStandardCodegen main.swift
/host/spi-builder-workspace/Sources/ISOStandardCodegen/main.swift:15:8: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import Foundation
| `- error: no such module 'Foundation'
16 |
17 | let arguments = ProcessInfo.processInfo.arguments
[15/32] Compiling ISOStandardCodegen Codegen+MintLookup.swift
/host/spi-builder-workspace/Sources/ISOStandardCodegen/main.swift:15:8: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import Foundation
| `- error: no such module 'Foundation'
16 |
17 | let arguments = ProcessInfo.processInfo.arguments
[16/32] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
/host/spi-builder-workspace/Sources/ISOStandardCodegen/main.swift:15:8: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import Foundation
| `- error: no such module 'Foundation'
16 |
17 | let arguments = ProcessInfo.processInfo.arguments
[17/32] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
/host/spi-builder-workspace/Sources/ISOStandardCodegen/main.swift:15:8: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import Foundation
| `- error: no such module 'Foundation'
16 |
17 | let arguments = ProcessInfo.processInfo.arguments
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/32] Compiling ISOStandardCodegen Codegen+FileHeader.swift
/host/spi-builder-workspace/Sources/ISOStandardCodegen/main.swift:15:8: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import Foundation
| `- error: no such module 'Foundation'
16 |
17 | let arguments = ProcessInfo.processInfo.arguments
[19/32] Emitting module ISOStandardCodegen
/host/spi-builder-workspace/Sources/ISOStandardCodegen/main.swift:15:8: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import Foundation
| `- error: no such module 'Foundation'
16 |
17 | let arguments = ProcessInfo.processInfo.arguments
[20/32] Compiling Currency MinorUnitRepresentation.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[21/32] Compiling Currency CurrencyValue+StringRepresentation.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[22/32] Compiling Currency CurrencyValue.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[23/32] Compiling Currency CurrencyDescriptor.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[24/32] Compiling Currency CurrencyMint.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[25/32] Compiling Currency CurrencyValue+Algorithms.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[26/32] Compiling Currency CurrencyValue+Arithmetic.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[27/32] Compiling Currency ISOCurrencies.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[28/32] Compiling Currency Decimal.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
[29/32] Compiling Currency Sequence+Currency.swift
/host/spi-builder-workspace/Sources/Currency/CurrencyDescriptor.swift:15:15: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import struct Foundation.Decimal
| `- error: no such module 'Foundation'
16 |
17 | /// A type that provides information describing a currency in terms as defined by ISO 4217.
BUILD FAILURE 6.2 wasm