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 RenameCommand, reference main (8c3fce), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 19:58:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/jpmhouston/RenameCommand.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/jpmhouston/RenameCommand
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8c3fcee Minor fixes, now pass ext to callback
Cloned https://github.com/jpmhouston/RenameCommand.git
Revision (git rev-parse @):
8c3fcee0c567c6963b7e6e07dac76661caa0e718
SUCCESS checkout https://github.com/jpmhouston/RenameCommand.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jpmhouston/RenameCommand.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-argument-parser
Fetching https://github.com/sharplet/Regex
Fetching https://github.com/JohnSundell/Files
[1/1254] Fetching regex
[152/2502] Fetching regex, files
[2140/17882] Fetching regex, files, swift-argument-parser
Fetched https://github.com/JohnSundell/Files from cache (0.83s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.84s)
Fetched https://github.com/sharplet/Regex from cache (0.84s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.1 (3.58s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.3.0 (0.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.41s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.3.0
Creating working copy for https://github.com/sharplet/Regex
Working copy of https://github.com/sharplet/Regex resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/17] 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
[8/17] 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
[9/17] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Foundation+Ranges.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal extension NSTextCheckingResult {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] Compiling Regex String+ReplaceMatching.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Foundation+Ranges.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal extension NSTextCheckingResult {
[11/17] Emitting module Regex
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Foundation+Ranges.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal extension NSTextCheckingResult {
[12/17] Compiling Regex Foundation+Ranges.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Foundation+Ranges.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal extension NSTextCheckingResult {
[13/17] Compiling Regex Regex.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Foundation+Ranges.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal extension NSTextCheckingResult {
[14/17] Compiling Regex MatchResult.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Foundation+Ranges.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal extension NSTextCheckingResult {
[15/17] Compiling Regex Options.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Foundation+Ranges.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal extension NSTextCheckingResult {
[16/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/17] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm