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 main (9ca906), 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-4609320-1":/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: 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/GoodHatsLLC/StateTree
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9ca9066 Update .pre-commit-config.yaml
Cloned https://github.com/GoodHatsLLC/StateTree.git
Revision (git rev-parse @):
9ca9066f55f50da7952195c7eb8866f7fdd838ad
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GoodHatsLLC/StateTree.git at main
========================================
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-4609320-1":/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/Disposable.git
Fetching https://github.com/GoodHatsLLC/Emitter.git
Fetching https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git
[1/926] Fetching emitter
[927/1200] Fetching emitter, disposable
[1201/10099] Fetching emitter, disposable, swift-collections-v1_1-fork
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (0.69s)
Fetched https://github.com/GoodHatsLLC/Emitter.git from cache (0.69s)
Fetched https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git from cache (0.71s)
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.39s)
Computing version for https://github.com/GoodHatsLLC/Emitter.git
Computed https://github.com/GoodHatsLLC/Emitter.git at 1.0.0 (0.38s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (0.32s)
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/Disposable.git
Working copy of https://github.com/GoodHatsLLC/Disposable.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 _CollectionsUtilities
[16/45] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[17/45] Compiling _CollectionsUtilities UInt+reversed.swift
[18/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
[19/46] Compiling _CollectionsUtilities Descriptions.swift
[20/46] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[21/46] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[22/46] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/46] Compiling _CollectionsUtilities Integer rank.swift
[24/46] Emitting module TreeActor
[25/46] Compiling TreeActor TreeActor.swift
[26/47] 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
[28/47] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/47] Compiling _CollectionsUtilities Array+WithContiguousStorage Compatibility.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
[31/47] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.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/47] 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/47] 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
[34/47] 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
[35/47] 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
[36/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
[37/47] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[38/47] Compiling _CollectionsUtilities _SortedCollection.swift
[39/47] Compiling _CollectionsUtilities _UniqueCollection.swift
[40/47] Compiling _CollectionsUtilities Debugging.swift
[41/47] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[42/47] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[43/47] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/47] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
BUILD FAILURE 6.2 wasm