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 SwiftParsec, reference master (00ae75), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 01:17:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/davedufresne/SwiftParsec.git
Reference: master
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/davedufresne/SwiftParsec
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 00ae75a Release 4.0.1
Cloned https://github.com/davedufresne/SwiftParsec.git
Revision (git rev-parse @):
00ae75a5e9e0fc790056a8b8ebdf2a1833e7117a
SUCCESS checkout https://github.com/davedufresne/SwiftParsec.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/davedufresne/SwiftParsec.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module SwiftParsec
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[4/27] Compiling SwiftParsec ParseError.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[5/27] Compiling SwiftParsec Parsec.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[6/27] Compiling SwiftParsec Permutation.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[7/27] Compiling SwiftParsec GenericParser.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[8/27] Compiling SwiftParsec GenericTokenParser.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[9/27] Compiling SwiftParsec LanguageDefinition.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[10/27] Compiling SwiftParsec Position.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[11/27] Compiling SwiftParsec RangeReplaceableCollectionInsertion.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[12/27] Compiling SwiftParsec SequenceAggregation.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[13/27] Compiling SwiftParsec SequenceConversion.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[14/27] Compiling SwiftParsec SetAggregation.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[15/27] Compiling SwiftParsec String.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[16/27] Compiling SwiftParsec CharacterSet.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[17/27] Compiling SwiftParsec CollectionAggregation.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[18/27] Compiling SwiftParsec CombinatorParsers.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[19/27] Compiling SwiftParsec Configuration.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[20/27] Compiling SwiftParsec Either.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[21/27] Compiling SwiftParsec ExpressionParser.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[22/27] Compiling SwiftParsec CharacterConversion.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[23/27] Compiling SwiftParsec CharacterMembership.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[24/27] Compiling SwiftParsec CharacterParsers.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[25/27] Compiling SwiftParsec TokenParser.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[26/27] Compiling SwiftParsec UInt16.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
[27/27] Compiling SwiftParsec UnicodeScalar.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:8:15: error: no such module 'Foundation'
 6 | //==============================================================================
 7 |
 8 | import struct Foundation.CharacterSet
   |               `- error: no such module 'Foundation'
 9 |
10 | #if _runtime(_ObjC)
BUILD FAILURE 6.2 wasm