The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Idioms, reference 2.1.0 (6b1f04), with Swift 6.2 for Wasm on 18 Jun 2025 20:16:22 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/hectr/swift-idioms.git
Reference: 2.1.0
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/hectr/swift-idioms
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 6b1f044 Release. 2.1.0
Cloned https://github.com/hectr/swift-idioms.git
Revision (git rev-parse @):
6b1f0449fbc1d2e3062a65f2ed73229367ab8c52
SUCCESS checkout https://github.com/hectr/swift-idioms.git at 2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hectr/swift-idioms.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
[3/22] Compiling Idioms String+removing.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[4/22] Compiling Idioms StringProtocol+Subscript.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[5/22] Compiling Idioms String+Prepending.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[6/22] Compiling Idioms String+Word.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[7/24] Compiling Idioms IterableRandomAccessCollection.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[8/24] Compiling Idioms Matrix2D+Sequence.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[9/24] Compiling Idioms Matrix2D.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/24] Emitting module Idioms
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[11/24] Compiling Idioms Array+appending.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[12/24] Compiling Idioms Array+prepending.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[13/24] Compiling Idioms Array+removing.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[14/24] Compiling Idioms Array+toOptionSet.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[15/24] Compiling Idioms Bool+ControlFlow.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[16/24] Compiling Idioms CharacterSet+characters.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[17/24] Compiling Idioms OptionSet+toArray.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[18/24] Compiling Idioms RandomAccessMutableCollection.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[19/24] Compiling Idioms RegularExpressionMatchOperator.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[20/24] Compiling Idioms Vector+Sequence.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[21/24] Compiling Idioms Vector.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[22/24] Compiling Idioms Dictionary+deepMerging.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[23/24] Compiling Idioms ForLoop.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
[24/24] Compiling Idioms Int+Times.swift
/host/spi-builder-workspace/Sources/Idioms/Array+toOptionSet.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Array where Element: OptionSet {
BUILD FAILURE 6.2 wasm