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 IkigaJSON, reference 2.3.2 (17cc2f), with Swift 6.1 for Wasm on 23 Jul 2025 17:20:23 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/IkigaJSON.git
Reference: 2.3.2
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/orlandos-nl/IkigaJSON
 * tag               2.3.2      -> FETCH_HEAD
HEAD is now at 17cc2f9 Merge pull request #49 from koraykoska/master
Cloned https://github.com/orlandos-nl/IkigaJSON.git
Revision (git rev-parse @):
17cc2f9d7fb03b6027ec1f6702c9b66be7cd9c6e
SUCCESS checkout https://github.com/orlandos-nl/IkigaJSON.git at 2.3.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/orlandos-nl/IkigaJSON.git
https://github.com/orlandos-nl/IkigaJSON.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "IkigaJSON",
  "name" : "IkigaJSON",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "IkigaJSON",
      "targets" : [
        "IkigaJSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_NIOJSON",
      "module_type" : "SwiftTarget",
      "name" : "_NIOJSON",
      "path" : "Sources/_NIOJSON",
      "product_dependencies" : [
        "NIOCore",
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "IkigaJSON"
      ],
      "sources" : [
        "ByteBufferSupport.swift",
        "Codable/JSONDecoder.swift",
        "Codable/JSONDecoderError.swift",
        "Codable/JSONEncoder.swift",
        "Codable/NilValueCodingStrategy.swift",
        "Codable/StreamingJSONArrayDecoder.swift",
        "Codable/StreamingJSONLinesDecoder.swift",
        "Core/Bounds.swift",
        "Core/JSONDescription+Constants.swift",
        "Core/JSONDescription.swift",
        "Pointer+Helpers.swift",
        "Types/JSONArray.swift",
        "Types/JSONObject.swift",
        "Types/JSONValue.swift"
      ],
      "target_dependencies" : [
        "_JSONCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_JSONCore",
      "module_type" : "SwiftTarget",
      "name" : "_JSONCore",
      "path" : "Sources/_JSONCore",
      "product_memberships" : [
        "IkigaJSON"
      ],
      "sources" : [
        "Bytes.swift",
        "Errors.swift",
        "Parser/JSONParser+Parsing.swift",
        "Parser/JSONTokenizer.swift",
        "Parser/JSONTokenizerDestination.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IkigaJSONTests",
      "module_type" : "SwiftTarget",
      "name" : "IkigaJSONTests",
      "path" : "Tests/IkigaJSONTests",
      "sources" : [
        "JSONTests.swift"
      ],
      "target_dependencies" : [
        "IkigaJSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IkigaJSON",
      "module_type" : "SwiftTarget",
      "name" : "IkigaJSON",
      "path" : "Sources/IkigaJSON",
      "product_dependencies" : [
        "NIOCore"
      ],
      "product_memberships" : [
        "IkigaJSON"
      ],
      "sources" : [
        "Exports.swift"
      ],
      "target_dependencies" : [
        "_JSONCore",
        "_NIOJSON"
      ],
      "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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/76843] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (11.95s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1808] Fetching swift-atomics
[1412/6465] Fetching swift-atomics, swift-system
[6466/23349] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
[4679/18692] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.54s)
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.40s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.06s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.85.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Building for debugging...
[0/21] Write sources
[10/21] Compiling CNIOWindows WSAStartup.c
[11/21] Compiling CNIOWindows shim.c
[12/21] Compiling _AtomicsShims.c
[12/21] Write sources
[14/21] Compiling CNIOWASI CNIOWASI.c
[14/21] Compiling CNIOLinux shim.c
[16/21] Compiling CNIOLinux liburing_shims.c
[17/21] Compiling CNIODarwin shim.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[19/65] Compiling c-nioatomics.c
[21/65] Emitting module Atomics
[21/67] Compiling c-atomics.c
[23/67] Compiling Atomics PointerConformances.swift
[24/67] Compiling Atomics Primitives.native.swift
[25/68] Compiling Atomics AtomicReference.swift
[26/68] Compiling Atomics AtomicStorage.swift
[27/68] Emitting module _JSONCore
[28/68] Compiling Atomics IntegerOperations.swift
[29/68] Compiling Atomics Unmanaged extensions.swift
[30/68] Emitting module InternalCollectionsUtilities
[31/68] Compiling Atomics ManagedAtomic.swift
[32/68] Emitting module _NIOBase64
[33/68] Compiling _NIOBase64 Base64.swift
[34/68] Compiling Atomics ManagedAtomicLazyReference.swift
[35/68] Compiling Atomics UnsafeAtomic.swift
[36/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[37/68] Compiling Atomics IntegerConformances.swift
[40/69] Compiling _JSONCore JSONTokenizerDestination.swift
[41/69] Compiling Atomics OptionalRawRepresentable.swift
[42/69] Compiling Atomics RawRepresentable.swift
[43/69] Compiling Atomics AtomicBool.swift
[44/69] Compiling _NIODataStructures PriorityQueue.swift
[45/69] Compiling _NIODataStructures _TinyArray.swift
[46/69] Compiling _JSONCore Bytes.swift
[47/69] Compiling _JSONCore Errors.swift
[48/69] Compiling _JSONCore JSONParser+Parsing.swift
[49/69] Compiling _JSONCore JSONTokenizer.swift
[50/69] Compiling Atomics AtomicValue.swift
[52/69] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[55/70] Compiling Atomics AtomicInteger.swift
[56/70] Compiling Atomics AtomicOptionalWrappable.swift
[58/70] Compiling Atomics AtomicMemoryOrderings.swift
[59/70] Compiling Atomics DoubleWord.swift
[69/77] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[71/78] Emitting module _NIODataStructures
[72/78] Compiling _NIODataStructures Heap.swift
[73/79] Compiling NIOConcurrencyHelpers lock.swift
[74/79] Compiling NIOConcurrencyHelpers NIOLock.swift
[76/79] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[77/79] Emitting module NIOConcurrencyHelpers
[78/79] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[79/79] Compiling NIOConcurrencyHelpers atomics.swift
[81/95] Compiling DequeModule Deque+CustomReflectable.swift
[82/95] Compiling DequeModule Deque+Descriptions.swift
[83/95] Compiling DequeModule Deque+Equatable.swift
[84/95] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/97] Compiling DequeModule Deque+Extras.swift
[86/97] Compiling DequeModule Deque+Hashable.swift
[87/97] Compiling DequeModule Deque+Testing.swift
[88/97] Compiling DequeModule Deque._Storage.swift
[89/97] Compiling DequeModule _DequeBuffer.swift
[90/97] Compiling DequeModule _DequeBufferHeader.swift
[91/97] Compiling DequeModule Deque._UnsafeHandle.swift
[92/97] Compiling DequeModule Deque.swift
[93/97] Compiling DequeModule _DequeSlot.swift
[94/97] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/97] Compiling DequeModule Deque+Codable.swift
[96/97] Compiling DequeModule Deque+Collection.swift
[97/97] Emitting module DequeModule
[99/159] Compiling NIOCore NIOAny.swift
[100/159] Compiling NIOCore NIOCloseOnErrorHandler.swift
[101/159] Compiling NIOCore NIOCoreSendableMetatype.swift
[102/159] Compiling NIOCore NIOLoopBound.swift
[103/159] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[104/159] Compiling NIOCore NIOScheduledCallback.swift
[105/159] Compiling NIOCore NIOSendable.swift
[106/159] Compiling NIOCore RecvByteBufferAllocator.swift
[107/167] Compiling NIOCore IOData.swift
[108/167] Compiling NIOCore IPProtocol.swift
[109/167] Compiling NIOCore IntegerBitPacking.swift
[110/167] Compiling NIOCore IntegerTypes.swift
[111/167] Compiling NIOCore Interfaces.swift
[112/167] Compiling NIOCore Linux.swift
[113/167] Compiling NIOCore MarkedCircularBuffer.swift
[114/167] Compiling NIOCore MulticastChannel.swift
[115/167] Compiling NIOCore EventLoopFuture+Deprecated.swift
[116/167] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[117/167] Compiling NIOCore EventLoopFuture.swift
[118/167] Compiling NIOCore FileDescriptor.swift
[119/167] Compiling NIOCore FileHandle.swift
[120/167] Compiling NIOCore FileRegion.swift
[121/167] Compiling NIOCore GlobalSingletons.swift
[122/167] Compiling NIOCore IO.swift
[123/167] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[124/167] Compiling NIOCore SocketAddresses.swift
[125/167] Compiling NIOCore SocketOptionProvider.swift
[126/167] Compiling NIOCore SystemCallHelpers.swift
[127/167] Compiling NIOCore TimeAmount+Duration.swift
[128/167] Compiling NIOCore TypeAssistedChannelHandler.swift
[129/167] Compiling NIOCore UniversalBootstrapSupport.swift
[130/167] Compiling NIOCore Utilities.swift
[131/167] Compiling NIOCore AddressedEnvelope.swift
[132/167] Compiling NIOCore AsyncAwaitSupport.swift
[133/167] Compiling NIOCore AsyncChannel.swift
[134/167] Compiling NIOCore AsyncChannelHandler.swift
[135/167] Compiling NIOCore AsyncChannelInboundStream.swift
[136/167] Compiling NIOCore AsyncChannelOutboundWriter.swift
[137/167] Compiling NIOCore NIOAsyncSequenceProducer.swift
[138/167] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[139/167] Compiling NIOCore NIOAsyncWriter.swift
[140/167] Compiling NIOCore CircularBuffer.swift
[141/167] Compiling NIOCore Codec.swift
[142/167] Compiling NIOCore ConvenienceOptionSupport.swift
[143/167] Compiling NIOCore DeadChannel.swift
[144/167] Compiling NIOCore DispatchQueue+WithFuture.swift
[145/167] Compiling NIOCore EventLoop+Deprecated.swift
[146/167] Compiling NIOCore EventLoop+SerialExecutor.swift
[147/167] Compiling NIOCore EventLoop.swift
[148/167] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[149/167] Emitting module NIOCore
[150/167] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[151/167] Compiling NIOCore BSDSocketAPI.swift
[152/167] Compiling NIOCore ByteBuffer-aux.swift
[153/167] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[154/167] Compiling NIOCore ByteBuffer-conversions.swift
[155/167] Compiling NIOCore ByteBuffer-core.swift
[156/167] Compiling NIOCore ByteBuffer-hex.swift
[157/167] Compiling NIOCore ByteBuffer-int.swift
[158/167] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[159/167] Compiling NIOCore ByteBuffer-multi-int.swift
[160/167] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[161/167] Compiling NIOCore ByteBuffer-views.swift
[162/167] Compiling NIOCore Channel.swift
[163/167] Compiling NIOCore ChannelHandler.swift
[164/167] Compiling NIOCore ChannelHandlers.swift
[165/167] Compiling NIOCore ChannelInvoker.swift
[166/167] Compiling NIOCore ChannelOption.swift
[167/167] Compiling NIOCore ChannelPipeline.swift
[169/173] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[170/173] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:55:31: error: 'current' is unavailable: RunLoop is not available on WASI
53 |         self.eventLoop._preconditionSafeToWait(file: file, line: line)
54 |
55 |         let runLoop = RunLoop.current
   |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
56 |
57 |         let value: NIOLockedValueBox<Result<Value, any Error>?> = NIOLockedValueBox(nil)
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:65:25: error: value of type 'RunLoop' has no member 'run'
63 |
64 |         while value.withLockedValue({ $0 }) == nil {
65 |             _ = runLoop.run(mode: mode, before: Date().addingTimeInterval(0.01))
   |                         `- error: value of type 'RunLoop' has no member 'run'
66 |         }
67 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[171/173] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[172/173] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[173/173] Emitting module NIOFoundationCompat
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:55:31: error: 'current' is unavailable: RunLoop is not available on WASI
53 |         self.eventLoop._preconditionSafeToWait(file: file, line: line)
54 |
55 |         let runLoop = RunLoop.current
   |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
56 |
57 |         let value: NIOLockedValueBox<Result<Value, any Error>?> = NIOLockedValueBox(nil)
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:65:25: error: value of type 'RunLoop' has no member 'run'
63 |
64 |         while value.withLockedValue({ $0 }) == nil {
65 |             _ = runLoop.run(mode: mode, before: Date().addingTimeInterval(0.01))
   |                         `- error: value of type 'RunLoop' has no member 'run'
66 |         }
67 |
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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/51] Emitting module _JSONCore
[3/51] Compiling Atomics UnsafeAtomic.swift
[4/51] Compiling Atomics UnsafeAtomicLazyReference.swift
[5/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[6/54] Compiling NIOConcurrencyHelpers lock.swift
[7/54] Compiling _NIODataStructures PriorityQueue.swift
[8/54] Compiling _NIODataStructures Heap.swift
[9/54] Compiling _NIODataStructures _TinyArray.swift
[10/54] Emitting module _NIODataStructures
[11/54] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[12/54] Compiling Atomics AtomicMemoryOrderings.swift
[13/54] Compiling InternalCollectionsUtilities Descriptions.swift
[14/54] Compiling Atomics AtomicStorage.swift
[15/55] Compiling Atomics ManagedAtomic.swift
[16/55] Compiling Atomics ManagedAtomicLazyReference.swift
[18/55] Compiling Atomics AtomicValue.swift
[21/55] Compiling NIOConcurrencyHelpers NIOLock.swift
[22/55] Compiling _NIOBase64 Base64.swift
[23/55] Emitting module _NIOBase64
[24/55] Compiling _JSONCore JSONTokenizer.swift
[25/55] Compiling _JSONCore JSONTokenizerDestination.swift
[27/56] Compiling _JSONCore Errors.swift
[28/56] Compiling _JSONCore Bytes.swift
[29/56] Compiling _JSONCore JSONParser+Parsing.swift
[32/57] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[33/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/57] Compiling Atomics IntegerOperations.swift
[35/57] Compiling Atomics Unmanaged extensions.swift
[36/57] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[37/57] Compiling InternalCollectionsUtilities _SortedCollection.swift
[38/57] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[39/57] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[41/57] Emitting module InternalCollectionsUtilities
[42/57] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[43/57] Emitting module NIOConcurrencyHelpers
[44/57] Compiling NIOConcurrencyHelpers atomics.swift
[45/57] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[46/57] Compiling Atomics IntegerConformances.swift
[47/57] Compiling Atomics OptionalRawRepresentable.swift
[48/57] Compiling Atomics RawRepresentable.swift
[53/74] Compiling DequeModule _DequeBuffer.swift
[54/74] Compiling DequeModule _DequeBufferHeader.swift
[55/74] Compiling DequeModule Deque+Equatable.swift
[56/74] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[57/76] Compiling DequeModule _DequeSlot.swift
[58/76] Compiling DequeModule _UnsafeWrappedBuffer.swift
[59/76] Compiling DequeModule Deque+Testing.swift
[60/76] Compiling DequeModule Deque._Storage.swift
[61/76] Compiling DequeModule Deque+Extras.swift
[62/76] Compiling DequeModule Deque+Hashable.swift
[63/76] Compiling DequeModule Deque._UnsafeHandle.swift
[64/76] Compiling DequeModule Deque.swift
[65/76] Compiling DequeModule Deque+Codable.swift
[66/76] Compiling DequeModule Deque+Collection.swift
[67/76] Compiling DequeModule Deque+CustomReflectable.swift
[68/76] Compiling DequeModule Deque+Descriptions.swift
[69/76] Emitting module DequeModule
[73/77] Emitting module Atomics
[79/139] Compiling NIOCore NIOAny.swift
[80/139] Compiling NIOCore NIOCloseOnErrorHandler.swift
[81/139] Compiling NIOCore NIOCoreSendableMetatype.swift
[82/139] Compiling NIOCore NIOLoopBound.swift
[83/139] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[84/139] Compiling NIOCore NIOScheduledCallback.swift
[85/139] Compiling NIOCore NIOSendable.swift
[86/139] Compiling NIOCore RecvByteBufferAllocator.swift
[87/147] Compiling NIOCore IOData.swift
[88/147] Compiling NIOCore IPProtocol.swift
[89/147] Compiling NIOCore IntegerBitPacking.swift
[90/147] Compiling NIOCore IntegerTypes.swift
[91/147] Compiling NIOCore Interfaces.swift
[92/147] Compiling NIOCore Linux.swift
[93/147] Compiling NIOCore MarkedCircularBuffer.swift
[94/147] Compiling NIOCore MulticastChannel.swift
[95/147] Compiling NIOCore EventLoopFuture+Deprecated.swift
[96/147] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[97/147] Compiling NIOCore EventLoopFuture.swift
[98/147] Compiling NIOCore FileDescriptor.swift
[99/147] Compiling NIOCore FileHandle.swift
[100/147] Compiling NIOCore FileRegion.swift
[101/147] Compiling NIOCore GlobalSingletons.swift
[102/147] Compiling NIOCore IO.swift
[103/147] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[104/147] Compiling NIOCore SocketAddresses.swift
[105/147] Compiling NIOCore SocketOptionProvider.swift
[106/147] Compiling NIOCore SystemCallHelpers.swift
[107/147] Compiling NIOCore TimeAmount+Duration.swift
[108/147] Compiling NIOCore TypeAssistedChannelHandler.swift
[109/147] Compiling NIOCore UniversalBootstrapSupport.swift
[110/147] Compiling NIOCore Utilities.swift
[111/147] Compiling NIOCore CircularBuffer.swift
[112/147] Compiling NIOCore Codec.swift
[113/147] Compiling NIOCore ConvenienceOptionSupport.swift
[114/147] Compiling NIOCore DeadChannel.swift
[115/147] Compiling NIOCore DispatchQueue+WithFuture.swift
[116/147] Compiling NIOCore EventLoop+Deprecated.swift
[117/147] Compiling NIOCore EventLoop+SerialExecutor.swift
[118/147] Compiling NIOCore EventLoop.swift
[119/147] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[120/147] Compiling NIOCore AddressedEnvelope.swift
[121/147] Compiling NIOCore AsyncAwaitSupport.swift
[122/147] Compiling NIOCore AsyncChannel.swift
[123/147] Compiling NIOCore AsyncChannelHandler.swift
[124/147] Compiling NIOCore AsyncChannelInboundStream.swift
[125/147] Compiling NIOCore AsyncChannelOutboundWriter.swift
[126/147] Compiling NIOCore NIOAsyncSequenceProducer.swift
[127/147] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[128/147] Compiling NIOCore NIOAsyncWriter.swift
[129/147] Emitting module NIOCore
[130/147] Compiling NIOCore ByteBuffer-multi-int.swift
[131/147] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[132/147] Compiling NIOCore ByteBuffer-views.swift
[133/147] Compiling NIOCore Channel.swift
[134/147] Compiling NIOCore ChannelHandler.swift
[135/147] Compiling NIOCore ChannelHandlers.swift
[136/147] Compiling NIOCore ChannelInvoker.swift
[137/147] Compiling NIOCore ChannelOption.swift
[138/147] Compiling NIOCore ChannelPipeline.swift
[139/147] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[140/147] Compiling NIOCore BSDSocketAPI.swift
[141/147] Compiling NIOCore ByteBuffer-aux.swift
[142/147] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[143/147] Compiling NIOCore ByteBuffer-conversions.swift
[144/147] Compiling NIOCore ByteBuffer-core.swift
[145/147] Compiling NIOCore ByteBuffer-hex.swift
[146/147] Compiling NIOCore ByteBuffer-int.swift
[147/147] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[149/153] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[150/153] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:55:31: error: 'current' is unavailable: RunLoop is not available on WASI
53 |         self.eventLoop._preconditionSafeToWait(file: file, line: line)
54 |
55 |         let runLoop = RunLoop.current
   |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
56 |
57 |         let value: NIOLockedValueBox<Result<Value, any Error>?> = NIOLockedValueBox(nil)
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:65:25: error: value of type 'RunLoop' has no member 'run'
63 |
64 |         while value.withLockedValue({ $0 }) == nil {
65 |             _ = runLoop.run(mode: mode, before: Date().addingTimeInterval(0.01))
   |                         `- error: value of type 'RunLoop' has no member 'run'
66 |         }
67 |
[151/153] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[152/153] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[153/153] Emitting module NIOFoundationCompat
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:55:31: error: 'current' is unavailable: RunLoop is not available on WASI
53 |         self.eventLoop._preconditionSafeToWait(file: file, line: line)
54 |
55 |         let runLoop = RunLoop.current
   |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
56 |
57 |         let value: NIOLockedValueBox<Result<Value, any Error>?> = NIOLockedValueBox(nil)
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift:65:25: error: value of type 'RunLoop' has no member 'run'
63 |
64 |         while value.withLockedValue({ $0 }) == nil {
65 |             _ = runLoop.run(mode: mode, before: Date().addingTimeInterval(0.01))
   |                         `- error: value of type 'RunLoop' has no member 'run'
66 |         }
67 |
BUILD FAILURE 6.1 wasm