Build Information
Failed to build swift-peg, reference 0.7.0 (948a4e
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 21:19:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/LuizZak/swift-peg.git
Reference: 0.7.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/LuizZak/swift-peg
* tag 0.7.0 -> FETCH_HEAD
HEAD is now at 948a4e2 Updating comments
Cloned https://github.com/LuizZak/swift-peg.git
Revision (git rev-parse @):
948a4e2f816e46a3c8c85ccc1effa343335f0dae
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LuizZak/swift-peg.git at 0.7.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/LuizZak/swift-peg.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/LuizZak/MiniDigraph.git
Fetching https://github.com/LuizZak/SwiftAST.git
Fetching https://github.com/LuizZak/Console.git
[1/979] Fetching swiftast
[2/1223] Fetching swiftast, minidigraph
[1224/1575] Fetching swiftast, minidigraph, console
Fetched https://github.com/LuizZak/Console.git from cache (0.33s)
[1/15380] Fetching swift-argument-parser
[15381/86305] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.91s)
[4965/70925] Fetching swift-syntax
Fetched https://github.com/LuizZak/MiniDigraph.git from cache (5.54s)
Fetched https://github.com/LuizZak/SwiftAST.git from cache (5.54s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.66s)
Computing version for https://github.com/LuizZak/SwiftAST.git
Computed https://github.com/LuizZak/SwiftAST.git at 0.14.0 (6.47s)
Fetching https://github.com/LuizZak/MiniLexer.git
Fetching https://github.com/LuizZak/MiniGraphviz.git
[1/780] Fetching minilexer
[399/821] Fetching minilexer, minigraphviz
Fetched https://github.com/LuizZak/MiniLexer.git from cache (0.41s)
Fetched https://github.com/LuizZak/MiniGraphviz.git from cache (0.41s)
Computing version for https://github.com/LuizZak/MiniDigraph.git
Computed https://github.com/LuizZak/MiniDigraph.git at 0.8.0 (1.03s)
Computing version for https://github.com/LuizZak/Console.git
Computed https://github.com/LuizZak/Console.git at 0.14.1 (3.68s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.69s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.0 (1.05s)
Computing version for https://github.com/LuizZak/MiniGraphviz.git
Computed https://github.com/LuizZak/MiniGraphviz.git at 0.1.0 (0.53s)
Computing version for https://github.com/LuizZak/MiniLexer.git
Computed https://github.com/LuizZak/MiniLexer.git at 0.10.0 (0.48s)
Creating working copy for https://github.com/LuizZak/MiniDigraph.git
Working copy of https://github.com/LuizZak/MiniDigraph.git resolved at 0.8.0
Creating working copy for https://github.com/LuizZak/MiniGraphviz.git
Working copy of https://github.com/LuizZak/MiniGraphviz.git resolved at 0.1.0
Creating working copy for https://github.com/LuizZak/SwiftAST.git
Working copy of https://github.com/LuizZak/SwiftAST.git resolved at 0.14.0
Creating working copy for https://github.com/LuizZak/MiniLexer.git
Working copy of https://github.com/LuizZak/MiniLexer.git resolved at 0.10.0
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.4.0
Creating working copy for https://github.com/LuizZak/Console.git
Working copy of https://github.com/LuizZak/Console.git resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.0
[1/1] Compiling plugin SwiftPEGPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/92] Write sources
[8/92] Copying metagrammar.tokens
[8/92] Copying metagrammar.gram
[8/92] Write sources
[8/92] Copying metagrammar.tokens
[8/92] Copying metagrammar.gram
[8/92] Write sources
[43/92] Compiling _SwiftSyntaxCShims dummy.c
[44/92] Write swift-version-24593BA9C3E375BF.txt
[46/143] Emitting module SwiftSyntax600
[47/143] Emitting module _SwiftSyntaxGenericTestSupport
[48/143] Compiling MiniLexer Lexer.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[49/143] Compiling MiniLexer TokenProtocol.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[50/144] Compiling MiniLexer Lexer+Consume.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[51/144] Compiling MiniDigraph MutableDirectedGraphType.swift
[52/144] Compiling MiniDigraph MutableSimpleEdgeDirectedGraphType.swift
[53/145] Compiling MiniLexer GrammarRules.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[54/145] Compiling MiniLexer GrammarRules+Operators.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[55/145] Compiling MiniLexer Lexer+Advance.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[56/145] Compiling MiniLexer Lexer+AdvancedParsing.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[57/145] Compiling MiniDigraph DirectedGraphVisitElement.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/145] Emitting module MiniLexer
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[59/145] Compiling MiniDigraph DirectedGraphRecordingVisitElement.swift
[60/145] Compiling MiniDigraph CachingDirectedGraph.swift
[61/145] Compiling MiniDigraph DirectedGraph.swift
[62/145] Compiling MiniDigraph AbstractDirectedGraph.swift
[63/145] Compiling MiniDigraph AbstractDirectedGraphEdge.swift
[64/145] Compiling MiniDigraph Sequence+Ext.swift
[65/145] Compiling MiniDigraph SimpleDirectedGraphEdge.swift
[66/145] Emitting module MiniDigraph
[67/145] Compiling MiniDigraph MutableDirectedGraphType.swift
[68/145] Compiling MiniDigraph MutableSimpleEdgeDirectedGraphType.swift
[69/145] Compiling MiniLexer TokenizerLexer.swift
/host/spi-builder-workspace/.build/checkouts/MiniLexer/Sources/MiniLexer/Lexer+Advance.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // MARK: - Safe operations
[70/145] Compiling MiniDigraph DirectedGraphVisitElementType.swift
[71/146] Emitting module SwiftSyntax509
BUILD FAILURE 6.2 wasm