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 master (7c8ce5), with Swift 6.1 for Wasm on 31 Aug 2025 20:55:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/IkigaJSON.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7c8ce5b Remove logo
Cloned https://github.com/orlandos-nl/IkigaJSON.git
Revision (git rev-parse @):
7c8ce5b114afa2d0392759fe63a832861dada470
SUCCESS checkout https://github.com/orlandos-nl/IkigaJSON.git at master
========================================
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-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/77933] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (10.80s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
[218/6749] Fetching swift-atomics, swift-system
[1282/24143] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.97s)
[9290/22335] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (4.39s)
Fetched https://github.com/apple/swift-collections.git from cache (4.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (5.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.30s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.6.2
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.1
Building for debugging...
[0/21] Write sources
[10/21] Compiling CNIOWASI CNIOWASI.c
[11/21] Compiling CNIOWindows WSAStartup.c
[12/21] Compiling _AtomicsShims.c
[12/21] Write sources
[14/21] Compiling CNIOLinux shim.c
[15/21] Compiling CNIOWindows shim.c
[15/21] Compiling CNIOLinux liburing_shims.c
[17/21] Compiling CNIODarwin shim.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[20/65] Emitting module _NIOBase64
[21/65] Emitting module _NIODataStructures
[22/65] Emitting module InternalCollectionsUtilities
[22/66] Compiling c-nioatomics.c
[24/66] Compiling _NIODataStructures _TinyArray.swift
[25/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/66] Compiling Atomics IntegerConformances.swift
[27/66] Compiling Atomics PointerConformances.swift
[28/66] Compiling Atomics Primitives.native.swift
[29/68] Compiling Atomics ManagedAtomic.swift
[30/68] Compiling Atomics ManagedAtomicLazyReference.swift
[31/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[32/68] Compiling InternalCollectionsUtilities Debugging.swift
[33/68] Compiling Atomics UnsafeAtomic.swift
[34/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[35/68] Compiling Atomics AtomicStorage.swift
[36/68] Compiling Atomics AtomicValue.swift
[37/68] Compiling _NIODataStructures PriorityQueue.swift
[38/68] Compiling _JSONCore JSONTokenizer.swift
[39/68] Compiling _JSONCore Errors.swift
[40/68] Compiling _JSONCore Bytes.swift
[41/68] Compiling _JSONCore JSONParser+Parsing.swift
[42/68] Compiling _JSONCore JSONTokenizerDestination.swift
[43/68] Emitting module _JSONCore
[46/68] Emitting module Atomics
[47/68] Compiling Atomics OptionalRawRepresentable.swift
[48/68] Compiling Atomics RawRepresentable.swift
[49/68] Compiling Atomics AtomicBool.swift
[54/69] Compiling _NIOBase64 Base64.swift
[55/69] Compiling Atomics AtomicInteger.swift
[56/69] Compiling Atomics AtomicOptionalWrappable.swift
[57/69] Compiling Atomics AtomicReference.swift
[64/70] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[68/71] Compiling Atomics IntegerOperations.swift
[69/71] Compiling Atomics Unmanaged extensions.swift
[69/72] Compiling c-atomics.c
[72/72] Compiling _NIODataStructures Heap.swift
[74/79] Compiling NIOConcurrencyHelpers lock.swift
[75/79] Emitting module NIOConcurrencyHelpers
[76/79] Compiling NIOConcurrencyHelpers atomics.swift
[77/79] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[78/79] Compiling NIOConcurrencyHelpers NIOLock.swift
[79/79] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[81/95] Compiling DequeModule Deque+Testing.swift
[82/95] Compiling DequeModule Deque._Storage.swift
[83/95] Compiling DequeModule Deque+Equatable.swift
[84/95] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/95] Compiling DequeModule Deque+Extras.swift
[86/95] Compiling DequeModule Deque+Hashable.swift
[87/97] Compiling DequeModule _DequeBuffer.swift
[88/97] Compiling DequeModule _DequeBufferHeader.swift
[89/97] Compiling DequeModule Deque._UnsafeHandle.swift
[90/97] Compiling DequeModule Deque.swift
[91/97] Compiling DequeModule _DequeSlot.swift
[92/97] Compiling DequeModule _UnsafeWrappedBuffer.swift
[93/97] Compiling DequeModule Deque+CustomReflectable.swift
[94/97] Compiling DequeModule Deque+Descriptions.swift
[95/97] Emitting module DequeModule
[96/97] Compiling DequeModule Deque+Codable.swift
[97/97] Compiling DequeModule Deque+Collection.swift
[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 SingleStepByteToMessageDecoder.swift
[108/167] Compiling NIOCore SocketAddresses.swift
[109/167] Compiling NIOCore SocketOptionProvider.swift
[110/167] Compiling NIOCore SystemCallHelpers.swift
[111/167] Compiling NIOCore TimeAmount+Duration.swift
[112/167] Compiling NIOCore TypeAssistedChannelHandler.swift
[113/167] Compiling NIOCore UniversalBootstrapSupport.swift
[114/167] Compiling NIOCore Utilities.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 CircularBuffer.swift
[124/167] Compiling NIOCore Codec.swift
[125/167] Compiling NIOCore ConvenienceOptionSupport.swift
[126/167] Compiling NIOCore DeadChannel.swift
[127/167] Compiling NIOCore DispatchQueue+WithFuture.swift
[128/167] Compiling NIOCore EventLoop+Deprecated.swift
[129/167] Compiling NIOCore EventLoop+SerialExecutor.swift
[130/167] Compiling NIOCore EventLoop.swift
[131/167] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[132/167] Compiling NIOCore AddressedEnvelope.swift
[133/167] Compiling NIOCore AsyncAwaitSupport.swift
[134/167] Compiling NIOCore AsyncChannel.swift
[135/167] Compiling NIOCore AsyncChannelHandler.swift
[136/167] Compiling NIOCore AsyncChannelInboundStream.swift
[137/167] Compiling NIOCore AsyncChannelOutboundWriter.swift
[138/167] Compiling NIOCore NIOAsyncSequenceProducer.swift
[139/167] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[140/167] Compiling NIOCore NIOAsyncWriter.swift
[141/167] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[142/167] Compiling NIOCore BSDSocketAPI.swift
[143/167] Compiling NIOCore ByteBuffer-aux.swift
[144/167] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[145/167] Compiling NIOCore ByteBuffer-conversions.swift
[146/167] Compiling NIOCore ByteBuffer-core.swift
[147/167] Compiling NIOCore ByteBuffer-hex.swift
[148/167] Compiling NIOCore ByteBuffer-int.swift
[149/167] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[150/167] Compiling NIOCore ByteBuffer-multi-int.swift
[151/167] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[152/167] Compiling NIOCore ByteBuffer-views.swift
[153/167] Compiling NIOCore Channel.swift
[154/167] Compiling NIOCore ChannelHandler.swift
[155/167] Compiling NIOCore ChannelHandlers.swift
[156/167] Compiling NIOCore ChannelInvoker.swift
[157/167] Compiling NIOCore ChannelOption.swift
[158/167] Compiling NIOCore ChannelPipeline.swift
[159/167] Compiling NIOCore IOData.swift
[160/167] Compiling NIOCore IPProtocol.swift
[161/167] Compiling NIOCore IntegerBitPacking.swift
[162/167] Compiling NIOCore IntegerTypes.swift
[163/167] Compiling NIOCore Interfaces.swift
[164/167] Compiling NIOCore Linux.swift
[165/167] Compiling NIOCore MarkedCircularBuffer.swift
[166/167] Compiling NIOCore MulticastChannel.swift
[167/167] Emitting module NIOCore
[169/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 |
[170/173] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[171/173] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[172/173] Compiling NIOFoundationCompat ByteBuffer-foundation.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-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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 NIOConcurrencyHelpers lock.swift
[4/51] Compiling NIOConcurrencyHelpers NIOLock.swift
[5/51] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[6/51] Compiling Atomics PointerConformances.swift
[7/51] Compiling Atomics Primitives.native.swift
[8/51] Compiling Atomics AtomicReference.swift
[9/51] Compiling Atomics AtomicMemoryOrderings.swift
[10/52] Compiling Atomics UnsafeAtomic.swift
[11/52] Compiling Atomics UnsafeAtomicLazyReference.swift
[12/54] Compiling _JSONCore JSONParser+Parsing.swift
[13/54] Emitting module _NIODataStructures
[14/54] Emitting module InternalCollectionsUtilities
[15/54] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[16/54] Compiling Atomics AtomicStorage.swift
[17/54] Compiling Atomics AtomicValue.swift
[19/54] Compiling Atomics DoubleWord.swift
[20/54] Compiling Atomics ManagedAtomic.swift
[21/54] Compiling Atomics ManagedAtomicLazyReference.swift
[22/54] Emitting module NIOConcurrencyHelpers
[23/54] Compiling _NIOBase64 Base64.swift
[24/54] Emitting module _NIOBase64
[25/55] Compiling Atomics OptionalRawRepresentable.swift
[26/55] Compiling Atomics RawRepresentable.swift
[27/55] Compiling Atomics AtomicBool.swift
[28/55] Compiling _JSONCore Bytes.swift
[29/55] Compiling _JSONCore Errors.swift
[30/55] Compiling _JSONCore JSONTokenizer.swift
[31/55] Compiling _JSONCore JSONTokenizerDestination.swift
[33/56] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/56] Compiling _NIODataStructures PriorityQueue.swift
[35/56] Compiling _NIODataStructures Heap.swift
[36/56] Compiling _NIODataStructures _TinyArray.swift
[37/56] Compiling Atomics IntegerOperations.swift
[38/57] Compiling Atomics Unmanaged extensions.swift
[44/57] Compiling Atomics AtomicInteger.swift
[45/57] Compiling Atomics AtomicOptionalWrappable.swift
[47/57] Compiling Atomics IntegerConformances.swift
[48/58] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[50/58] Compiling NIOConcurrencyHelpers atomics.swift
[56/74] Compiling DequeModule Deque+CustomReflectable.swift
[57/74] Compiling DequeModule Deque+Descriptions.swift
[58/76] Compiling DequeModule _DequeBuffer.swift
[59/76] Compiling DequeModule _DequeBufferHeader.swift
[60/76] Compiling DequeModule Deque+Equatable.swift
[61/76] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[62/76] Compiling DequeModule _DequeSlot.swift
[63/76] Compiling DequeModule _UnsafeWrappedBuffer.swift
[64/76] Emitting module Atomics
[65/76] Compiling DequeModule Deque+Extras.swift
[66/76] Compiling DequeModule Deque+Hashable.swift
[67/76] Compiling DequeModule Deque+Testing.swift
[68/76] Compiling DequeModule Deque._Storage.swift
[69/76] Compiling DequeModule Deque._UnsafeHandle.swift
[70/76] Compiling DequeModule Deque.swift
[71/76] Compiling DequeModule Deque+Codable.swift
[72/76] Compiling DequeModule Deque+Collection.swift
[73/76] Emitting module DequeModule
[79/139] Compiling NIOCore EventLoopFuture+Deprecated.swift
[80/139] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[81/139] Compiling NIOCore EventLoopFuture.swift
[82/139] Compiling NIOCore FileDescriptor.swift
[83/139] Compiling NIOCore FileHandle.swift
[84/139] Compiling NIOCore FileRegion.swift
[85/139] Compiling NIOCore GlobalSingletons.swift
[86/139] Compiling NIOCore IO.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 NIOThrowingAsyncSequenceProducer.swift
[96/147] Compiling NIOCore BSDSocketAPI.swift
[97/147] Compiling NIOCore ByteBuffer-aux.swift
[98/147] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[99/147] Compiling NIOCore ByteBuffer-conversions.swift
[100/147] Compiling NIOCore ByteBuffer-core.swift
[101/147] Compiling NIOCore ByteBuffer-hex.swift
[102/147] Compiling NIOCore ByteBuffer-int.swift
[103/147] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[104/147] Compiling NIOCore AddressedEnvelope.swift
[105/147] Compiling NIOCore AsyncAwaitSupport.swift
[106/147] Compiling NIOCore AsyncChannel.swift
[107/147] Compiling NIOCore AsyncChannelHandler.swift
[108/147] Compiling NIOCore AsyncChannelInboundStream.swift
[109/147] Compiling NIOCore AsyncChannelOutboundWriter.swift
[110/147] Compiling NIOCore NIOAsyncSequenceProducer.swift
[111/147] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[112/147] Compiling NIOCore NIOAsyncWriter.swift
[113/147] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[114/147] Compiling NIOCore SocketAddresses.swift
[115/147] Compiling NIOCore SocketOptionProvider.swift
[116/147] Compiling NIOCore SystemCallHelpers.swift
[117/147] Compiling NIOCore TimeAmount+Duration.swift
[118/147] Compiling NIOCore TypeAssistedChannelHandler.swift
[119/147] Compiling NIOCore UniversalBootstrapSupport.swift
[120/147] Compiling NIOCore Utilities.swift
[121/147] Emitting module NIOCore
[122/147] Compiling NIOCore NIOAny.swift
[123/147] Compiling NIOCore NIOCloseOnErrorHandler.swift
[124/147] Compiling NIOCore NIOCoreSendableMetatype.swift
[125/147] Compiling NIOCore NIOLoopBound.swift
[126/147] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[127/147] Compiling NIOCore NIOScheduledCallback.swift
[128/147] Compiling NIOCore NIOSendable.swift
[129/147] Compiling NIOCore RecvByteBufferAllocator.swift
[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 CircularBuffer.swift
[140/147] Compiling NIOCore Codec.swift
[141/147] Compiling NIOCore ConvenienceOptionSupport.swift
[142/147] Compiling NIOCore DeadChannel.swift
[143/147] Compiling NIOCore DispatchQueue+WithFuture.swift
[144/147] Compiling NIOCore EventLoop+Deprecated.swift
[145/147] Compiling NIOCore EventLoop+SerialExecutor.swift
[146/147] Compiling NIOCore EventLoop.swift
[147/147] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[149/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 |
[150/153] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[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