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 swift-peg, reference main (726760), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 21:22:28 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/LuizZak/swift-peg.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/LuizZak/swift-peg
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 726760a Updating README.md
Cloned https://github.com/LuizZak/swift-peg.git
Revision (git rev-parse @):
726760a32912a9f498525a586878f03bf40f39b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LuizZak/swift-peg.git at main
========================================
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-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/LuizZak/MiniDigraph.git
Fetching https://github.com/LuizZak/SwiftAST.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax.git
[1/244] Fetching minidigraph
[245/1223] Fetching minidigraph, swiftast
Fetching https://github.com/LuizZak/Console.git
Fetched https://github.com/LuizZak/MiniDigraph.git from cache (0.31s)
[128/979] Fetching swiftast
[980/16359] Fetching swiftast, swift-argument-parser
[1749/16711] Fetching swiftast, swift-argument-parser, console
Fetched https://github.com/LuizZak/Console.git from cache (0.29s)
[7131/16359] Fetching swiftast, swift-argument-parser
[16360/87284] Fetching swiftast, swift-argument-parser, swift-syntax
Fetched https://github.com/LuizZak/SwiftAST.git from cache (7.01s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (7.02s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.26s)
Computing version for https://github.com/LuizZak/SwiftAST.git
Computed https://github.com/LuizZak/SwiftAST.git at 0.14.0 (7.68s)
Fetching https://github.com/LuizZak/MiniGraphviz.git
Fetching https://github.com/LuizZak/MiniLexer.git
[1/41] Fetching minigraphviz
[42/821] Fetching minigraphviz, minilexer
Fetched https://github.com/LuizZak/MiniGraphviz.git from cache (0.30s)
Fetched https://github.com/LuizZak/MiniLexer.git from cache (0.30s)
Computing version for https://github.com/LuizZak/MiniDigraph.git
Computed https://github.com/LuizZak/MiniDigraph.git at 0.8.0 (0.91s)
Computing version for https://github.com/LuizZak/Console.git
Computed https://github.com/LuizZak/Console.git at 0.14.1 (2.35s)
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.68s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.0 (0.69s)
Computing version for https://github.com/LuizZak/MiniGraphviz.git
Computed https://github.com/LuizZak/MiniGraphviz.git at 0.1.0 (0.62s)
Computing version for https://github.com/LuizZak/MiniLexer.git
Computed https://github.com/LuizZak/MiniLexer.git at 0.10.0 (0.61s)
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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.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/SwiftAST.git
Working copy of https://github.com/LuizZak/SwiftAST.git resolved at 0.14.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/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
[1/1] Compiling plugin SwiftPEGPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/92] Write sources
[13/92] Copying metagrammar.tokens
[13/92] Copying metagrammar.gram
[18/92] Write sources
[35/92] Copying metagrammar.tokens
[35/92] Copying metagrammar.gram
[35/92] Write sources
[43/92] Compiling _SwiftSyntaxCShims dummy.c
[44/92] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/133] 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
[47/134] 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
[48/134] 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
[49/134] 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
[50/134] 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
[51/134] Compiling Console LinuxSupport.swift
[52/135] 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
[53/135] Emitting module SwiftSyntax600
[54/135] Compiling SwiftSyntax600 Empty.swift
[55/136] 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/136] 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/136] 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
[58/136] Emitting module SwiftSyntax510
[59/136] Compiling SwiftSyntax510 Empty.swift
[60/137] Emitting module SwiftSyntax509
[61/137] Compiling SwiftSyntax509 Empty.swift
[62/138] Compiling MiniLexer Lexer+Consume.swift
[63/139] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm