Build Information
Failed to build spmgen, reference 1.1.0 (96f83a), with Swift 6.2 for Wasm on 19 Jun 2025 19:08:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/EduDo-Inc/spmgen.git
Reference: 1.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/EduDo-Inc/spmgen
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 96f83ae feat: Update swift-argument-parser version
Cloned https://github.com/EduDo-Inc/spmgen.git
Revision (git rev-parse @):
96f83aea200fd94ca051686cea8b3b76707e8542
SUCCESS checkout https://github.com/EduDo-Inc/spmgen.git at 1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/EduDo-Inc/spmgen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/JohnSundell/Files.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1248] Fetching files
Fetched https://github.com/JohnSundell/Files.git from cache (0.48s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.50s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.3.0 (3.60s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.89s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.3.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/28] Compiling SPMResources StoryboardResource.swift
/host/spi-builder-workspace/Sources/SPMResources/ColorResource.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct ColorResource: CustomBundleResource, NamedType, Equatable {
[10/28] Compiling SPMResources SCNSceneResource.swift
/host/spi-builder-workspace/Sources/SPMResources/ColorResource.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct ColorResource: CustomBundleResource, NamedType, Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/28] Emitting module Files
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files.swift:25:8: error: no such module 'Foundation'
23 | */
24 |
25 | import Foundation
| `- error: no such module 'Foundation'
26 |
27 | // MARK: - Locations
[12/28] Compiling Files Files.swift
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files.swift:25:8: error: no such module 'Foundation'
23 | */
24 |
25 | import Foundation
| `- error: no such module 'Foundation'
26 |
27 | // MARK: - Locations
[13/28] Compiling SPMResources NibResource.swift
/host/spi-builder-workspace/Sources/SPMResources/ColorResource.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct ColorResource: CustomBundleResource, NamedType, Equatable {
[14/28] Compiling SPMResources FontResource.swift
/host/spi-builder-workspace/Sources/SPMResources/ColorResource.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct ColorResource: CustomBundleResource, NamedType, Equatable {
[15/28] Compiling SPMResources ImageResource.swift
/host/spi-builder-workspace/Sources/SPMResources/ColorResource.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct ColorResource: CustomBundleResource, NamedType, Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/28] Emitting module SPMResources
/host/spi-builder-workspace/Sources/SPMResources/ColorResource.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct ColorResource: CustomBundleResource, NamedType, Equatable {
[17/28] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm