The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncChannels, reference 2.2.0 (0fed3c), with Swift 6.2 for Wasm on 13 Apr 2026 01:42:50 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.2-latest swift build --swift-sdk swift-6.2-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.2
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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-collections
[1/23525] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.52s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (2.17s)
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/29] Compiling InternalCollectionsUtilities Debugging.swift
[14/29] Compiling InternalCollectionsUtilities Descriptions.swift
[15/29] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[17/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[18/31] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[19/31] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[20/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/31] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/31] Compiling InternalCollectionsUtilities String+Padding.swift
[23/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/31] Compiling InternalCollectionsUtilities Integer rank.swift
[25/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[26/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[27/31] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[28/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[29/31] Compiling InternalCollectionsUtilities Span+Extras.swift
[30/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[31/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/145] Compiling HeapModule Heap+Invariants.swift
[34/183] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[35/327] Compiling HeapModule Heap+Descriptions.swift
[36/327] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[37/327] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[38/327] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[39/327] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[40/327] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[41/331] Compiling ContainersPreview Producer+Map.swift
[42/331] Compiling ContainersPreview Producer+Reduce.swift
[43/331] Compiling ContainersPreview Producer.swift
[44/331] Compiling ContainersPreview Borrow.swift
[45/331] Compiling ContainersPreview RandomAccessContainer.swift
[46/331] Compiling ContainersPreview RangeExpression2.swift
[47/331] Compiling ContainersPreview RangeReplaceableContainer.swift
[48/331] Compiling ContainersPreview Drain+Map.swift
[49/331] Compiling ContainersPreview Drain+Reduce.swift
[50/331] Compiling ContainersPreview Drain.swift
[51/331] Compiling ContainersPreview Producer+Collect.swift
[52/331] Compiling ContainersPreview Producer+Filter.swift
[53/331] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[54/331] Compiling ContainersPreview BorrowingSequence.swift
[55/331] Compiling ContainersPreview BidirectionalContainer.swift
[56/331] Compiling ContainersPreview Container+Filter.swift
[57/331] Compiling ContainersPreview Container+SpanwiseZip.swift
[58/331] Compiling ContainersPreview Container.swift
[59/331] Compiling ContainersPreview ContainerIterator.swift
[60/331] Compiling ContainersPreview DynamicContainer.swift
[61/331] Compiling ContainersPreview MutableContainer.swift
[62/331] Compiling ContainersPreview PermutableContainer.swift
[63/331] Compiling HeapModule _HeapNode.swift
[64/331] Compiling ContainersPreview Box.swift
[65/331] Compiling ContainersPreview Inout.swift
[66/331] Compiling ContainersPreview InputSpan.swift
[67/331] Compiling ContainersPreview Shared.swift
[68/331] Compiling HeapModule Heap.swift
[69/331] Compiling ContainersPreview OutputSpan+Extras.swift
[70/331] Compiling ContainersPreview TemporaryAllocation.swift
[71/331] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[72/331] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[73/331] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[74/331] Emitting module ContainersPreview
[75/332] Emitting module BitCollections
[77/379] Compiling HeapModule Heap+UnsafeHandle.swift
[78/379] Emitting module HeapModule
[80/380] Compiling HashTreeCollections TreeSet+Sequence.swift
[81/380] Compiling _RopeModule BigString+ReplaceSubrange.swift
[82/380] Compiling _RopeModule BigString+Split.swift
[83/380] Compiling _RopeModule Range+BigString.swift
[84/380] Compiling _RopeModule BigString+Chunk.swift
[85/380] Compiling _RopeModule BigString+BidirectionalCollection.swift
[86/380] Compiling _RopeModule BigString+Comparable.swift
[87/380] Compiling BitCollections BitSet.Index.swift
[88/387] Compiling _RopeModule BigString+Insert.swift
[89/387] Compiling HashTreeCollections TreeSet+Sendable.swift
[98/387] Compiling OrderedCollections OrderedSet+Sendable.swift
[99/387] Compiling OrderedCollections OrderedSet+SubSequence.swift
[100/387] Compiling OrderedCollections OrderedSet+Testing.swift
[101/387] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[102/387] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[103/387] Compiling OrderedCollections OrderedSet.swift
[104/387] Compiling OrderedCollections _UnsafeBitset.swift
[105/387] Compiling HashTreeCollections TreeDictionary+Merge.swift
[106/387] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[107/387] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[108/387] Compiling HashTreeCollections TreeDictionary+Values.swift
[109/397] Compiling DequeModule Deque+Testing.swift
[110/397] Compiling DequeModule Deque._Storage.swift
[111/397] Compiling DequeModule Deque._UnsafeHandle.swift
[112/397] Compiling DequeModule Deque.swift
[113/397] Compiling DequeModule RigidDeque+Equatable.swift
[114/397] Compiling DequeModule RigidDeque+Experimental.swift
[115/397] Compiling DequeModule RigidDeque+Hashable.swift
[116/397] Compiling DequeModule RigidDeque+Initializers.swift
[117/397] Compiling DequeModule UniqueDeque+Consumption.swift
[118/397] Compiling DequeModule UniqueDeque+Container.swift
[119/397] Compiling DequeModule UniqueDeque+Descriptions.swift
[120/397] Compiling DequeModule UniqueDeque+Equatable.swift
[121/397] Compiling DequeModule UniqueDeque+Experimental.swift
[122/397] Compiling DequeModule UniqueDeque+Hashable.swift
[123/397] Compiling DequeModule UniqueDeque+Initializers.swift
[124/397] Compiling DequeModule UniqueDeque+Insertions.swift
[125/397] Compiling DequeModule UniqueDeque+Prepend.swift
[126/397] Compiling DequeModule UniqueDeque+Removals.swift
[127/402] Compiling DequeModule _DequeBuffer.swift
[128/402] Compiling DequeModule _DequeBufferHeader.swift
[129/402] Compiling DequeModule RigidDeque+Append.swift
[130/402] Compiling DequeModule RigidDeque+Consumption.swift
[131/402] Compiling DequeModule RigidDeque+Container.swift
[132/402] Compiling DequeModule RigidDeque+Descriptions.swift
[137/402] Compiling DequeModule RigidDeque+Insertions.swift
[138/402] Compiling DequeModule RigidDeque+Prepend.swift
[139/402] Compiling HashTreeCollections TreeDictionary.swift
[140/402] Compiling HashTreeCollections TreeSet+Codable.swift
[141/402] Compiling HashTreeCollections TreeSet+Collection.swift
[142/402] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[143/402] Compiling HashTreeCollections TreeSet+Debugging.swift
[144/402] Compiling HashTreeCollections TreeSet+Descriptions.swift
[145/402] Compiling HashTreeCollections TreeSet+Equatable.swift
[146/402] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[147/402] Compiling HashTreeCollections TreeSet+Extras.swift
[148/402] Compiling HashTreeCollections TreeSet+Filter.swift
[149/402] Compiling DequeModule RigidDeque+Removals.swift
[150/402] Compiling DequeModule RigidDeque+Replacements.swift
[151/402] Compiling DequeModule RigidDeque+Testing.swift
[152/402] Compiling DequeModule RigidDeque.swift
[153/402] Compiling DequeModule UniqueDeque+Append.swift
[156/402] Compiling DequeModule Deque+Codable.swift
[157/402] Compiling DequeModule Deque+Collection.swift
[158/402] Compiling DequeModule Deque+CustomReflectable.swift
[159/402] Compiling DequeModule Deque+Descriptions.swift
[160/402] Compiling DequeModule Deque+Equatable.swift
[168/402] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[185/402] Compiling DequeModule UniqueDeque+Replacements.swift
[186/402] Compiling DequeModule UniqueDeque.swift
[187/402] Compiling DequeModule _DequeSlot.swift
[188/402] Compiling DequeModule _UnsafeDequeHandle.swift
[189/402] Compiling DequeModule _UnsafeDequeSegments.swift
[213/402] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[214/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[215/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[216/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[217/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[218/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[219/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[220/402] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[221/402] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[222/402] Compiling HashTreeCollections TreeSet.swift
[265/411] Compiling DequeModule Deque+Extras.swift
[266/411] Compiling DequeModule Deque+Hashable.swift
[322/412] Emitting module OrderedCollections
[357/413] Emitting module _RopeModule
[358/413] Emitting module HashTreeCollections
[400/414] Compiling _RopeModule Rope+Join.swift
[401/414] Compiling _RopeModule Rope+MutatingForEach.swift
[402/414] Compiling _RopeModule Rope+Remove.swift
[403/414] Compiling _RopeModule Rope+RemoveSubrange.swift
[404/414] Compiling _RopeModule Rope+Split.swift
[405/414] Compiling _RopeModule Optional Utilities.swift
[406/414] Compiling _RopeModule String Utilities.swift
[407/414] Compiling _RopeModule String.Index+ABI.swift
[408/414] Compiling _RopeModule _CharacterRecognizer.swift
[410/415] Emitting module DequeModule
[417/422] Compiling Collections HashTreeCollections reexports.swift
[418/422] Compiling Collections OrderedCollections reexports.swift
[419/422] Compiling Collections HeapModule reexports.swift
[420/422] Compiling Collections DequeModule reexports.swift
[421/422] Emitting module Collections
[422/422] Compiling Collections BitCollections reexports.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[424/431] 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 |   }()
[425/432] 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 |   }()
[426/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 |   }()
[427/432] Compiling AsyncChannels Select.swift
[428/432] Compiling AsyncChannels Synchronization.swift
[429/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 {
[430/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 {
[431/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 | }
[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.2 wasm