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 Subtweak, reference main (5ceadc), with Swift 6.2 (beta) for Wasm on 13 Aug 2025 22:31:02 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.66.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/juri/subtweak.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/juri/subtweak
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5ceadc4 Try disabling setup-swift
Cloned https://github.com/juri/subtweak.git
Revision (git rev-parse @):
5ceadc45871dd781a128ec104b3d1c482b22cf21
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/juri/subtweak.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/juri/subtweak.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/pointfreeco/swift-custom-dump.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/pointfreeco/swift-parsing.git
[1/4577] Fetching swift-custom-dump
[4578/20207] Fetching swift-custom-dump, swift-argument-parser
[20208/118114] Fetching swift-custom-dump, swift-argument-parser, swift-parsing
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (7.75s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (7.76s)
Fetched https://github.com/pointfreeco/swift-parsing.git from cache (7.86s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.3.3 (8.20s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5505] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.63s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.04s)
Computing version for https://github.com/pointfreeco/swift-parsing.git
Computed https://github.com/pointfreeco/swift-parsing.git at 0.14.1 (0.32s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/4396] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.29s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.64s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.7.1 (2.21s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71736] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.97s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (8.52s)
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.6.1
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/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-parsing.git
Working copy of https://github.com/pointfreeco/swift-parsing.git resolved at 0.14.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/64] Write sources
[30/64] Compiling _SwiftSyntaxCShims dummy.c
[31/64] Write swift-version-24593BA9C3E375BF.txt
[33/78] Emitting module SwiftSyntax601
[34/78] Emitting module SwiftSyntax509
[35/78] Compiling SwiftSyntax509 Empty.swift
[36/79] Compiling SwiftSyntax600 Empty.swift
[37/79] Emitting module SwiftSyntax600
[40/80] Compiling SwiftSyntax510 Empty.swift
[41/80] Compiling SwiftSyntax601 Empty.swift
[42/80] Emitting module SwiftSyntax510
[42/82] Wrapping AST for SwiftSyntax509 for debugging
[45/82] Wrapping AST for SwiftSyntax600 for debugging
[47/82] Compiling IssueReportingPackageSupport _Test.swift
[48/82] Emitting module IssueReportingPackageSupport
[48/83] Wrapping AST for SwiftSyntax601 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/83] Emitting module Subtitles
/host/spi-builder-workspace/Sources/Subtitles/Subtitle.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A subtitle.
[51/83] Compiling Subtitles Subtitle.swift
/host/spi-builder-workspace/Sources/Subtitles/Subtitle.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A subtitle.
[51/83] Wrapping AST for SwiftSyntax510 for debugging
BUILD FAILURE 6.2 wasm