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 BytesParser, reference main (a09151), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 20:04:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/dagronf/BytesParser.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/dagronf/BytesParser
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a091513 Added convenience for readthrough
Cloned https://github.com/dagronf/BytesParser.git
Revision (git rev-parse @):
a091513c4059d336c8cbf0b9485fcba63bcba83a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dagronf/BytesParser.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dagronf/BytesParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.66s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.33s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.52s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.13s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/20] Compiling BytesParser ByteBuffer.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[6/20] Compiling BytesParser BytesReader+Source.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[7/20] Compiling BytesParser BytesWriter+string.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[8/20] Compiling BytesParser BytesWriter.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[9/22] Compiling BytesParser BytesWriter+bool.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[10/22] Compiling BytesParser BytesWriter+data.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[11/22] Compiling BytesParser BytesReader+string.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[12/22] Compiling BytesParser BytesReader.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[13/22] Compiling BytesParser BytesWriter+float.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[14/22] Compiling BytesParser BytesWriter+int.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[15/22] Compiling BytesParser BytesReader+float.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[16/22] Compiling BytesParser BytesReader+int.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/22] Emitting module BytesParser
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[18/22] Compiling BytesParser BytesParser.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[19/22] Compiling BytesParser BytesReader+bool.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[20/22] Compiling BytesParser BytesReader+data.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[21/22] Compiling BytesParser InMemorySource.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[22/22] Compiling BytesParser InputStreamSource.swift
/host/spi-builder-workspace/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
BUILD FAILURE 6.2 wasm