The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VelocitySampler, reference main (10715d), with Swift 6.2 for Wasm on 23 Jun 2025 03:46:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/harlanhaskins/VelocitySampler.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/harlanhaskins/VelocitySampler
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10715df Update VelocitySampler.swift
Cloned https://github.com/harlanhaskins/VelocitySampler.git
Revision (git rev-parse @):
10715dfd3e6d12f3a258acaa211c319bb9d047f2
SUCCESS checkout https://github.com/harlanhaskins/VelocitySampler.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/harlanhaskins/VelocitySampler.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.34s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (2.60s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[12/24] Compiling InternalCollectionsUtilities Debugging.swift
[13/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[16/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[17/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/25] Compiling InternalCollectionsUtilities Integer rank.swift
[19/25] Emitting module InternalCollectionsUtilities
[20/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/25] Compiling InternalCollectionsUtilities Descriptions.swift
[23/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[24/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[25/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[27/186] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[28/300] Compiling HeapModule Heap+Descriptions.swift
[29/300] Compiling HeapModule _HeapNode.swift
[30/300] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[31/300] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[32/302] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[33/302] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[34/302] Compiling HeapModule Heap+Invariants.swift
[35/302] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[36/302] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[37/302] Compiling HeapModule Heap+UnsafeHandle.swift
[38/302] Compiling HeapModule Heap.swift
[39/302] Emitting module HeapModule
[41/303] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[42/303] Compiling OrderedCollections OrderedSet+Initializers.swift
[43/303] Compiling DequeModule _DequeSlot.swift
[44/303] Compiling DequeModule _UnsafeWrappedBuffer.swift
[45/303] Compiling OrderedCollections OrderedSet+Codable.swift
[46/303] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[47/303] Compiling OrderedCollections OrderedSet+Descriptions.swift
[48/303] Compiling OrderedCollections OrderedSet+Diffing.swift
[49/303] Compiling OrderedCollections OrderedSet+Equatable.swift
[50/303] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[51/303] Compiling OrderedCollections OrderedSet+Hashable.swift
[52/310] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[53/310] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[67/317] Compiling HashTreeCollections _HashLevel.swift
[68/317] Compiling HashTreeCollections _HashNode+Builder.swift
[69/317] Compiling HashTreeCollections _HashNode+Debugging.swift
[70/317] Compiling HashTreeCollections _HashNode+Initializers.swift
[71/317] Compiling HashTreeCollections _HashNode+Invariants.swift
[72/317] Compiling BitCollections BitSet.Index.swift
[73/317] Compiling BitCollections BitSet._UnsafeHandle.swift
[77/317] Compiling OrderedCollections OrderedSet+Insertions.swift
[78/317] Compiling OrderedCollections OrderedSet+Invariants.swift
[79/317] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[80/317] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[84/317] Compiling _RopeModule RopeElement.swift
[85/317] Compiling _RopeModule RopeMetric.swift
[86/317] Compiling _RopeModule RopeSummary.swift
[87/317] Compiling _RopeModule _RopeItem.swift
[88/317] Compiling _RopeModule _RopePath.swift
[89/317] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[90/317] Compiling _RopeModule BigString+Chunk+Breaks.swift
[91/317] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[92/317] Compiling HashTreeCollections TreeDictionary+Collection.swift
[93/317] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[94/317] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[95/317] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[96/317] Compiling HashTreeCollections _AncestorHashSlots.swift
[97/317] Compiling HashTreeCollections _Bitmap.swift
[98/317] Compiling HashTreeCollections _Bucket.swift
[99/317] Compiling HashTreeCollections _Hash.swift
[104/317] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[105/317] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[106/317] Compiling HashTreeCollections TreeDictionary+Filter.swift
[107/317] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[108/317] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[109/317] Compiling HashTreeCollections TreeDictionary+Keys.swift
[110/317] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[111/317] Compiling HashTreeCollections TreeDictionary+Merge.swift
[112/317] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[113/317] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[114/317] Compiling HashTreeCollections TreeDictionary+Values.swift
[115/327] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[116/327] Compiling HashTreeCollections _HashTreeIterator.swift
[117/327] Compiling HashTreeCollections _HashTreeStatistics.swift
[118/327] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[119/327] Compiling HashTreeCollections _RawHashNode.swift
[120/327] Compiling HashTreeCollections _UnmanagedHashNode.swift
[121/327] Compiling HashTreeCollections _UnsafePath.swift
[122/327] Compiling HashTreeCollections TreeDictionary+Codable.swift
[123/327] Emitting module DequeModule
[146/328] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[147/328] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[148/328] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[149/328] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[150/328] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[151/328] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[152/328] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[153/328] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[154/328] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[155/328] Compiling HashTreeCollections TreeSet.swift
[156/328] Emitting module BitCollections
[167/328] Compiling OrderedCollections OrderedSet+Sendable.swift
[168/328] Compiling OrderedCollections OrderedSet+SubSequence.swift
[169/328] Compiling OrderedCollections OrderedSet+Testing.swift
[170/328] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[171/328] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[215/338] Compiling OrderedCollections OrderedSet.swift
[216/338] Compiling OrderedCollections _UnsafeBitset.swift
[235/338] Emitting module OrderedCollections
[257/339] Emitting module _RopeModule
[258/339] Compiling _RopeModule Rope+Join.swift
[259/339] Compiling _RopeModule Rope+MutatingForEach.swift
[260/339] Compiling _RopeModule Rope+Remove.swift
[261/339] Compiling _RopeModule Rope+RemoveSubrange.swift
[262/339] Compiling _RopeModule Rope+Split.swift
[263/339] Compiling _RopeModule Optional Utilities.swift
[264/339] Compiling _RopeModule String Utilities.swift
[265/339] Compiling _RopeModule String.Index+ABI.swift
[266/339] Compiling _RopeModule _CharacterRecognizer.swift
[317/339] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[318/339] Compiling HashTreeCollections TreeSet+Extras.swift
[319/339] Compiling HashTreeCollections TreeSet+Filter.swift
[320/339] Emitting module HashTreeCollections
[342/343] Emitting module Collections
[343/343] Compiling Collections Collections.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[345/346] Emitting module VelocitySampler
/host/spi-builder-workspace/Sources/VelocitySampler/VelocitySampler.swift:9:15: error: no such module 'CoreGraphics'
  7 |
  8 | internal import Collections
  9 | public import CoreGraphics
    |               `- error: no such module 'CoreGraphics'
 10 | public import QuartzCore
 11 | import Foundation
[346/346] Compiling VelocitySampler VelocitySampler.swift
/host/spi-builder-workspace/Sources/VelocitySampler/VelocitySampler.swift:9:15: error: no such module 'CoreGraphics'
  7 |
  8 | internal import Collections
  9 | public import CoreGraphics
    |               `- error: no such module 'CoreGraphics'
 10 | public import QuartzCore
 11 | import Foundation
BUILD FAILURE 6.2 wasm