The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AsyncChannels, reference 2.1.0 (325f5b), with Swift 6.1 for Wasm on 30 May 2025 22:48:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gh123man/Async-Channels.git
Reference: 2.1.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.1.0      -> FETCH_HEAD
HEAD is now at 325f5b2 Fix misbehavior in select when trying to send on a closed channel
Cloned https://github.com/gh123man/Async-Channels.git
Revision (git rev-parse @):
325f5b24d2862be397bd8ff4090d7b9c766f8796
SUCCESS checkout https://github.com/gh123man/Async-Channels.git at 2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gh123man/Async-Channels.git
https://github.com/gh123man/Async-Channels.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections"
    }
  ],
  "manifest_display_name" : "AsyncChannels",
  "name" : "AsyncChannels",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AsyncChannels",
      "targets" : [
        "AsyncChannels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncChannelsTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncChannelsTests",
      "path" : "Tests/AsyncChannelsTests",
      "sources" : [
        "BehaviorTests.swift",
        "ReadmeTests.swift",
        "TypeTests.swift"
      ],
      "target_dependencies" : [
        "AsyncChannels"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncChannels",
      "module_type" : "SwiftTarget",
      "name" : "AsyncChannels",
      "path" : "Sources/AsyncChannels",
      "product_dependencies" : [
        "Collections"
      ],
      "product_memberships" : [
        "AsyncChannels"
      ],
      "sources" : [
        "Channel+Extensions.swift",
        "Channel.swift",
        "ChannelInternal.swift",
        "FastLock.swift",
        "Select.swift",
        "Synchronization.swift",
        "ThrowingChannel+Extensions.swift",
        "ThrowingChannel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-collections
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.79s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (3.24s)
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 UnsafeBufferPointer+Extras.swift
[12/25] Compiling InternalCollectionsUtilities Descriptions.swift
[13/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[15/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[16/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[17/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/25] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/25] Compiling InternalCollectionsUtilities Debugging.swift
[20/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/25] Emitting module InternalCollectionsUtilities
[23/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/25] Compiling InternalCollectionsUtilities Integer rank.swift
[25/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/253] Emitting module HeapModule
[28/259] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[29/300] Compiling HeapModule Heap+Descriptions.swift
[30/300] Compiling HeapModule _HeapNode.swift
[31/300] Compiling _RopeModule BigString+Initializers.swift
[32/300] Compiling _RopeModule BigString+Insert.swift
[33/300] Compiling HeapModule Heap+Invariants.swift
[34/300] Compiling HeapModule Heap+UnsafeHandle.swift
[35/302] Compiling _RopeModule BigSubstring+UTF8View.swift
[36/302] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[37/302] Compiling HeapModule Heap.swift
[38/303] Compiling _RopeModule BigString+Summary.swift
[39/303] Compiling _RopeModule BigString.swift
[40/303] Compiling HashTreeCollections TreeSet+Sequence.swift
[41/303] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[42/303] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[43/303] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[44/303] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[45/303] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[46/303] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[47/303] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[49/313] Compiling _RopeModule BigString+UnicodeScalarView.swift
[50/313] Compiling _RopeModule BigSubstring+UTF16View.swift
[53/313] Compiling _RopeModule BigSubstring.swift
[54/313] Compiling _RopeModule Rope+Builder.swift
[55/313] Compiling _RopeModule Rope+Debugging.swift
[56/313] Compiling _RopeModule Rope+Invariants.swift
[61/320] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[62/320] Compiling _RopeModule Rope+_UnsafeHandle.swift
[63/320] Compiling _RopeModule Rope.swift
[64/320] Compiling _RopeModule RopeElement.swift
[65/320] Compiling _RopeModule RopeMetric.swift
[66/320] Compiling _RopeModule RopeSummary.swift
[67/320] Compiling _RopeModule _RopeItem.swift
[68/320] Compiling _RopeModule _RopePath.swift
[69/320] Compiling _RopeModule _RopeVersion.swift
[70/320] Compiling _RopeModule Rope+Collection.swift
[71/320] Compiling _RopeModule Rope+Index.swift
[72/320] Compiling _RopeModule Rope+Sequence.swift
[73/320] Compiling _RopeModule Rope+Append.swift
[74/320] Compiling _RopeModule Rope+Extract.swift
[75/320] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[76/320] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[77/320] Compiling _RopeModule BigString+Chunk+Splitting.swift
[78/320] Compiling _RopeModule BigString+Chunk.swift
[79/320] Compiling _RopeModule BigString+BidirectionalCollection.swift
[80/320] Compiling _RopeModule BigString+Comparable.swift
[81/320] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[82/327] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[83/327] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[84/327] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[85/327] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[86/327] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[87/327] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[88/327] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[89/327] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[90/327] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[91/327] Compiling HashTreeCollections TreeSet.swift
[92/327] Compiling DequeModule _DequeSlot.swift
[93/327] Compiling DequeModule _UnsafeWrappedBuffer.swift
[101/327] Compiling _RopeModule BigString+CustomStringConvertible.swift
[102/327] Compiling _RopeModule Range+BigString.swift
[103/327] Compiling _RopeModule BigString+UTF16View.swift
[104/327] Compiling _RopeModule BigString+UTF8View.swift
[105/327] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[106/327] Compiling _RopeModule BigString+Chunk+Breaks.swift
[107/327] Compiling _RopeModule BigString+Chunk+Counts.swift
[108/327] Compiling _RopeModule BigString+Chunk+Description.swift
[109/327] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[110/327] Compiling _RopeModule BigString+Equatable.swift
[111/327] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[112/327] Compiling _RopeModule BigString+Hashing.swift
[113/327] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[114/327] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[115/327] Compiling _RopeModule BigString+Sequence.swift
[116/327] Compiling _RopeModule BigString+TextOutputStream.swift
[117/327] Compiling _RopeModule Rope+_Storage.swift
[118/327] Compiling _RopeModule Rope+_Node.swift
[119/327] Compiling _RopeModule BigString+Append.swift
[120/327] Compiling _RopeModule BigString+Managing Breaks.swift
[121/327] Compiling _RopeModule BigString+RemoveSubrange.swift
[132/327] Compiling BitCollections BitSet.Index.swift
[133/327] Compiling BitCollections BitSet._UnsafeHandle.swift
[145/327] Emitting module DequeModule
[146/328] Compiling BitCollections BitSet.swift
[147/328] Compiling BitCollections Range+Utilities.swift
[148/328] Compiling BitCollections Slice+Utilities.swift
[149/328] Compiling BitCollections UInt+Tricks.swift
[150/328] Compiling BitCollections _Word.swift
[151/328] Compiling OrderedCollections OrderedSet.swift
[152/328] Compiling OrderedCollections _UnsafeBitset.swift
[175/328] Emitting module BitCollections
[207/328] Compiling _RopeModule BigString+Ingester.swift
[208/328] Compiling _RopeModule BigString+Invariants.swift
[209/328] Compiling _RopeModule BigString+Iterators.swift
[210/328] Compiling _RopeModule BigString+Metrics.swift
[266/338] Emitting module OrderedCollections
[268/339] Emitting module _RopeModule
[291/339] Emitting module HashTreeCollections
[332/340] Compiling _RopeModule Rope+Join.swift
[333/340] Compiling _RopeModule Rope+MutatingForEach.swift
[334/340] Compiling _RopeModule Rope+Remove.swift
[335/340] Compiling _RopeModule Rope+RemoveSubrange.swift
[336/340] Compiling _RopeModule Rope+Split.swift
[337/340] Compiling _RopeModule Optional Utilities.swift
[338/340] Compiling _RopeModule String Utilities.swift
[339/340] Compiling _RopeModule String.Index+ABI.swift
[340/340] Compiling _RopeModule _CharacterRecognizer.swift
[342/343] Compiling Collections Collections.swift
[343/343] Emitting module Collections
[345/352] Compiling AsyncChannels Select.swift
[346/353] 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 |   }()
[347/353] 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 | }
[348/353] 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 |   }()
[349/353] 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 |         var val: T?
36 |         Task {
[350/353] Compiling AsyncChannels Synchronization.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[351/353] 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 |   }()
[352/353] 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 |   }()
[353/353] 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 |         var val: T?
35 |         Task {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/16] Compiling InternalCollectionsUtilities Descriptions.swift
[4/16] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[5/16] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/16] Compiling InternalCollectionsUtilities Debugging.swift
[7/16] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[8/16] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[9/16] Compiling InternalCollectionsUtilities Integer rank.swift
[10/16] Emitting module InternalCollectionsUtilities
[11/16] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[12/16] Compiling InternalCollectionsUtilities UInt+reversed.swift
[13/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[14/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[15/16] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[16/16] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/252] Compiling HeapModule Heap+Invariants.swift
[19/291] Compiling HeapModule Heap+Descriptions.swift
[20/291] Compiling _RopeModule BigString+Debugging.swift
[21/291] Compiling _RopeModule BigString+Index.swift
[22/293] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[23/293] Compiling _RopeModule BigString+Chunk+Splitting.swift
[24/293] Compiling _RopeModule BigString+Chunk+Counts.swift
[25/293] Compiling _RopeModule BigString+Chunk+Description.swift
[26/293] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[27/293] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[28/293] Emitting module HeapModule
[29/293] Compiling HeapModule Heap.swift
[30/293] Compiling HeapModule _HeapNode.swift
[31/293] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[32/293] Compiling HeapModule Heap+UnsafeHandle.swift
[34/294] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[35/294] Compiling _RopeModule BigString+CustomStringConvertible.swift
[36/294] Compiling _RopeModule BigString+Equatable.swift
[37/294] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[38/294] Compiling _RopeModule BigString+Hashing.swift
[39/294] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[40/294] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[41/294] Compiling _RopeModule BigString+Sequence.swift
[42/294] Compiling _RopeModule BigString+TextOutputStream.swift
[43/294] Compiling _RopeModule BigString+UnicodeScalarView.swift
[44/294] Compiling _RopeModule BigSubstring+UTF16View.swift
[45/294] Compiling _RopeModule BigSubstring+UTF8View.swift
[46/294] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[47/294] Compiling _RopeModule BigSubstring.swift
[48/301] Compiling _RopeModule Rope+ForEachWhile.swift
[49/301] Compiling _RopeModule Rope+Insert.swift
[50/301] Compiling HashTreeCollections TreeSet+Sequence.swift
[51/301] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[52/301] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[53/301] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[54/301] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[55/301] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[56/301] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[57/301] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[58/311] Compiling OrderedCollections OrderedSet+SubSequence.swift
[59/311] Compiling OrderedCollections OrderedSet+Testing.swift
[60/311] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[61/311] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[62/311] Compiling OrderedCollections OrderedSet.swift
[63/311] Compiling OrderedCollections _UnsafeBitset.swift
[64/311] Compiling _RopeModule Rope+Sequence.swift
[65/311] Compiling _RopeModule Rope+Append.swift
[66/311] Compiling _RopeModule Rope+Extract.swift
[67/311] Compiling _RopeModule Rope+Find.swift
[68/311] Compiling _RopeModule BigString+RemoveSubrange.swift
[69/311] Compiling _RopeModule BigString+ReplaceSubrange.swift
[70/311] Compiling _RopeModule BigString+Split.swift
[71/311] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[72/311] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[73/311] Compiling HashTreeCollections _HashNode.swift
[74/311] Compiling HashTreeCollections _HashNodeHeader.swift
[75/318] Compiling _RopeModule BigString+Builder.swift
[76/318] Compiling _RopeModule BigString+Contents.swift
[77/318] Compiling _RopeModule BigString+Chunk.swift
[78/318] Compiling _RopeModule BigString+BidirectionalCollection.swift
[79/318] Compiling DequeModule _DequeSlot.swift
[80/318] Compiling DequeModule _UnsafeWrappedBuffer.swift
[81/318] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[82/318] Compiling _RopeModule BigString+Chunk+Breaks.swift
[83/318] Emitting module BitCollections
[91/318] Compiling _RopeModule BigString+Iterators.swift
[92/318] Compiling _RopeModule BigString+Metrics.swift
[93/318] Compiling _RopeModule BigString+Summary.swift
[94/318] Compiling _RopeModule BigString.swift
[95/318] Compiling _RopeModule BigString+Append.swift
[96/318] Compiling _RopeModule BigString+Initializers.swift
[97/318] Compiling _RopeModule BigString+Insert.swift
[98/318] Compiling _RopeModule BigString+Managing Breaks.swift
[99/318] Compiling HashTreeCollections _HashSlot.swift
[100/318] Compiling HashTreeCollections _HashStack.swift
[101/318] Compiling HashTreeCollections _AncestorHashSlots.swift
[102/318] Compiling _RopeModule RopeElement.swift
[103/318] Compiling _RopeModule RopeMetric.swift
[104/318] Compiling _RopeModule RopeSummary.swift
[105/318] Compiling _RopeModule _RopeItem.swift
[106/318] Compiling _RopeModule _RopePath.swift
[107/318] Compiling _RopeModule BigString+Comparable.swift
[121/318] Emitting module DequeModule
[139/319] Emitting module OrderedCollections
[164/319] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[165/319] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[166/319] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[167/319] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[168/319] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[169/319] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[170/319] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[171/319] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[172/319] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[173/319] Compiling HashTreeCollections TreeSet.swift
[174/319] Compiling BitCollections BitSet.Index.swift
[175/319] Compiling BitCollections BitSet._UnsafeHandle.swift
[176/319] Compiling BitCollections BitSet.swift
[177/319] Compiling BitCollections Range+Utilities.swift
[178/319] Compiling BitCollections Slice+Utilities.swift
[179/319] Compiling BitCollections UInt+Tricks.swift
[180/319] Compiling BitCollections _Word.swift
[181/320] Emitting module _RopeModule
[217/330] Emitting module HashTreeCollections
[274/331] Compiling _RopeModule Rope+Join.swift
[275/331] Compiling _RopeModule Rope+MutatingForEach.swift
[276/331] Compiling _RopeModule Rope+Remove.swift
[277/331] Compiling _RopeModule Rope+RemoveSubrange.swift
[278/331] Compiling _RopeModule Rope+Split.swift
[279/331] Compiling _RopeModule Optional Utilities.swift
[280/331] Compiling _RopeModule String Utilities.swift
[281/331] Compiling _RopeModule String.Index+ABI.swift
[282/331] Compiling _RopeModule _CharacterRecognizer.swift
[333/334] Emitting module Collections
[334/334] Compiling Collections Collections.swift
[336/343] 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 |         var val: T?
36 |         Task {
[337/344] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[338/344] 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 |   }()
[339/344] 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 |   }()
[340/344] 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 |         var val: T?
35 |         Task {
[341/344] 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 |   }()
[342/344] Compiling AsyncChannels Synchronization.swift
[343/344] Compiling AsyncChannels Select.swift
[344/344] 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.1 wasm