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-binary-parsing, reference main (7c3165), with Swift 6.2 (beta) for Wasm on 9 Sep 2025 03:22:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-binary-parsing.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/apple/swift-binary-parsing
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7c3165b Don't use the prebuilt swift-syntax binary (#33)
Cloned https://github.com/apple/swift-binary-parsing.git
Revision (git rev-parse @):
7c3165bb804b844b191b3dc95cb8cedafe6e005e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-binary-parsing.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-binary-parsing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
[1/2094] Fetching swift-docc-plugin
[2/3002] Fetching swift-docc-plugin, swift-macro-testing
[1140/18742] Fetching swift-docc-plugin, swift-macro-testing, swift-argument-parser
[18743/90615] Fetching swift-docc-plugin, swift-macro-testing, swift-argument-parser, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.72s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
[11689/72781] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (4.75s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.81s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (8.20s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.3 (0.54s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15372] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (3.47s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3507] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (0.42s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.36s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.72s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5499] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (1.03s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
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/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.6
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.3
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/56] Write sources
[28/56] Compiling _SwiftSyntaxCShims dummy.c
[29/56] Copying Data
[31/56] Write swift-version-24593BA9C3E375BF.txt
[33/70] Emitting module SwiftSyntax510
[34/70] Emitting module SwiftSyntax509
[35/70] Emitting module SwiftSyntax600
[36/70] Compiling SwiftSyntax600 Empty.swift
[38/71] Compiling SwiftSyntax509 Empty.swift
[39/72] Wrapping AST for SwiftSyntax600 for debugging
[41/72] Compiling SwiftSyntax510 Empty.swift
[41/73] Wrapping AST for SwiftSyntax509 for debugging
[43/73] Wrapping AST for SwiftSyntax510 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/137] Emitting module TestData
/host/spi-builder-workspace/Sources/TestData/LoadTestData.swift:12:8: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | import Foundation
   |        `- error: no such module 'Foundation'
13 |
14 | public func testData(named name: String) -> Data? {
[46/137] Compiling TestData resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TestData/LoadTestData.swift:12:8: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | import Foundation
   |        `- error: no such module 'Foundation'
13 |
14 | public func testData(named name: String) -> Data? {
[47/137] Compiling TestData LoadTestData.swift
/host/spi-builder-workspace/Sources/TestData/LoadTestData.swift:12:8: error: no such module 'Foundation'
10 | //===----------------------------------------------------------------------===//
11 |
12 | import Foundation
   |        `- error: no such module 'Foundation'
13 |
14 | public func testData(named name: String) -> Data? {
[48/137] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm