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 StateTree, reference v0.1.1 (d35898), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 15:04:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/GoodHatsLLC/StateTree.git
Reference: v0.1.1
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/GoodHatsLLC/StateTree
 * tag               v0.1.1     -> FETCH_HEAD
HEAD is now at d358988 documentation and dependency API improvements
Cloned https://github.com/GoodHatsLLC/StateTree.git
Revision (git rev-parse @):
d3589880e6dae493f6a531073c013c5a651f2b58
SUCCESS checkout https://github.com/GoodHatsLLC/StateTree.git at v0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/GoodHatsLLC/StateTree.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/GoodHatsLLC/Emitter.git
Fetching https://github.com/GoodHatsLLC/Disposable.git
Fetching https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git
[1/274] Fetching disposable
[275/1200] Fetching disposable, emitter
[1201/10099] Fetching disposable, emitter, swift-collections-v1_1-fork
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (0.36s)
[1727/9825] Fetching emitter, swift-collections-v1_1-fork
Fetched https://github.com/GoodHatsLLC/Emitter.git from cache (0.92s)
Fetched https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git from cache (0.94s)
Computing version for https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git
Computed https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git at 1.1.0 (1.73s)
Computing version for https://github.com/GoodHatsLLC/Emitter.git
Computed https://github.com/GoodHatsLLC/Emitter.git at 1.0.0 (0.39s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (0.40s)
Creating working copy for https://github.com/GoodHatsLLC/Disposable.git
Working copy of https://github.com/GoodHatsLLC/Disposable.git resolved at 1.0.0
Creating working copy for https://github.com/GoodHatsLLC/Emitter.git
Working copy of https://github.com/GoodHatsLLC/Emitter.git resolved at 1.0.0
Creating working copy for https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git
Working copy of https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git resolved at 1.1.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/43] Emitting module TreeActor
[16/43] Compiling _CollectionsUtilities Descriptions.swift
[17/43] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[18/45] Emitting module _CollectionsUtilities
[19/45] Compiling _CollectionsUtilities Array+WithContiguousStorage Compatibility.swift
[20/45] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[21/45] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[22/45] Compiling _CollectionsUtilities _UniqueCollection.swift
[23/45] Compiling _CollectionsUtilities Debugging.swift
[24/45] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[25/45] Compiling _CollectionsUtilities _SortedCollection.swift
[26/45] Compiling Disposable ErasedDisposable.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[27/45] Compiling Disposable DisposableStage.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[28/45] Compiling Disposable Locked.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[29/46] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[30/46] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/46] Compiling Disposable Disposable.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[32/46] Emitting module Disposable
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[33/46] Compiling Disposable DisposableBuilder.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[35/46] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[38/46] Compiling TreeActor TreeActor.swift
[40/47] Compiling Disposable Task.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/ConvenienceStages.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // MARK: - Disposables.stages
[42/47] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[43/47] Compiling _CollectionsUtilities Integer rank.swift
[44/47] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[45/47] Compiling _CollectionsUtilities UInt+reversed.swift
[46/47] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/47] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
BUILD FAILURE 6.2 wasm