The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PackageGeneratorCLI, reference main (b9ec12), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 13:20:36 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/mackoj/PackageGeneratorCLI.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/mackoj/PackageGeneratorCLI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-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
Fetching https://github.com/apple/swift-syntax
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.31s)
[1/15380] Fetching swift-argument-parser
[15381/86304] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
[4256/70924] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (4.97s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.3.0 (5.50s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (1.07s)
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.72s)
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/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/22] Write sources
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/33] Emitting module SwiftSyntax510
[13/33] Compiling SwiftSyntax510 Empty.swift
[14/34] Wrapping AST for SwiftSyntax510 for debugging
[16/34] Compiling PackageGeneratorModels PackageInformation.swift
/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 {
[17/34] Compiling PackageGeneratorModels ParsedPackage.swift
/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/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 {
[19/34] Emitting module SwiftSyntax509
[20/34] Compiling SwiftSyntax509 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/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
[22/34] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm