Build Information
Failed to build SwiftRewriter, reference 0.2.0 (5a14df
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 04:01:15 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/inamiy/swiftrewriter.git
Reference: 0.2.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/inamiy/swiftrewriter
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 5a14dfc Update README.md
Cloned https://github.com/inamiy/swiftrewriter.git
Revision (git rev-parse @):
5a14dfcc9f005f40f15f6028141b520a9a9a738d
SUCCESS checkout https://github.com/inamiy/swiftrewriter.git at 0.2.0
========================================
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-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/pointfreeco/swift-snapshot-testing
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/thoughtbot/Curry.git
[1/600] Fetching curry
[601/2929] Fetching curry, commandant
[602/4177] Fetching curry, commandant, files
[4178/17404] Fetching curry, commandant, files, swift-snapshot-testing
[8279/88286] Fetching curry, commandant, files, swift-snapshot-testing, swift-syntax
Fetched https://github.com/Carthage/Commandant.git from cache (2.08s)
Fetched https://github.com/JohnSundell/Files.git from cache (2.08s)
[84709/84709] Fetching curry, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.15s)
Fetched https://github.com/thoughtbot/Curry.git from cache (4.41s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.46s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (4.84s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.41s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (2.09s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (2.10s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.37s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.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/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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/53] Emitting module SwiftSyntax
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[9/56] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[10/56] Compiling SwiftSyntax SyntaxData.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[11/56] Compiling SwiftSyntax WeakLookupTable.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[12/56] 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.
[13/57] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[14/57] Compiling SwiftSyntax LazyNonThreadSafeCache.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/57] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[16/57] Compiling SwiftSyntax PrintingDiagnosticConsumer.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.
[17/57] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/57] 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.
[19/57] 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.
[20/57] 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.
[21/57] 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.
[22/57] 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.
[23/57] Compiling SwiftSyntax DiagnosticEngine.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.
[24/57] Compiling SwiftSyntax JSONDiagnosticConsumer.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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/57] 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
[26/57] 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
[27/57] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[28/57] Compiling SwiftSyntax ByteTreeDeserialization.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[29/57] Compiling SwiftSyntax Diagnostic.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[30/57] Compiling SwiftSyntax DiagnosticConsumer.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/ByteTreeDeserialization.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | // MARK: - ByteTree decoder protocols
[35/57] 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.
[36/57] Emitting module Curry
BUILD FAILURE 6.2 wasm