The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncChannels, reference 2.2.0 (0fed3c), with Swift 6.3 for Wasm on 13 Apr 2026 02:30:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gh123man/Async-Channels.git
Reference: 2.2.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/gh123man/Async-Channels
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at 0fed3c0 Improve benchmark harness and compare Swift 6.3 performance (#24)
Cloned https://github.com/gh123man/Async-Channels.git
Revision (git rev-parse @):
0fed3c0a90214bfd8cf129d091e648b1b516b6da
SUCCESS checkout https://github.com/gh123man/Async-Channels.git at 2.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/gh123man/Async-Channels.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-collections
[1/23525] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.54s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (2.21s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/29] Emitting module InternalCollectionsUtilities
[13/31] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[14/31] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[15/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/31] Compiling InternalCollectionsUtilities Integer rank.swift
[18/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/31] Compiling InternalCollectionsUtilities Debugging.swift
[21/31] Compiling InternalCollectionsUtilities Descriptions.swift
[22/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[24/31] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/31] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[26/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/31] Compiling InternalCollectionsUtilities Span+Extras.swift
[28/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/31] Compiling InternalCollectionsUtilities String+Padding.swift
[31/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/130] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[34/130] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[35/130] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[36/130] Compiling OrderedCollections OrderedDictionary+Values.swift
[37/130] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[38/130] Emitting module ContainersPreview
[39/130] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[40/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[41/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[42/130] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[43/138] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[44/138] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[45/138] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[46/138] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[47/138] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[48/138] Compiling OrderedCollections OrderedSet+Initializers.swift
[49/138] Compiling OrderedCollections OrderedSet+Insertions.swift
[50/138] Compiling OrderedCollections OrderedSet+Invariants.swift
[51/138] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[52/138] Compiling BitCollections BitArray+Copy.swift
[53/138] Compiling BitCollections BitArray+CustomReflectable.swift
[54/138] Compiling BitCollections BitArray+Descriptions.swift
[55/138] Compiling OrderedCollections OrderedDictionary+Codable.swift
[56/138] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[57/138] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[58/138] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[59/138] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[60/138] Compiling OrderedCollections OrderedDictionary+Elements.swift
[61/138] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[62/142] Compiling HeapModule _HeapNode.swift
[63/142] Compiling HeapModule Heap+Descriptions.swift
[64/142] Compiling HeapModule Heap.swift
[65/177] Compiling BitCollections BinaryInteger extensions.swift
[66/177] Compiling BitCollections BitArray+BitwiseOperations.swift
[67/177] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[68/177] Compiling BitCollections BitArray+Codable.swift
[69/177] Compiling BitCollections BitArray+Collection.swift
[70/187] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[71/187] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[72/187] Compiling BitCollections BitArray+Extras.swift
[73/187] Compiling BitCollections BitArray+Fill.swift
[74/188] Compiling HeapModule Heap+Invariants.swift
[75/188] Compiling HeapModule Heap+UnsafeHandle.swift
[77/188] Emitting module HeapModule
[79/190] Compiling BitCollections BitArray+Equatable.swift
[84/190] Compiling BitCollections BitArray+Hashable.swift
[85/190] Compiling BitCollections BitArray+Initializers.swift
[86/190] Compiling BitCollections BitArray+Invariants.swift
[87/190] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[88/190] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[89/190] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[90/190] Compiling BitCollections BitSet+SetAlgebra union.swift
[91/190] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[92/190] Compiling BitCollections BitSet.Counted.swift
[93/190] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[101/190] Compiling BitCollections BitSet+Codable.swift
[102/190] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[103/190] Compiling BitCollections BitSet+CustomReflectable.swift
[104/190] Compiling BitCollections BitSet+CustomStringConvertible.swift
[105/190] Compiling BitCollections BitSet+Equatable.swift
[106/190] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[107/190] Compiling BitCollections BitSet+Extras.swift
[108/190] Compiling BitCollections BitSet+Hashable.swift
[109/197] Compiling BitCollections BitSet+Initializers.swift
[110/197] Compiling BitCollections BitSet+Invariants.swift
[111/197] Compiling BitCollections BitSet+Random.swift
[112/197] Compiling BitCollections BitSet+SetAlgebra basics.swift
[113/197] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[114/197] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[115/197] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[116/285] Emitting module BitCollections
[117/387] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[118/387] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[119/387] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[120/387] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[121/387] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[122/387] Compiling HashTreeCollections _HashNode+Structural merge.swift
[123/387] Compiling HashTreeCollections _HashTreeIterator.swift
[124/387] Compiling HashTreeCollections _HashTreeStatistics.swift
[125/387] Compiling HashTreeCollections TreeSet+Equatable.swift
[126/387] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[127/387] Compiling HashTreeCollections TreeSet+Extras.swift
[128/387] Compiling HashTreeCollections TreeSet+Filter.swift
[129/387] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[130/387] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[131/387] Compiling HashTreeCollections TreeDictionary+Filter.swift
[132/387] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[140/387] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[141/387] Compiling HashTreeCollections _RawHashNode.swift
[142/387] Compiling HashTreeCollections _UnmanagedHashNode.swift
[143/387] Compiling HashTreeCollections _UnsafePath.swift
[144/387] Compiling HashTreeCollections TreeDictionary+Codable.swift
[145/387] Compiling HashTreeCollections TreeDictionary+Collection.swift
[146/387] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[147/387] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[148/387] Compiling DequeModule RigidDeque+Append.swift
[149/387] Compiling DequeModule RigidDeque+Consumption.swift
[150/387] Compiling DequeModule RigidDeque+Container.swift
[151/387] Compiling DequeModule RigidDeque+Descriptions.swift
[152/387] Compiling DequeModule Deque+Codable.swift
[153/387] Compiling DequeModule Deque+Collection.swift
[154/387] Compiling DequeModule Deque+CustomReflectable.swift
[155/387] Compiling DequeModule Deque+Descriptions.swift
[157/387] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[158/387] Compiling HashTreeCollections TreeDictionary+Keys.swift
[159/387] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[160/387] Compiling HashTreeCollections TreeDictionary+Merge.swift
[161/387] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[162/387] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[163/387] Compiling DequeModule RigidDeque+Equatable.swift
[164/387] Compiling DequeModule RigidDeque+Experimental.swift
[165/387] Compiling DequeModule RigidDeque+Hashable.swift
[166/387] Compiling HashTreeCollections _Hash.swift
[167/387] Compiling HashTreeCollections _HashLevel.swift
[168/387] Compiling HashTreeCollections _HashNode+Builder.swift
[169/387] Compiling DequeModule _DequeBuffer.swift
[170/387] Compiling DequeModule _DequeBufferHeader.swift
[177/392] Compiling HashTreeCollections TreeDictionary.swift
[178/392] Compiling HashTreeCollections TreeSet+Codable.swift
[179/392] Compiling HashTreeCollections TreeSet+Collection.swift
[180/392] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[181/392] Compiling HashTreeCollections TreeSet+Debugging.swift
[182/392] Compiling HashTreeCollections TreeSet+Descriptions.swift
[183/392] Compiling DequeModule UniqueDeque+Replacements.swift
[184/392] Compiling DequeModule UniqueDeque.swift
[185/392] Compiling DequeModule _DequeSlot.swift
[186/392] Compiling DequeModule _UnsafeDequeHandle.swift
[192/402] Compiling DequeModule _UnsafeDequeSegments.swift
[202/402] Compiling HashTreeCollections TreeDictionary+Values.swift
[204/402] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[205/402] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[206/402] Compiling HashTreeCollections _HashNode+Structural union.swift
[207/402] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[208/402] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[209/402] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[210/402] Emitting module OrderedCollections
[213/402] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[252/412] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[295/413] Compiling _RopeModule String Utilities.swift
[296/413] Compiling _RopeModule String.Index+ABI.swift
[297/413] Compiling _RopeModule _CharacterRecognizer.swift
[298/413] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[299/413] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[300/413] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[301/413] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[302/413] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[303/413] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[304/413] Compiling HashTreeCollections TreeSet.swift
[348/413] Compiling HashTreeCollections _HashNode.swift
[349/413] Compiling HashTreeCollections _HashNodeHeader.swift
[350/413] Compiling HashTreeCollections _HashSlot.swift
[351/413] Compiling HashTreeCollections _HashStack.swift
[352/413] Compiling HashTreeCollections TreeSet+Hashable.swift
[353/413] Compiling HashTreeCollections TreeSet+Sendable.swift
[354/413] Compiling HashTreeCollections TreeSet+Sequence.swift
[355/413] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[356/413] Emitting module _RopeModule
[367/413] Emitting module HashTreeCollections
[368/413] Emitting module DequeModule
[384/413] Compiling _RopeModule Rope+Join.swift
[385/413] Compiling _RopeModule Rope+MutatingForEach.swift
[386/413] Compiling _RopeModule Rope+Remove.swift
[387/413] Compiling _RopeModule Rope+RemoveSubrange.swift
[388/413] Compiling _RopeModule Rope+Split.swift
[389/413] Compiling _RopeModule Optional Utilities.swift
[417/422] Compiling Collections OrderedCollections reexports.swift
[418/422] Compiling Collections HeapModule reexports.swift
[419/422] Compiling Collections DequeModule reexports.swift
[420/422] Compiling Collections HashTreeCollections reexports.swift
[421/422] Compiling Collections BitCollections reexports.swift
[422/422] Emitting module Collections
[424/431] Compiling AsyncChannels ChannelInternal.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 |       var m = pthread_mutex_t()
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
   |       `- error: cannot find 'pthread_mutexattr_init' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
   |       `- error: cannot find 'pthread_mutexattr_settype' in scope
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
   |                    `- error: cannot find 'pthread_mutex_init' in scope
38 |       pthread_mutexattr_destroy(&attr)
39 |       return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
   |       `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 |       return m
40 |   }()
[425/432] Compiling AsyncChannels Synchronization.swift
[426/432] Compiling AsyncChannels FastLock.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 |       var m = pthread_mutex_t()
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
   |       `- error: cannot find 'pthread_mutexattr_init' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
   |       `- error: cannot find 'pthread_mutexattr_settype' in scope
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
   |                    `- error: cannot find 'pthread_mutex_init' in scope
38 |       pthread_mutexattr_destroy(&attr)
39 |       return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
   |       `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 |       return m
40 |   }()
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:43:7: error: cannot find 'pthread_mutex_destroy' in scope
41 |
42 |   deinit {
43 |       pthread_mutex_destroy(&m)
   |       `- error: cannot find 'pthread_mutex_destroy' in scope
44 |   }
45 |
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:48:7: error: cannot find 'pthread_mutex_lock' in scope
46 |   @inline(__always)
47 |   func lock() {
48 |       pthread_mutex_lock(&m)
   |       `- error: cannot find 'pthread_mutex_lock' in scope
49 |   }
50 |
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:53:7: error: cannot find 'pthread_mutex_unlock' in scope
51 |   @inline(__always)
52 |   func unlock() {
53 |       pthread_mutex_unlock(&m)
   |       `- error: cannot find 'pthread_mutex_unlock' in scope
54 |   }
55 | }
[427/432] Compiling AsyncChannels Select.swift
[428/432] Compiling AsyncChannels ThrowingChannel+Extensions.swift
/host/spi-builder-workspace/Sources/AsyncChannels/ThrowingChannel+Extensions.swift:21:25: error: cannot find 'DispatchSemaphore' in scope
19 |     /// Do not use this function in an async task!
20 |     public func blockingSend(_ val: T) throws {
21 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
22 |         Task {
23 |             // TODO
/host/spi-builder-workspace/Sources/AsyncChannels/ThrowingChannel+Extensions.swift:34:25: error: cannot find 'DispatchSemaphore' in scope
32 |     /// Do not use this function in an async task!
33 |     public func blockingReceive() -> T? {
34 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
35 |         nonisolated(unsafe) var val: T?
36 |         Task {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[429/432] Emitting module AsyncChannels
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 |       var m = pthread_mutex_t()
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
   |       `- error: cannot find 'pthread_mutexattr_init' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
   |       `- error: cannot find 'pthread_mutexattr_settype' in scope
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
   |                    `- error: cannot find 'pthread_mutex_init' in scope
38 |       pthread_mutexattr_destroy(&attr)
39 |       return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
   |       `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 |       return m
40 |   }()
[430/432] Compiling AsyncChannels Channel.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 |       var m = pthread_mutex_t()
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
   |       `- error: cannot find 'pthread_mutexattr_init' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
   |       `- error: cannot find 'pthread_mutexattr_settype' in scope
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
   |                    `- error: cannot find 'pthread_mutex_init' in scope
38 |       pthread_mutexattr_destroy(&attr)
39 |       return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
   |       `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 |       return m
40 |   }()
[431/432] Compiling AsyncChannels Channel+Extensions.swift
/host/spi-builder-workspace/Sources/AsyncChannels/Channel+Extensions.swift:21:25: error: cannot find 'DispatchSemaphore' in scope
19 |     /// Do not use this function in an async task!
20 |     public func blockingSend(_ val: T) {
21 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
22 |         Task {
23 |             await self <- val
/host/spi-builder-workspace/Sources/AsyncChannels/Channel+Extensions.swift:33:25: error: cannot find 'DispatchSemaphore' in scope
31 |     /// Do not use this function in an async task!
32 |     public func blockingReceive() -> T? {
33 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
34 |         nonisolated(unsafe) var val: T?
35 |         Task {
[432/432] Compiling AsyncChannels ThrowingChannel.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 |       var m = pthread_mutex_t()
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
   |       `- error: cannot find 'pthread_mutexattr_init' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 |       var attr = pthread_mutexattr_t()
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
   |       `- error: cannot find 'pthread_mutexattr_settype' in scope
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 |       pthread_mutexattr_init(&attr)
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
   |                    `- error: cannot find 'pthread_mutex_init' in scope
38 |       pthread_mutexattr_destroy(&attr)
39 |       return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 |       pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 |       precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 |       pthread_mutexattr_destroy(&attr)
   |       `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 |       return m
40 |   }()
BUILD FAILURE 6.3 wasm