Build Information
Failed to build ElementaryCycles, reference master (824a7d), with Swift 6.2 for Wasm on 17 Jun 2025 12:36:30 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hectr/swift-elementary-cycles.git
Reference: master
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-elementary-cycles
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 824a7d8 Release 0.4.0
Cloned https://github.com/hectr/swift-elementary-cycles.git
Revision (git rev-parse @):
824a7d8c9beff5bb4ce81ce65877e63c1bb85fac
SUCCESS checkout https://github.com/hectr/swift-elementary-cycles.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/hectr/swift-elementary-cycles.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
Fetching https://github.com/hectr/swift-idioms.git
[1/393] Fetching swift-idioms
Fetched https://github.com/hectr/swift-idioms.git from cache (0.23s)
Computing version for https://github.com/hectr/swift-idioms.git
Computed https://github.com/hectr/swift-idioms.git at 1.9.0 (0.69s)
Creating working copy for https://github.com/hectr/swift-idioms.git
Working copy of https://github.com/hectr/swift-idioms.git resolved at 1.9.0
Building for debugging...
[0/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/27] Emitting module Idioms
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[7/29] Compiling Idioms Vector+Sequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[8/29] Compiling Idioms Vector.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[9/29] Compiling Idioms String+Prepending.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[10/29] Compiling Idioms String+Word.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[11/29] Compiling Idioms RandomAccessMutableCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[12/29] Compiling Idioms RegularExpressionMatchOperator.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[13/29] Compiling Idioms Matrix2D+Sequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[14/29] Compiling Idioms Matrix2D.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[15/29] Compiling Idioms String+removing.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[16/29] Compiling Idioms StringProtocol+Subscript.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[17/29] Compiling Idioms Int+Times.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[18/29] Compiling Idioms IterableRandomAccessCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[19/29] Compiling Idioms Array+appending.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[20/29] Compiling Idioms Array+removing.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[21/29] Compiling Idioms Bool+ControlFlow.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[22/29] Compiling Idioms CharacterSet+characters.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[23/29] Compiling Idioms Dictionary+deepMerging.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
[24/29] Compiling Idioms ForLoop.swift
/host/spi-builder-workspace/.build/checkouts/swift-idioms/Sources/Idioms/CharacterSet+characters.swift:21:8: error: no such module 'Foundation'
19 | // THE SOFTWARE.
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | // Source: https://stackoverflow.com/a/34772440
BUILD FAILURE 6.2 wasm