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 SwiftRewriter, reference master (6f23bc), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 03:59:35 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/inamiy/swiftrewriter.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/inamiy/swiftrewriter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6f23bc0 Merge pull request #23 from inamiy/FunOptics
Cloned https://github.com/inamiy/swiftrewriter.git
Revision (git rev-parse @):
6f23bc04b381d12e9acb2670d36e8acc5bbb3926
SUCCESS checkout https://github.com/inamiy/swiftrewriter.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/inamiy/swiftrewriter.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/Carthage/Commandant.git
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/inamiy/FunOptics
[1/2329] Fetching commandant
[211/3577] Fetching commandant, files
[2250/3650] Fetching commandant, files, funoptics
[3651/4250] Fetching commandant, files, funoptics, curry
Fetched https://github.com/inamiy/FunOptics from cache (0.37s)
[1/13227] Fetching swift-snapshot-testing
[2250/84109] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.28s)
[57415/70882] Fetching swift-syntax
Fetched https://github.com/thoughtbot/Curry.git from cache (5.28s)
Fetched https://github.com/JohnSundell/Files.git from cache (5.28s)
Fetched https://github.com/Carthage/Commandant.git from cache (5.28s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.35s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (6.86s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50100.0 (1.21s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (2.70s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (2.69s)
Computing version for https://github.com/inamiy/FunOptics
Computed https://github.com/inamiy/FunOptics at 1.0.4 (0.42s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.41s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50100.0
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/inamiy/FunOptics
Working copy of https://github.com/inamiy/FunOptics resolved at 1.0.4
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.12.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Building for debugging...
[0/18] Write sources
[7/18] Compiling atomic-counter.c
[7/18] Write swift-version-24593BA9C3E375BF.txt
[10/63] Emitting module Curry
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/63] 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: - Public API
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/63] Emitting module Commandant
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[13/64] Compiling Commandant Switch.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[14/64] Compiling Commandant Result+Additions.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[15/64] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
14 | //===----------------------------------------------------------------------===//
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[16/64] Compiling SwiftSyntax AtomicCounter.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
14 | //===----------------------------------------------------------------------===//
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[17/64] Compiling SwiftSyntax Diagnostic.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
14 | //===----------------------------------------------------------------------===//
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[18/64] Compiling SwiftSyntax DiagnosticConsumer.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/DiagnosticEngine.swift:16:8: error: no such module 'Foundation'
14 | //===----------------------------------------------------------------------===//
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// The DiagnosticEngine allows Swift tools to emit diagnostics.
[19/67] Compiling Commandant HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[20/67] Compiling Commandant Errors.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[21/67] Compiling Commandant OrderedSet.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[22/67] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[27/67] 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: - Public API
[28/67] Compiling FunOptics Operators.swift
[29/67] Compiling FunOptics Prism.swift
[30/67] Compiling FunOptics Lens.swift
[31/67] Emitting module FunOptics
BUILD FAILURE 6.2 wasm