Build Information
Failed to build swift-pid, reference 0.0.3 (3f524e
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 01:00:56 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/ryanashcraft/swift-pid.git
Reference: 0.0.3
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/ryanashcraft/swift-pid
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at 3f524ec Rename product
Cloned https://github.com/ryanashcraft/swift-pid.git
Revision (git rev-parse @):
3f524ecc12bd519f27cbbc73b986be4d60351e91
SUCCESS checkout https://github.com/ryanashcraft/swift-pid.git at 0.0.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ryanashcraft/swift-pid.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.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.63s)
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 _UniqueCollection.swift
[12/24] Compiling InternalCollectionsUtilities Debugging.swift
[13/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/25] Compiling InternalCollectionsUtilities Descriptions.swift
[15/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[16/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[17/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[18/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[19/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[22/25] Compiling InternalCollectionsUtilities Integer rank.swift
[23/25] Emitting module InternalCollectionsUtilities
[24/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[25/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[27/300] Compiling BitCollections BitSet+CustomStringConvertible.swift
[28/300] Compiling BitCollections BitSet+Equatable.swift
[29/302] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[30/302] Compiling HashTreeCollections _HashNode+Storage.swift
[31/302] Compiling HeapModule _HeapNode.swift
[32/302] Compiling HeapModule Heap.swift
[33/302] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[34/302] Compiling BitCollections BitSet+Extras.swift
[35/302] Compiling HeapModule Heap+Invariants.swift
[36/302] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[37/302] Compiling HeapModule Heap+Descriptions.swift
[38/302] Compiling HeapModule Heap+UnsafeHandle.swift
[39/302] Emitting module HeapModule
[41/303] Compiling BitCollections BitSet+Hashable.swift
[42/303] Compiling BitCollections BitArray+RandomBits.swift
[43/303] Compiling DequeModule _DequeSlot.swift
[44/303] Compiling DequeModule _UnsafeWrappedBuffer.swift
[45/303] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[46/303] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[47/303] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[48/303] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[49/303] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[50/303] Compiling HashTreeCollections _HashNode+Structural merge.swift
[51/303] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[52/310] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[53/310] Compiling HashTreeCollections TreeSet+Debugging.swift
[54/310] Compiling HashTreeCollections TreeSet+Descriptions.swift
[55/310] Compiling HashTreeCollections TreeSet+Equatable.swift
[56/310] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[57/310] Compiling HashTreeCollections TreeSet+Extras.swift
[58/310] Compiling HashTreeCollections TreeSet+Filter.swift
[59/310] Emitting module BitCollections
[60/317] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[61/317] Compiling BitCollections BitSet+CustomReflectable.swift
[67/317] Compiling BitCollections BitArray+Testing.swift
[68/317] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[69/317] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[70/317] Compiling BitCollections BitArray+Shifts.swift
[71/317] Compiling HashTreeCollections TreeDictionary+Codable.swift
[72/317] Compiling HashTreeCollections TreeDictionary+Collection.swift
[73/317] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[74/317] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[75/317] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[76/317] Compiling HashTreeCollections TreeDictionary.swift
[77/317] Compiling HashTreeCollections TreeSet+Codable.swift
[78/317] Compiling HashTreeCollections TreeSet+Collection.swift
[79/317] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[80/317] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[81/317] Compiling HashTreeCollections TreeDictionary+Filter.swift
[82/317] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[83/317] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[84/317] Compiling HashTreeCollections TreeDictionary+Keys.swift
[85/317] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[86/317] Compiling HashTreeCollections TreeDictionary+Merge.swift
[87/317] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[88/317] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[89/317] Compiling HashTreeCollections TreeDictionary+Values.swift
[92/327] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[93/327] Compiling HashTreeCollections _HashNode+Structural union.swift
[94/327] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[95/327] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[96/327] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[97/327] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[98/327] Compiling HashTreeCollections _HashNode.swift
[99/327] Compiling HashTreeCollections _HashNodeHeader.swift
[130/327] Compiling HashTreeCollections _UnsafePath.swift
[137/327] Emitting module DequeModule
[142/328] Compiling BitCollections BitSet.Index.swift
[143/328] Compiling BitCollections BitSet._UnsafeHandle.swift
[144/328] Compiling BitCollections BitSet.swift
[145/328] Compiling BitCollections Range+Utilities.swift
[146/328] Compiling BitCollections Slice+Utilities.swift
[147/328] Compiling BitCollections UInt+Tricks.swift
[158/337] Compiling _RopeModule _CharacterRecognizer.swift
[159/337] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[160/337] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[161/337] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[162/337] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[163/337] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[164/337] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[165/337] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[166/337] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[167/337] Compiling HashTreeCollections TreeSet.swift
[172/337] Compiling BitCollections _Word.swift
[173/337] Compiling OrderedCollections OrderedSet.swift
[174/337] Compiling OrderedCollections _UnsafeBitset.swift
[175/337] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[176/337] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[177/337] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[188/337] Compiling HashTreeCollections _HashTreeIterator.swift
[189/337] Compiling HashTreeCollections _HashTreeStatistics.swift
[190/337] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[191/337] Compiling HashTreeCollections _RawHashNode.swift
[192/337] Compiling HashTreeCollections _UnmanagedHashNode.swift
[218/337] Compiling HashTreeCollections _HashSlot.swift
[219/337] Compiling HashTreeCollections _HashStack.swift
[266/338] Emitting module OrderedCollections
[289/339] Emitting module _RopeModule
[301/339] Emitting module HashTreeCollections
[303/340] Compiling _RopeModule Rope+Join.swift
[304/340] Compiling _RopeModule Rope+MutatingForEach.swift
[305/340] Compiling _RopeModule Rope+Remove.swift
[306/340] Compiling _RopeModule Rope+RemoveSubrange.swift
[307/340] Compiling _RopeModule Rope+Split.swift
[308/340] Compiling _RopeModule Optional Utilities.swift
[309/340] Compiling _RopeModule String Utilities.swift
[310/340] Compiling _RopeModule String.Index+ABI.swift
[342/343] Compiling Collections Collections.swift
[343/343] Emitting module Collections
error: emit-module command failed with exit code 1 (use -v to see invocation)
[345/347] Emitting module PID
/host/spi-builder-workspace/Sources/Swift-PID/PIDController.swift:2:8: error: no such module 'Foundation'
1 | import Collections
2 | import Foundation
| `- error: no such module 'Foundation'
3 |
4 | public class PIDController {
[346/347] Compiling PID PIDController.swift
/host/spi-builder-workspace/Sources/Swift-PID/PIDController.swift:2:8: error: no such module 'Foundation'
1 | import Collections
2 | import Foundation
| `- error: no such module 'Foundation'
3 |
4 | public class PIDController {
[347/347] Compiling PID RateLimitPIDController.swift
/host/spi-builder-workspace/Sources/Swift-PID/PIDController.swift:2:8: error: no such module 'Foundation'
1 | import Collections
2 | import Foundation
| `- error: no such module 'Foundation'
3 |
4 | public class PIDController {
BUILD FAILURE 6.2 wasm