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 Lotsawa, reference main (28d7a2), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 09:27:42 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/hylo-lang/Lotsawa.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/hylo-lang/Lotsawa
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 28d7a22 typo
Submodule path 'paper': checked out '73b347b7e6405323a086a17ad26f5d7b85bb43dc'
Submodule 'paper' (https://github.com/jeffreykegler/Marpa-arxiv-paper) registered for path 'paper'
Cloning into '/host/spi-builder-workspace/paper'...
Cloned https://github.com/hylo-lang/Lotsawa.git
Revision (git rev-parse @):
28d7a224ed19d03f4d819fecf895e6af21fc9368
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hylo-lang/Lotsawa.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hylo-lang/Lotsawa.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/dabrahams/citron.git
Fetching https://github.com/SwiftPackageIndex/SPIManifest.git
[1/2175] Fetching citron
[2176/3066] Fetching citron, spimanifest
Fetched https://github.com/SwiftPackageIndex/SPIManifest.git from cache (0.43s)
Fetched https://github.com/dabrahams/citron.git from cache (0.68s)
Computing version for https://github.com/dabrahams/citron.git
Computed https://github.com/dabrahams/citron.git at 2.1.7 (3.71s)
Computing version for https://github.com/SwiftPackageIndex/SPIManifest.git
Computed https://github.com/SwiftPackageIndex/SPIManifest.git at 0.19.0 (0.41s)
Fetching https://github.com/jpsim/Yams.git
[1/10859] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (2.22s)
Creating working copy for https://github.com/SwiftPackageIndex/SPIManifest.git
Working copy of https://github.com/SwiftPackageIndex/SPIManifest.git resolved at 0.19.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/dabrahams/citron.git
Working copy of https://github.com/dabrahams/citron.git resolved at 2.1.7
[0/6] Write sources
[1/6] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling CitronCLibrary main_.c
[4/8] Emitting module citron
[5/8] Compiling citron main.swift
[6/9] Wrapping AST for citron for debugging
[7/9] Write Objects.LinkFileList
[8/9] Linking citron-tool
[1/1] Compiling plugin ValidatorPlugin
[2/2] Compiling plugin CitronParserGenerator
Building for debugging...
[2/16] Write sources
[4/16] Copying AnsiCSymbolIDs.txt
[5/16] Copying AnsiCGrammar.txt
[7/16] Write sources
[9/16] Copying AnsiCTokens.txt
[10/16] Write swift-version-24593BA9C3E375BF.txt
[12/37] Compiling Lotsawa ItemID.swift
[13/37] Compiling Lotsawa MultiMap.swift
[14/37] Compiling Lotsawa Nullability.swift
[15/39] Compiling Lotsawa PredictionMemo.swift
[16/39] Compiling Lotsawa PreprocessedGrammar.swift
[17/39] Compiling Lotsawa DiscreteMap.swift
[18/39] Compiling Lotsawa Evaluation.swift
[19/39] Compiling Lotsawa Evaluator.swift
[20/39] Compiling Lotsawa Forest.swift
[21/39] Compiling Lotsawa Grammar.swift
[22/39] Compiling Lotsawa Incidental.swift
[23/39] Compiling Lotsawa DebugForest.swift
[24/39] Compiling Lotsawa DebugGrammar.swift
[25/39] Compiling Lotsawa DebugRecognizer.swift
[26/39] Compiling Lotsawa Chart.swift
[27/39] Compiling Lotsawa Collection+Extensions.swift
[28/39] Compiling Lotsawa DebugChart.swift
[29/39] Compiling Lotsawa Recognizer.swift
[30/39] Compiling Lotsawa UniqueCounter.swift
[31/39] Emitting module Lotsawa
[32/39] Compiling Lotsawa AdjacencyMatrix.swift
[33/39] Compiling Lotsawa Array+Extensions.swift
[34/39] Compiling Lotsawa BitSet.swift
[35/40] Wrapping AST for Lotsawa for debugging
[37/46] Generating LotsawaC PCH
[38/48] Compiling TestResources resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TestResources/TestResources.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | import Lotsawa
 3 |
[39/48] Emitting module LotsawaC
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/48] Emitting module TestResources
/host/spi-builder-workspace/Sources/TestResources/TestResources.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | import Lotsawa
 3 |
[41/48] Compiling TestResources TestResources.swift
/host/spi-builder-workspace/Sources/TestResources/TestResources.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | import Lotsawa
 3 |
[42/48] Emitting module LotsawaFrontend
BUILD FAILURE 6.2 wasm