Build Information
Failed to build PackageGeneratorCLI, reference 0.5.2 (b9ec12
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 13:21:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/mackoj/PackageGeneratorCLI.git
Reference: 0.5.2
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/mackoj/PackageGeneratorCLI
* tag 0.5.2 -> FETCH_HEAD
HEAD is now at b9ec120 make it code from docc folder
Cloned https://github.com/mackoj/PackageGeneratorCLI.git
Revision (git rev-parse @):
b9ec1206333e0995f38e947ee06707d5407893e6
SUCCESS checkout https://github.com/mackoj/PackageGeneratorCLI.git at 0.5.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mackoj/PackageGeneratorCLI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-syntax
Fetching https://github.com/apple/swift-argument-parser.git
[1/1248] Fetching files
[1249/16628] Fetching files, swift-argument-parser
[16629/87552] Fetching files, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
[4795/72172] Fetching files, swift-syntax
Fetched https://github.com/JohnSundell/Files.git from cache (4.56s)
Fetched https://github.com/apple/swift-syntax from cache (4.62s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.3.0 (5.06s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (0.65s)
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.38s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.3
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.3.0
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/22] Write sources
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/33] Emitting module SwiftSyntax509
[13/33] Compiling SwiftSyntax509 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/34] 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
[16/34] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/34] Wrapping AST for SwiftSyntax509 for debugging
[17/34] Emitting module PackageGeneratorModels
/host/spi-builder-workspace/Sources/PackageGeneratorModels/PackageInformation.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct PackageInformation: Codable {
/host/spi-builder-workspace/Sources/PackageGeneratorModels/PackageInformation.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct PackageInformation: Codable {
[18/34] Emitting module SwiftSyntax510
[19/34] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm