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-sharing, reference 2.7.4 (3bfc40), with Swift 6.2 for Wasm on 15 Sep 2025 20:53:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/pointfreeco/swift-sharing.git
Reference: 2.7.4
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/pointfreeco/swift-sharing
 * tag               2.7.4      -> FETCH_HEAD
HEAD is now at 3bfc408 Cut down on calls to `withMutation` (#192)
Cloned https://github.com/pointfreeco/swift-sharing.git
Revision (git rev-parse @):
3bfc408cc2d0bee2287c174da6b1c76768377818
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swift-sharing.git at 2.7.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pointfreeco/swift-sharing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-perception
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-identified-collections
[1/2094] Fetching swift-docc-plugin
[232/6692] Fetching swift-docc-plugin, swift-custom-dump
[2001/8537] Fetching swift-docc-plugin, swift-custom-dump, swift-perception
[2712/10071] Fetching swift-docc-plugin, swift-custom-dump, swift-perception, swift-identified-collections
[3339/16405] Fetching swift-docc-plugin, swift-custom-dump, swift-perception, swift-identified-collections, swift-dependencies
[8625/21904] Fetching swift-docc-plugin, swift-custom-dump, swift-perception, swift-identified-collections, swift-dependencies, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-perception from cache (0.55s)
[10373/20059] Fetching swift-docc-plugin, swift-custom-dump, swift-identified-collections, swift-dependencies, xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.69s)
[13588/17965] Fetching swift-custom-dump, swift-identified-collections, swift-dependencies, xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.86s)
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (0.86s)
[9918/12711] Fetching swift-dependencies, xctest-dynamic-overlay, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.03s)
[4893/6377] Fetching xctest-dynamic-overlay, swift-concurrency-extras
[6378/8794] Fetching xctest-dynamic-overlay, swift-concurrency-extras, combine-schedulers
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.51s)
[5669/7916] Fetching xctest-dynamic-overlay, combine-schedulers
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.55s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.51s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (2.19s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.66s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 1.1.1 (0.64s)
Fetching https://github.com/apple/swift-collections
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.75s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (2.46s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3527] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.64s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (2.83s)
Computing version for https://github.com/pointfreeco/swift-perception
Computed https://github.com/pointfreeco/swift-perception at 2.0.7 (1.00s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71917] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.34s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (7.33s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (1.38s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.4 (0.89s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1292] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.91s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.44s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/swift-perception
Working copy of https://github.com/pointfreeco/swift-perception resolved at 2.0.7
Creating working copy for https://github.com/pointfreeco/swift-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 1.1.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
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-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.4
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/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/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/24] Write sources
[5/24] Copying PrivacyInfo.xcprivacy
[5/24] Write sources
[19/24] Write swift-version-24593BA9C3E375BF.txt
[21/55] Emitting module IssueReportingPackageSupport
[22/55] Compiling IssueReportingPackageSupport _Test.swift
[24/56] Emitting module Sharing2
[25/56] Compiling Sharing2 Empty.swift
[27/57] Compiling ConcurrencyExtras Result.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[28/57] Compiling ConcurrencyExtras MainSerialExecutor.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[29/58] Compiling ConcurrencyExtras UncheckedSendable.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[30/58] Emitting module InternalCollectionsUtilities
[31/58] Compiling ConcurrencyExtras ActorIsolated.swift
[32/58] Compiling ConcurrencyExtras AnyHashableSendable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/58] Compiling ConcurrencyExtras AsyncStream.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[34/58] Compiling ConcurrencyExtras AsyncThrowingStream.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[35/58] Emitting module ConcurrencyExtras
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[38/59] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[39/59] Emitting module Sharing1
[40/59] Compiling Sharing1 Empty.swift
[41/60] Compiling ConcurrencyExtras LockIsolated.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[42/60] Compiling ConcurrencyExtras Locking.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[43/60] Compiling ConcurrencyExtras UncheckedBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[44/60] Compiling ConcurrencyExtras Task.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
[49/60] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[50/60] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[51/60] Compiling InternalCollectionsUtilities Descriptions.swift
[52/60] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[53/60] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[54/60] Compiling InternalCollectionsUtilities _SortedCollection.swift
[54/60] Wrapping AST for IssueReportingPackageSupport for debugging
[57/82] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[58/82] Compiling IssueReporting TestContext.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String? {
[59/82] Compiling IssueReporting Unimplemented.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String? {
[60/82] Compiling IssueReporting XCTest.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String? {
[61/82] Compiling IssueReporting IsTesting.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String? {
[62/83] Compiling IssueReporting IssueReporter.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String? {
BUILD FAILURE 6.2 wasm