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-collections, reference main (b45c41), with Swift 6.2 (beta) for Wasm on 26 Jun 2025 04:20:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-collections.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/apple/swift-collections
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b45c414 Merge pull request #483 from apple/shahmishal/macos
Cloned https://github.com/apple/swift-collections.git
Revision (git rev-parse @):
b45c41445b04344ebdd2751f083e79ac128b959e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-collections.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-collections.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[12/24] Compiling InternalCollectionsUtilities Integer rank.swift
[13/24] Emitting module InternalCollectionsUtilities
[14/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/25] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/25] Compiling InternalCollectionsUtilities Debugging.swift
[17/25] Compiling InternalCollectionsUtilities Descriptions.swift
[18/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/334] Compiling HeapModule Heap+Descriptions.swift
[28/334] Compiling HeapModule _HeapNode.swift
[29/334] Compiling HeapModule Heap.swift
[30/334] Compiling BitCollections BitArray+Hashable.swift
[31/334] Compiling BitCollections BitArray+Initializers.swift
[32/336] Compiling BitCollections BitSet+Extras.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[33/336] Compiling BitCollections BitSet+Hashable.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[34/336] Compiling BitCollections BitSet+Initializers.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[35/336] Compiling BitCollections BitSet+Invariants.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[36/340] Compiling BitCollections BitSet+CustomReflectable.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[37/340] Compiling BitCollections BitSet+CustomStringConvertible.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[38/340] Compiling BitCollections BitSet+Equatable.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[39/340] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[40/340] Compiling BitCollections BitArray._UnsafeHandle.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[41/340] Compiling BitCollections BitArray.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[42/340] Compiling BitCollections BitSet+BidirectionalCollection.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[43/340] Compiling BitCollections BitSet+Codable.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[44/340] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[45/340] Compiling BitCollections BitArray+Copy.swift
[46/340] Compiling BitCollections BitArray+CustomReflectable.swift
[47/340] Compiling BitCollections BitArray+Codable.swift
[48/340] Compiling BitCollections BitArray+Collection.swift
[49/340] Compiling BitCollections BitArray+Descriptions.swift
[50/340] Compiling BitCollections BitArray+Equatable.swift
[51/340] Compiling DequeModule _UnsafeWrappedBuffer.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[52/340] Compiling BitCollections BitArray+RandomBits.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[53/340] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[54/340] Compiling BitCollections BitArray+Shifts.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[55/340] Compiling BitCollections BitArray+Testing.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[56/340] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[57/340] Compiling HeapModule Heap+Invariants.swift
[58/340] Compiling HeapModule Heap+UnsafeHandle.swift
[59/340] Compiling _CollectionsTestSupport RepeatableRandomNumberGenerator.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[60/340] Compiling _CollectionsTestSupport SetAPIChecker.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[61/340] Compiling _CollectionsTestSupport SortedCollectionAPIChecker.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[62/340] Compiling _CollectionsTestSupport StringConvertibleValue.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[63/340] Compiling BitCollections BitArray+Extras.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[64/340] Compiling BitCollections BitArray+Fill.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[67/340] Compiling DequeModule _DequeSlot.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[68/340] Compiling BitCollections BitArray+BitwiseOperations.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[69/340] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[76/340] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[77/340] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
[78/340] Emitting module HeapModule
[79/341] Compiling _RopeModule Rope+ForEachWhile.swift
[80/341] Compiling _RopeModule Rope+Insert.swift
[81/341] Compiling HashTreeCollections TreeSet+Sequence.swift
[82/341] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[83/341] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[84/341] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[85/341] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[86/341] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[87/341] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[88/341] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[89/341] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[90/341] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[91/341] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[92/341] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[93/341] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[94/341] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[95/341] Compiling BitCollections BitSet+SetAlgebra subtract.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/358] Emitting module _CollectionsTestSupport
/host/spi-builder-workspace/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift:13:8: error: no such module 'XCTest'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import XCTest
    |        `- error: no such module 'XCTest'
 14 |
 15 | public func expectFailure(
BUILD FAILURE 6.2 wasm