Build Information
Failed to build SwiftSyntaxHighlighter, reference main (ac8990
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 23:43:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/NSHipster/SwiftSyntaxHighlighter.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/NSHipster/SwiftSyntaxHighlighter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ac89909 Bump version to 1.2.4
Cloned https://github.com/NSHipster/SwiftSyntaxHighlighter.git
Revision (git rev-parse @):
ac89909534b2afa4e9626307191c0d277ff82fe8
SUCCESS checkout https://github.com/NSHipster/SwiftSyntaxHighlighter.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/NSHipster/SwiftSyntaxHighlighter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-syntax.git
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.40s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.19s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (3.15s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50300.0 (844574d)
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 0.3.2
Building for debugging...
[0/20] Write sources
[7/20] Compiling atomic-counter.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/88] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[11/92] Compiling ArgumentParser Option.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.
[12/92] Compiling ArgumentParser OptionGroup.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.
[13/92] Compiling SwiftSyntax PrintingDiagnosticConsumer.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.
[14/92] Compiling SwiftSyntax RawSyntax.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.
[15/92] Compiling SwiftSyntax SourceLength.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/97] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[17/97] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[18/97] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[19/97] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[20/97] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[21/97] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[22/97] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[23/97] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[24/97] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[25/97] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[26/97] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[27/97] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[28/97] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[29/97] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[30/97] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[31/97] Compiling SwiftSyntax SyntaxEnum.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[32/97] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[33/97] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[34/97] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[35/97] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[36/97] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[37/97] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[38/97] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[39/97] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[40/97] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[41/97] Compiling SwiftSyntax SyntaxClassifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/97] Emitting module SwiftSyntax
/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.
/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.
/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.
/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.
/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.
/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.
[53/97] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[54/97] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[55/97] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
[56/97] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift:12:29: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | @_implementationOnly import Foundation
| `- error: no such module 'Foundation'
13 |
14 | enum MessageInfo {
BUILD FAILURE 6.2 wasm