The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-snapshot-testing, reference 1.2.0 (b71a65), with Swift 6.2 for Wasm on 14 Feb 2026 02:33:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/snapshot-testing/swift-snapshot-testing.git
Reference: 1.2.0
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/snapshot-testing/swift-snapshot-testing
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at b71a657 Fix Linux Builds (#4)
Cloned https://github.com/snapshot-testing/swift-snapshot-testing.git
Revision (git rev-parse @):
b71a65781992ae8238c9d2e4f5965d5b0d634510
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/snapshot-testing/swift-snapshot-testing.git at 1.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/snapshot-testing/swift-snapshot-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/snapshot-testing/xc-snapshot-testing
[1/831] Fetching xc-snapshot-testing
[608/74999] Fetching xc-snapshot-testing, swift-syntax
Fetched https://github.com/snapshot-testing/xc-snapshot-testing from cache (1.17s)
[8901/74168] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (10.84s)
Computing version for https://github.com/snapshot-testing/xc-snapshot-testing
Computed https://github.com/snapshot-testing/xc-snapshot-testing at 1.2.0 (11.75s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/o-nnerb/swift-async-stream
[1/255] Fetching swift-async-stream
[221/5539] Fetching swift-async-stream, swift-custom-dump
Fetched https://github.com/o-nnerb/swift-async-stream from cache (0.36s)
[846/5284] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.62s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (1.28s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.16s)
Computing version for https://github.com/o-nnerb/swift-async-stream
Computed https://github.com/o-nnerb/swift-async-stream at 1.3.2 (1.88s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.16s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.70s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/snapshot-testing/xc-snapshot-testing
Working copy of https://github.com/snapshot-testing/xc-snapshot-testing resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/o-nnerb/swift-async-stream
Working copy of https://github.com/o-nnerb/swift-async-stream resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.65s)
Building for debugging...
[0/22] Write sources
[20/22] Compiling _SwiftSyntaxCShims PlatformMutex.c
[21/22] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/36] Emitting module IssueReportingPackageSupport
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
[24/36] Emitting module SwiftSyntax600
[25/37] Emitting module SwiftSyntax510
[26/37] Emitting module SwiftSyntax602
[27/37] Emitting module SwiftSyntax509
[28/40] Emitting module SwiftSyntax601
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/41] Emitting module SwiftAsyncStream
/host/spi-builder-workspace/.build/checkouts/swift-async-stream/Sources/SwiftAsyncStream/Async/AsyncLock.swift:4:8: error: no such module 'Foundation'
  2 | // SPDX-License-Identifier: Apache-2.0
  3 |
  4 | import Foundation
    |        `- error: no such module 'Foundation'
  5 |
  6 | /// A synchronization primitive that provides mutual exclusion for asynchronous operations.
[35/41] Compiling IssueReportingPackageSupport _Test.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
[36/41] Compiling SwiftSyntax510 Empty.swift
BUILD FAILURE 6.2 wasm