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 SwiftCBOR, reference 0.4.0 (0b01ca), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 13:44:28 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/MasterJ93/SwiftCBOR.git
Reference: 0.4.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/MasterJ93/SwiftCBOR
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 0b01caa Switch to Apple's version of swift-collections
Cloned https://github.com/MasterJ93/SwiftCBOR.git
Revision (git rev-parse @):
0b01caa633889f6d64f73f1c01607358d36fe6e6
SUCCESS checkout https://github.com/MasterJ93/SwiftCBOR.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MasterJ93/SwiftCBOR.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/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.14s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[12/24] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[13/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[14/25] Compiling InternalCollectionsUtilities Integer rank.swift
[15/25] Emitting module InternalCollectionsUtilities
[16/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[17/25] Compiling InternalCollectionsUtilities Descriptions.swift
[18/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/25] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/25] Compiling InternalCollectionsUtilities Debugging.swift
[27/300] Compiling HashTreeCollections _HashNode+Storage.swift
[28/300] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[29/302] Compiling HeapModule Heap.swift
[30/302] Compiling HeapModule _HeapNode.swift
[31/302] Compiling HashTreeCollections TreeSet+Collection.swift
[32/302] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[33/302] Compiling HeapModule Heap+Invariants.swift
[34/302] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[35/302] Compiling HeapModule Heap+Descriptions.swift
[36/302] Compiling HeapModule Heap+UnsafeHandle.swift
[37/302] Emitting module HeapModule
[38/303] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[39/303] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[40/303] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[41/303] Compiling HashTreeCollections _HashNode.swift
[42/303] Compiling HashTreeCollections _HashNodeHeader.swift
[43/303] Compiling HashTreeCollections _HashSlot.swift
[44/303] Compiling HashTreeCollections _HashStack.swift
[45/303] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[46/303] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[47/303] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[48/303] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[49/303] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[50/303] Compiling HashTreeCollections _HashNode+Structural union.swift
[51/303] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[53/310] Compiling HashTreeCollections TreeSet+Debugging.swift
[54/310] Compiling HashTreeCollections TreeSet+Descriptions.swift
[55/310] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[56/310] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[57/310] Compiling HashTreeCollections TreeSet+Equatable.swift
[58/310] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[59/310] Compiling HashTreeCollections TreeSet+Extras.swift
[60/310] Compiling HashTreeCollections TreeSet+Filter.swift
[61/310] Compiling DequeModule _DequeSlot.swift
[62/310] Compiling DequeModule _UnsafeWrappedBuffer.swift
[63/310] Compiling HashTreeCollections _Hash.swift
[64/310] Compiling HashTreeCollections _HashLevel.swift
[65/310] Compiling HashTreeCollections _HashNode+Builder.swift
[66/310] Compiling HashTreeCollections _HashNode+Debugging.swift
[67/310] Compiling HashTreeCollections _HashNode+Initializers.swift
[68/310] Compiling HashTreeCollections _HashNode+Invariants.swift
[69/310] Compiling HashTreeCollections _HashNode+Lookups.swift
[70/310] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[71/310] Compiling HashTreeCollections _HashTreeIterator.swift
[72/310] Compiling HashTreeCollections _HashTreeStatistics.swift
[73/310] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[74/310] Compiling HashTreeCollections _RawHashNode.swift
[75/310] Compiling HashTreeCollections _UnmanagedHashNode.swift
[76/310] Compiling HashTreeCollections _UnsafePath.swift
[77/310] Compiling HashTreeCollections TreeDictionary+Codable.swift
[78/310] Compiling HashTreeCollections TreeDictionary+Collection.swift
[101/317] Compiling BitCollections BitSet.swift
[102/317] Compiling BitCollections Range+Utilities.swift
[103/317] Compiling BitCollections Slice+Utilities.swift
[104/317] Compiling BitCollections UInt+Tricks.swift
[105/317] Compiling BitCollections _Word.swift
[106/317] Compiling OrderedCollections OrderedSet.swift
[107/317] Compiling OrderedCollections _UnsafeBitset.swift
[108/317] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[109/317] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[110/317] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[111/317] Compiling HashTreeCollections TreeDictionary.swift
[112/317] Compiling HashTreeCollections TreeSet+Codable.swift
[121/317] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[122/317] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[123/317] Compiling HashTreeCollections TreeDictionary+Filter.swift
[124/317] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[125/317] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[126/317] Compiling HashTreeCollections TreeDictionary+Keys.swift
[127/317] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[128/317] Compiling HashTreeCollections TreeDictionary+Merge.swift
[129/317] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[130/317] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[131/317] Compiling HashTreeCollections TreeDictionary+Values.swift
[141/327] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[142/327] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[143/327] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[144/327] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[145/327] Compiling HashTreeCollections _HashNode+Structural merge.swift
[146/327] Compiling HashTreeCollections _AncestorHashSlots.swift
[147/327] Compiling HashTreeCollections _Bitmap.swift
[148/327] Compiling HashTreeCollections _Bucket.swift
[156/327] Emitting module DequeModule
[191/337] Compiling _RopeModule _CharacterRecognizer.swift
[192/337] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[193/337] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[194/337] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[195/337] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[196/337] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[197/337] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[198/337] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[199/337] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[200/337] Compiling HashTreeCollections TreeSet.swift
[209/337] Emitting module BitCollections
[241/337] Compiling BitCollections BitSet.Index.swift
[242/337] Compiling BitCollections BitSet._UnsafeHandle.swift
[265/338] Emitting module OrderedCollections
[310/339] Emitting module _RopeModule
[311/339] Emitting module HashTreeCollections
[312/340] Compiling _RopeModule Rope+Join.swift
[313/340] Compiling _RopeModule Rope+MutatingForEach.swift
[314/340] Compiling _RopeModule Rope+Remove.swift
[315/340] Compiling _RopeModule Rope+RemoveSubrange.swift
[316/340] Compiling _RopeModule Rope+Split.swift
[317/340] Compiling _RopeModule Optional Utilities.swift
[318/340] Compiling _RopeModule String Utilities.swift
[319/340] Compiling _RopeModule String.Index+ABI.swift
[342/343] Emitting module Collections
[343/343] Compiling Collections Collections.swift
[345/360] Compiling SwiftCBOR CBORInputStream.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[346/360] Compiling SwiftCBOR CBOROptions.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[347/362] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[348/362] Compiling SwiftCBOR Util.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[349/362] Emitting module SwiftCBOR
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[350/362] Compiling SwiftCBOR CodableCBORDecoder.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[351/362] Compiling SwiftCBOR KeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[352/362] Compiling SwiftCBOR SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[353/362] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[354/362] Compiling SwiftCBOR SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[355/362] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[356/362] Compiling SwiftCBOR CodableCBOREncoder.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[357/362] Compiling SwiftCBOR KeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[358/362] Compiling SwiftCBOR AnyCodingKey.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[359/362] Compiling SwiftCBOR CBOR.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[360/362] Compiling SwiftCBOR CBORDecoder.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[361/362] Compiling SwiftCBOR CBOREncodable.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[362/362] Compiling SwiftCBOR CBOREncoder.swift
/host/spi-builder-workspace/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
BUILD FAILURE 6.2 wasm