Build Information
Failed to build AsyncChannels, reference main (0fed3c), with Swift 6.3 for Wasm on 13 Apr 2026 01:41:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gh123man/Async-Channels.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/gh123man/Async-Channels
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-3":/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.49s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (2.51s)
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 Integer rank.swift
[16/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[17/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[18/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[19/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/31] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/31] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[25/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/31] Compiling InternalCollectionsUtilities Span+Extras.swift
[27/31] Compiling InternalCollectionsUtilities String+Padding.swift
[28/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[29/31] Compiling InternalCollectionsUtilities Debugging.swift
[30/31] Compiling InternalCollectionsUtilities Descriptions.swift
[31/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[33/275] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[34/296] Compiling HeapModule Heap+Descriptions.swift
[35/307] Compiling HashTreeCollections _HashNode+Structural merge.swift
[36/307] Compiling HashTreeCollections _AncestorHashSlots.swift
[37/307] Compiling HashTreeCollections _Bitmap.swift
[38/307] Compiling HashTreeCollections _Bucket.swift
[39/307] Compiling HashTreeCollections _Hash.swift
[40/320] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[41/320] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[42/320] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[43/320] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[44/320] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[45/331] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[46/331] Compiling HashTreeCollections _HashNode.swift
[47/331] Compiling HashTreeCollections _HashNodeHeader.swift
[48/331] Compiling HashTreeCollections _HashSlot.swift
[49/331] Compiling HashTreeCollections _HashNode+Lookups.swift
[50/331] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[51/331] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[52/331] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[53/331] Compiling HashTreeCollections _HashNode+Structural union.swift
[54/331] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[55/331] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[56/331] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[57/331] Compiling HashTreeCollections _HashLevel.swift
[58/331] Compiling HashTreeCollections _HashNode+Builder.swift
[59/331] Compiling HashTreeCollections _HashNode+Debugging.swift
[60/331] Compiling HashTreeCollections _HashNode+Initializers.swift
[61/331] Compiling HashTreeCollections _HashNode+Invariants.swift
[62/331] Compiling HeapModule _HeapNode.swift
[63/331] Emitting module ContainersPreview
[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 HashTreeCollections _HashNode+Primitive Removals.swift
[70/331] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[71/331] Compiling HashTreeCollections _HashNode+Storage.swift
[72/331] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[73/331] Compiling HashTreeCollections _HashNode+Structural filter.swift
[75/332] Compiling HeapModule Heap+UnsafeHandle.swift
[76/332] Compiling HeapModule Heap+Invariants.swift
[77/332] Emitting module HeapModule
[79/373] Compiling DequeModule Deque+Testing.swift
[80/373] Compiling DequeModule Deque._Storage.swift
[81/373] Compiling DequeModule Deque._UnsafeHandle.swift
[82/373] Compiling DequeModule Deque.swift
[83/373] Compiling DequeModule RigidDeque+Equatable.swift
[84/373] Compiling DequeModule RigidDeque+Experimental.swift
[85/373] Compiling DequeModule RigidDeque+Hashable.swift
[86/373] Compiling DequeModule RigidDeque+Initializers.swift
[87/380] Compiling HashTreeCollections TreeDictionary+Collection.swift
[88/380] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[89/380] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[90/380] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[91/380] Compiling HashTreeCollections TreeDictionary.swift
[92/380] Compiling HashTreeCollections TreeSet+Codable.swift
[93/380] Compiling HashTreeCollections TreeSet+Collection.swift
[94/380] Compiling HashTreeCollections TreeSet+Hashable.swift
[95/380] Compiling HashTreeCollections TreeSet+Sendable.swift
[96/380] Compiling HashTreeCollections TreeSet+Sequence.swift
[97/380] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[98/380] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[99/380] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[100/380] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[101/380] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[102/380] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[103/380] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[104/397] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[105/397] Compiling HashTreeCollections TreeSet+Debugging.swift
[106/397] Compiling HashTreeCollections TreeSet+Descriptions.swift
[107/397] Compiling HashTreeCollections TreeSet+Equatable.swift
[108/397] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[109/397] Compiling HashTreeCollections TreeSet+Extras.swift
[110/397] Compiling BitCollections BitSet.Index.swift
[111/397] Compiling DequeModule UniqueDeque+Consumption.swift
[112/397] Compiling DequeModule UniqueDeque+Container.swift
[113/397] Compiling DequeModule UniqueDeque+Descriptions.swift
[114/397] Compiling DequeModule UniqueDeque+Equatable.swift
[115/397] Compiling DequeModule UniqueDeque+Experimental.swift
[116/402] Compiling DequeModule UniqueDeque+Replacements.swift
[117/402] Compiling DequeModule UniqueDeque.swift
[118/402] Compiling DequeModule _DequeSlot.swift
[119/402] Compiling DequeModule _UnsafeDequeHandle.swift
[120/402] Compiling DequeModule _UnsafeDequeSegments.swift
[123/402] Compiling DequeModule UniqueDeque+Prepend.swift
[124/402] Compiling DequeModule UniqueDeque+Removals.swift
[125/402] Compiling DequeModule RigidDeque+Removals.swift
[126/402] Compiling DequeModule RigidDeque+Replacements.swift
[127/402] Compiling DequeModule RigidDeque+Testing.swift
[128/402] Compiling DequeModule RigidDeque.swift
[129/402] Compiling DequeModule UniqueDeque+Append.swift
[138/402] Compiling DequeModule _DequeBuffer.swift
[139/402] Compiling DequeModule _DequeBufferHeader.swift
[140/402] Compiling DequeModule RigidDeque+Append.swift
[141/402] Compiling DequeModule RigidDeque+Consumption.swift
[142/402] Compiling DequeModule RigidDeque+Container.swift
[143/402] Compiling DequeModule RigidDeque+Descriptions.swift
[144/402] Compiling OrderedCollections OrderedSet+Sendable.swift
[145/402] Compiling OrderedCollections OrderedSet+SubSequence.swift
[146/402] Compiling OrderedCollections OrderedSet+Testing.swift
[147/402] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[148/402] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[149/402] Compiling OrderedCollections OrderedSet.swift
[150/402] Compiling OrderedCollections _UnsafeBitset.swift
[151/402] Compiling HashTreeCollections TreeDictionary+Merge.swift
[152/402] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[153/402] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[154/402] Compiling HashTreeCollections TreeDictionary+Values.swift
[178/402] Compiling DequeModule UniqueDeque+Hashable.swift
[179/402] Compiling DequeModule UniqueDeque+Initializers.swift
[180/402] Compiling DequeModule UniqueDeque+Insertions.swift
[181/402] Compiling DequeModule RigidDeque+Insertions.swift
[182/402] Compiling DequeModule RigidDeque+Prepend.swift
[212/402] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[213/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[214/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[215/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[216/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[217/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[218/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[219/402] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[220/402] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[221/402] Compiling HashTreeCollections TreeSet.swift
[222/402] Compiling DequeModule Deque+Codable.swift
[223/402] Compiling DequeModule Deque+Collection.swift
[224/402] Compiling DequeModule Deque+CustomReflectable.swift
[225/402] Compiling DequeModule Deque+Descriptions.swift
[226/402] Compiling DequeModule Deque+Equatable.swift
[227/402] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[228/402] Compiling DequeModule Deque+Extras.swift
[229/402] Compiling DequeModule Deque+Hashable.swift
[230/402] Emitting module BitCollections
[303/412] Emitting module OrderedCollections
[368/413] Emitting module _RopeModule
[369/413] Emitting module DequeModule
[370/413] Emitting module HashTreeCollections
[406/415] Compiling _RopeModule Rope+Join.swift
[407/415] Compiling _RopeModule Rope+MutatingForEach.swift
[408/415] Compiling _RopeModule Rope+Remove.swift
[409/415] Compiling _RopeModule Rope+RemoveSubrange.swift
[410/415] Compiling _RopeModule Rope+Split.swift
[411/415] Compiling _RopeModule Optional Utilities.swift
[412/415] Compiling _RopeModule String Utilities.swift
[413/415] Compiling _RopeModule String.Index+ABI.swift
[414/415] Compiling _RopeModule _CharacterRecognizer.swift
[417/422] Compiling Collections OrderedCollections reexports.swift
[418/422] Compiling Collections DequeModule reexports.swift
[419/422] Compiling Collections HeapModule 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 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 {
[425/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 | }()
[426/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[427/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 | }()
[428/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 | }()
[429/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 | }()
[430/432] Compiling AsyncChannels Synchronization.swift
[431/432] Compiling AsyncChannels Select.swift
[432/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 | }
BUILD FAILURE 6.3 wasm