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 Macro, reference develop (7c1a6a), with Swift 6.1 for Wasm on 8 Sep 2025 14:28:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/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/Macro-swift/Macro.git
Reference: develop
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/Macro-swift/Macro
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 7c1a6a5 Add missing all-tests to PathTests
Cloned https://github.com/Macro-swift/Macro.git
Revision (git rev-parse @):
7c1a6a545e820ab209d841e8c59a61fd14d7cdaa
SUCCESS checkout https://github.com/Macro-swift/Macro.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Macro-swift/Macro.git
https://github.com/Macro-swift/Macro.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.80.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "Macro",
  "name" : "Macro",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Macro",
      "targets" : [
        "Macro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MacroCore",
      "targets" : [
        "MacroCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "xsys",
      "targets" : [
        "xsys"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "http",
      "targets" : [
        "http"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "fs",
      "targets" : [
        "fs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MacroTestUtilities",
      "targets" : [
        "MacroTestUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xsys",
      "module_type" : "SwiftTarget",
      "name" : "xsys",
      "path" : "Sources/xsys",
      "product_memberships" : [
        "Macro",
        "MacroCore",
        "xsys",
        "http",
        "fs",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Module.swift",
        "POSIXError.swift",
        "SocketAddress.swift",
        "UUID.swift",
        "dylib.swift",
        "fd.swift",
        "ioctl.swift",
        "misc.swift",
        "ntohs.swift",
        "sockaddr_any.swift",
        "socket.swift",
        "time.swift",
        "timespec.swift",
        "timeval_any.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "http",
      "module_type" : "SwiftTarget",
      "name" : "http",
      "path" : "Sources/http",
      "product_dependencies" : [
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOHTTP1"
      ],
      "product_memberships" : [
        "Macro",
        "http",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Agent/Agent.swift",
        "Agent/ClientRequest.swift",
        "Agent/Foundation/URLRequestInit.swift",
        "Agent/Foundation/URLSessionAgent.swift",
        "Agent/Foundation/URLSessionClientRequest.swift",
        "BasicAuth.swift",
        "Globals.swift",
        "IncomingMessage.swift",
        "QueryString.swift",
        "Server/Server.swift",
        "Server/ServerResponse.swift",
        "Support/HTTPHeadersHolder.swift",
        "Support/OutgoingMessage.swift",
        "http.swift"
      ],
      "target_dependencies" : [
        "MacroCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "fs",
      "module_type" : "SwiftTarget",
      "name" : "fs",
      "path" : "Sources/fs",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "Macro",
        "fs",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Directory.swift",
        "FSWatcher.swift",
        "File.swift",
        "JSONFile.swift",
        "Path.swift",
        "PosixWrappers.swift",
        "Promise.swift",
        "Streams/FileReadStream.swift",
        "Streams/FileStream.swift",
        "Streams/FileWriteStream.swift",
        "Utils/AsyncWrapper.swift",
        "Utils/ResultExtensions.swift",
        "Utils/StatStruct.swift",
        "fs.swift"
      ],
      "target_dependencies" : [
        "MacroCore",
        "xsys"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MacroTests",
      "module_type" : "SwiftTarget",
      "name" : "MacroTests",
      "path" : "Tests/MacroTests",
      "sources" : [
        "AgentTests.swift",
        "BufferTests.swift",
        "ByteBufferTests.swift",
        "CollectionTests.swift",
        "MacroTests.swift",
        "PathTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MacroTestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MacroTestUtilities",
      "module_type" : "SwiftTarget",
      "name" : "MacroTestUtilities",
      "path" : "Sources/MacroTestUtilities",
      "product_memberships" : [
        "MacroTestUtilities"
      ],
      "sources" : [
        "TestServerResponse.swift"
      ],
      "target_dependencies" : [
        "Macro"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MacroCore",
      "module_type" : "SwiftTarget",
      "name" : "MacroCore",
      "path" : "Sources/MacroCore",
      "product_dependencies" : [
        "Atomics",
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOFoundationCompat",
        "Logging"
      ],
      "product_memberships" : [
        "Macro",
        "MacroCore",
        "http",
        "fs",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Buffer/Buffer.swift",
        "Buffer/BufferData.swift",
        "Buffer/BufferDeprecations.swift",
        "Buffer/BufferHexEncoding.swift",
        "Buffer/BufferStrings.swift",
        "Buffer/CollectionUtils.swift",
        "Concurrency.swift",
        "Console.swift",
        "Dirname.swift",
        "EnvironmentValues.swift",
        "Events/ErrorEmitter.swift",
        "Events/EventListenerSet.swift",
        "Events/ListenerType.swift",
        "JSError.swift",
        "JSON.swift",
        "JSStubs/CollectionStubs.swift",
        "JSStubs/Math.swift",
        "JSStubs/Object.swift",
        "JSStubs/StringStubs.swift",
        "JSStubs/ToString.swift",
        "LeftPad.swift",
        "MacroCore.swift",
        "MacroError.swift",
        "NextTick.swift",
        "Process/CommandLine.swift",
        "Process/DetectXcode.swift",
        "Process/Environment.swift",
        "Process/Process.swift",
        "Process/Warnings.swift",
        "Regex.swift",
        "Streams/Concat.swift",
        "Streams/DuplexStreamType.swift",
        "Streams/Pipe.swift",
        "Streams/ReadableByteStream.swift",
        "Streams/ReadableByteStreamType.swift",
        "Streams/ReadableStreamBase.swift",
        "Streams/ReadableStreamType.swift",
        "Streams/WritableByteStream.swift",
        "Streams/WritableByteStreamType.swift",
        "Streams/WritableStreamBase.swift",
        "Streams/WritableStreamType.swift",
        "StringEncoding.swift"
      ],
      "target_dependencies" : [
        "xsys"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Macro",
      "module_type" : "SwiftTarget",
      "name" : "Macro",
      "path" : "Sources/Macro",
      "product_memberships" : [
        "Macro",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Macro.swift"
      ],
      "target_dependencies" : [
        "MacroCore",
        "xsys",
        "http",
        "fs"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/1814] Fetching swift-atomics
[74/5717] Fetching swift-atomics, swift-log
[5718/83754] Fetching swift-atomics, swift-log, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (8.21s)
Fetched https://github.com/apple/swift-log.git from cache (8.21s)
Fetched https://github.com/apple/swift-nio.git from cache (8.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (9.36s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.28s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4937] Fetching swift-system
[4198/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.10s)
Fetched https://github.com/apple/swift-collections.git from cache (2.13s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (3.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.66s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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
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.6.2
Building for debugging...
[0/33] Write sources
[18/33] Compiling CNIOWindows shim.c
[19/33] Compiling CNIOWindows WSAStartup.c
[20/33] Compiling CNIOWASI CNIOWASI.c
[21/33] Compiling CNIOLinux shim.c
[22/33] Compiling CNIOLinux liburing_shims.c
[22/33] Compiling CNIOPosix event_loop_id.c
[24/33] Compiling CNIODarwin shim.c
[25/33] Write sources
[26/33] Compiling CNIOLLHTTP c_nio_http.c
[27/33] Compiling CNIOLLHTTP c_nio_api.c
[28/33] Compiling _AtomicsShims.c
[29/33] Write swift-version-24593BA9C3E375BF.txt
[31/72] Emitting module _NIOBase64
[31/72] Compiling CNIOLLHTTP c_nio_llhttp.c
[32/90] Compiling c-atomics.c
[33/90] Compiling c-nioatomics.c
[35/96] Compiling Atomics PointerConformances.swift
[36/96] Compiling Atomics Primitives.native.swift
[37/97] Compiling _NIOBase64 Base64.swift
[38/98] Compiling xsys timespec.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[39/99] Compiling Atomics UnsafeAtomic.swift
[40/99] Compiling Atomics UnsafeAtomicLazyReference.swift
[41/101] Compiling Atomics AtomicBool.swift
[42/101] Compiling Atomics IntegerConformances.swift
[43/101] Compiling Atomics AtomicReference.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[44/101] Compiling Atomics AtomicMemoryOrderings.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[45/101] Compiling Atomics AtomicInteger.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[46/101] Compiling Atomics AtomicOptionalWrappable.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[47/101] Compiling Atomics ManagedAtomic.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[48/101] Compiling Atomics ManagedAtomicLazyReference.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[49/101] Emitting module InternalCollectionsUtilities
[50/101] Compiling Atomics OptionalRawRepresentable.swift
[51/101] Compiling Atomics RawRepresentable.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[56/101] Compiling _NIODataStructures _TinyArray.swift
[57/101] Compiling _NIODataStructures PriorityQueue.swift
[60/101] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/101] Compiling Atomics DoubleWord.swift
[65/101] Compiling Logging Locks.swift
[66/101] Emitting module Logging
[72/101] Compiling Atomics AtomicStorage.swift
[73/101] Compiling Atomics AtomicValue.swift
[75/101] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[76/101] Compiling xsys timeval_any.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[77/101] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[78/102] Compiling Atomics IntegerOperations.swift
[79/102] Compiling Atomics Unmanaged extensions.swift
[80/102] Compiling NIOConcurrencyHelpers NIOLock.swift
[81/102] Compiling NIOConcurrencyHelpers lock.swift
[82/102] Compiling Logging MetadataProvider.swift
[84/102] Emitting module NIOConcurrencyHelpers
[85/102] Emitting module _NIODataStructures
[86/102] Compiling Logging LogHandler.swift
[87/102] Compiling Logging Logging.swift
[88/102] Compiling _NIODataStructures Heap.swift
[90/104] Emitting module Atomics
[92/104] Compiling NIOConcurrencyHelpers atomics.swift
[93/104] Compiling NIOConcurrencyHelpers NIOAtomic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/105] Emitting module xsys
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[96/120] Compiling DequeModule Deque+CustomReflectable.swift
[97/120] Compiling DequeModule Deque+Descriptions.swift
[99/122] Compiling DequeModule Deque+Extras.swift
[100/122] Compiling DequeModule Deque+Hashable.swift
[101/122] Compiling DequeModule Deque+Codable.swift
[102/122] Compiling DequeModule Deque+Collection.swift
[104/123] Compiling DequeModule _DequeBuffer.swift
[105/123] Compiling DequeModule _DequeBufferHeader.swift
[109/123] Compiling DequeModule _DequeSlot.swift
[110/123] Compiling DequeModule _UnsafeWrappedBuffer.swift
[111/123] Compiling DequeModule Deque+Testing.swift
[112/123] Compiling DequeModule Deque._Storage.swift
[113/123] Compiling DequeModule Deque+Equatable.swift
[114/123] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[115/123] Compiling DequeModule Deque._UnsafeHandle.swift
[116/123] Compiling DequeModule Deque.swift
[119/123] Emitting module DequeModule
[121/185] Compiling NIOCore NIOAny.swift
[122/185] Compiling NIOCore NIOCloseOnErrorHandler.swift
[123/185] Compiling NIOCore NIOCoreSendableMetatype.swift
[124/185] Compiling NIOCore NIOLoopBound.swift
[125/185] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[126/185] Compiling NIOCore NIOScheduledCallback.swift
[127/185] Compiling NIOCore NIOSendable.swift
[128/185] Compiling NIOCore RecvByteBufferAllocator.swift
[129/185] Compiling NIOCore IOData.swift
[130/185] Compiling NIOCore IPProtocol.swift
[131/185] Compiling NIOCore IntegerBitPacking.swift
[132/185] Compiling NIOCore IntegerTypes.swift
[133/185] Compiling NIOCore Interfaces.swift
[134/185] Compiling NIOCore Linux.swift
[135/185] Compiling NIOCore MarkedCircularBuffer.swift
[136/185] Compiling NIOCore MulticastChannel.swift
[137/193] Compiling NIOCore AddressedEnvelope.swift
[138/193] Compiling NIOCore AsyncAwaitSupport.swift
[139/193] Compiling NIOCore AsyncChannel.swift
[140/193] Compiling NIOCore AsyncChannelHandler.swift
[141/193] Compiling NIOCore AsyncChannelInboundStream.swift
[142/193] Compiling NIOCore AsyncChannelOutboundWriter.swift
[143/193] Compiling NIOCore NIOAsyncSequenceProducer.swift
[144/193] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[145/193] Compiling NIOCore NIOAsyncWriter.swift
[146/193] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[147/193] Compiling NIOCore SocketAddresses.swift
[148/193] Compiling NIOCore SocketOptionProvider.swift
[149/193] Compiling NIOCore SystemCallHelpers.swift
[150/193] Compiling NIOCore TimeAmount+Duration.swift
[151/193] Compiling NIOCore TypeAssistedChannelHandler.swift
[152/193] Compiling NIOCore UniversalBootstrapSupport.swift
[153/193] Compiling NIOCore Utilities.swift
[154/193] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[155/193] Compiling NIOCore BSDSocketAPI.swift
[156/193] Compiling NIOCore ByteBuffer-aux.swift
[157/193] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[158/193] Compiling NIOCore ByteBuffer-conversions.swift
[159/193] Compiling NIOCore ByteBuffer-core.swift
[160/193] Compiling NIOCore ByteBuffer-hex.swift
[161/193] Compiling NIOCore ByteBuffer-int.swift
[162/193] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[163/193] Compiling NIOCore CircularBuffer.swift
[164/193] Compiling NIOCore Codec.swift
[165/193] Compiling NIOCore ConvenienceOptionSupport.swift
[166/193] Compiling NIOCore DeadChannel.swift
[167/193] Compiling NIOCore DispatchQueue+WithFuture.swift
[168/193] Compiling NIOCore EventLoop+Deprecated.swift
[169/193] Compiling NIOCore EventLoop+SerialExecutor.swift
[170/193] Compiling NIOCore EventLoop.swift
[171/193] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[172/193] Compiling NIOCore EventLoopFuture+Deprecated.swift
[173/193] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[174/193] Compiling NIOCore EventLoopFuture.swift
[175/193] Compiling NIOCore FileDescriptor.swift
[176/193] Compiling NIOCore FileHandle.swift
[177/193] Compiling NIOCore FileRegion.swift
[178/193] Compiling NIOCore GlobalSingletons.swift
[179/193] Compiling NIOCore IO.swift
[180/193] Compiling NIOCore ByteBuffer-multi-int.swift
[181/193] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[182/193] Compiling NIOCore ByteBuffer-views.swift
[183/193] Compiling NIOCore Channel.swift
[184/193] Compiling NIOCore ChannelHandler.swift
[185/193] Compiling NIOCore ChannelHandlers.swift
[186/193] Compiling NIOCore ChannelInvoker.swift
[187/193] Compiling NIOCore ChannelOption.swift
[188/193] Compiling NIOCore ChannelPipeline.swift
[189/193] Emitting module NIOCore
[191/267] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[192/267] Compiling NIOPosix Pool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[193/267] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[194/267] Compiling NIOPosix PosixSingletons.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[195/267] Compiling NIOPosix RawSocketBootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[196/267] Compiling NIOPosix Resolver.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[197/267] Compiling NIOPosix Selectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[198/267] Compiling NIOPosix SelectableChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[199/273] Compiling NIOEmbedded AsyncTestingChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOEmbedded/AsyncTestingChannel.swift:731:11: error: cannot find type 'NIOAsyncTestingChannel' in scope
729 | // Synchronous options are never Sendable.
730 | @available(*, unavailable)
731 | extension NIOAsyncTestingChannel.SynchronousOptions: Sendable {}
    |           `- error: cannot find type 'NIOAsyncTestingChannel' in scope
732 |
[200/273] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[201/273] 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 |
[202/273] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[203/273] 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 |
[204/273] Compiling NIOPosix BaseSocket.swift
[205/273] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[206/275] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[207/275] Emitting module NIOEmbedded
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOEmbedded/AsyncTestingChannel.swift:731:11: error: cannot find type 'NIOAsyncTestingChannel' in scope
729 | // Synchronous options are never Sendable.
730 | @available(*, unavailable)
731 | extension NIOAsyncTestingChannel.SynchronousOptions: Sendable {}
    |           `- error: cannot find type 'NIOAsyncTestingChannel' in scope
732 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/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/64] Compiling Atomics Primitives.native.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[3/64] Compiling Atomics AtomicInteger.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[4/65] Compiling InternalCollectionsUtilities _UniqueCollection.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[5/65] Compiling InternalCollectionsUtilities Debugging.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[6/65] Compiling Atomics IntegerConformances.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[7/65] Compiling Atomics PointerConformances.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[8/65] Compiling xsys timeval_any.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[9/65] Compiling Logging MetadataProvider.swift
[10/65] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/66] Emitting module xsys
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[12/66] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[13/66] Compiling InternalCollectionsUtilities _SortedCollection.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[14/66] Compiling InternalCollectionsUtilities Descriptions.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[15/66] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[16/66] Compiling NIOConcurrencyHelpers lock.swift
[25/66] Compiling Atomics ManagedAtomic.swift
[26/66] Compiling Atomics ManagedAtomicLazyReference.swift
[27/66] Compiling Atomics UnsafeAtomic.swift
[28/66] Compiling Atomics UnsafeAtomicLazyReference.swift
[29/68] Compiling xsys timespec.swift
/host/spi-builder-workspace/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 |   import Glibc
13 | #else
14 |   import Darwin
   |          `- error: no such module 'Darwin'
15 | #endif
16 |
[34/68] Emitting module Logging
[35/68] Emitting module _NIODataStructures
[36/68] Compiling _NIODataStructures Heap.swift
[37/68] Compiling NIOConcurrencyHelpers NIOLock.swift
[38/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/68] Emitting module _NIOBase64
[40/68] Compiling _NIOBase64 Base64.swift
[42/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[43/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[44/69] Emitting module InternalCollectionsUtilities
[45/69] Compiling _NIODataStructures PriorityQueue.swift
[46/69] Compiling _NIODataStructures _TinyArray.swift
[48/70] Emitting module NIOConcurrencyHelpers
[49/70] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[50/70] Compiling Atomics IntegerOperations.swift
[51/70] Compiling Atomics Unmanaged extensions.swift
[55/70] Compiling NIOConcurrencyHelpers atomics.swift
[56/70] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[61/87] Compiling Logging LogHandler.swift
[62/87] Compiling Logging Locks.swift
[63/87] Compiling Logging Logging.swift
[64/88] Compiling DequeModule _DequeBuffer.swift
[65/88] Compiling DequeModule _DequeBufferHeader.swift
[67/90] Compiling DequeModule Deque+Extras.swift
[68/90] Compiling DequeModule Deque+Hashable.swift
[69/90] Compiling DequeModule Deque+Equatable.swift
[70/90] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[71/90] Compiling DequeModule Deque+CustomReflectable.swift
[72/90] Compiling DequeModule Deque+Descriptions.swift
[73/90] Compiling DequeModule _DequeSlot.swift
[74/90] Compiling DequeModule _UnsafeWrappedBuffer.swift
[75/90] Compiling DequeModule Deque+Testing.swift
[76/90] Compiling DequeModule Deque._Storage.swift
[77/90] Compiling DequeModule Deque._UnsafeHandle.swift
[78/90] Compiling DequeModule Deque.swift
[82/90] Emitting module Atomics
[83/90] Compiling DequeModule Deque+Codable.swift
[84/90] Compiling DequeModule Deque+Collection.swift
[89/91] Emitting module DequeModule
[91/153] Compiling NIOCore CircularBuffer.swift
[92/153] Compiling NIOCore Codec.swift
[93/153] Compiling NIOCore ConvenienceOptionSupport.swift
[94/153] Compiling NIOCore DeadChannel.swift
[95/153] Compiling NIOCore DispatchQueue+WithFuture.swift
[96/153] Compiling NIOCore EventLoop+Deprecated.swift
[97/153] Compiling NIOCore EventLoop+SerialExecutor.swift
[98/153] Compiling NIOCore EventLoop.swift
[99/153] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[100/161] Compiling NIOCore AddressedEnvelope.swift
[101/161] Compiling NIOCore AsyncAwaitSupport.swift
[102/161] Compiling NIOCore AsyncChannel.swift
[103/161] Compiling NIOCore AsyncChannelHandler.swift
[104/161] Compiling NIOCore AsyncChannelInboundStream.swift
[105/161] Compiling NIOCore AsyncChannelOutboundWriter.swift
[106/161] Compiling NIOCore NIOAsyncSequenceProducer.swift
[107/161] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[108/161] Compiling NIOCore NIOAsyncWriter.swift
[109/161] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[110/161] Compiling NIOCore SocketAddresses.swift
[111/161] Compiling NIOCore SocketOptionProvider.swift
[112/161] Compiling NIOCore SystemCallHelpers.swift
[113/161] Compiling NIOCore TimeAmount+Duration.swift
[114/161] Compiling NIOCore TypeAssistedChannelHandler.swift
[115/161] Compiling NIOCore UniversalBootstrapSupport.swift
[116/161] Compiling NIOCore Utilities.swift
[117/161] Emitting module NIOCore
[118/161] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[119/161] Compiling NIOCore BSDSocketAPI.swift
[120/161] Compiling NIOCore ByteBuffer-aux.swift
[121/161] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[122/161] Compiling NIOCore ByteBuffer-conversions.swift
[123/161] Compiling NIOCore ByteBuffer-core.swift
[124/161] Compiling NIOCore ByteBuffer-hex.swift
[125/161] Compiling NIOCore ByteBuffer-int.swift
[126/161] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[127/161] Compiling NIOCore EventLoopFuture+Deprecated.swift
[128/161] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[129/161] Compiling NIOCore EventLoopFuture.swift
[130/161] Compiling NIOCore FileDescriptor.swift
[131/161] Compiling NIOCore FileHandle.swift
[132/161] Compiling NIOCore FileRegion.swift
[133/161] Compiling NIOCore GlobalSingletons.swift
[134/161] Compiling NIOCore IO.swift
[135/161] Compiling NIOCore IOData.swift
[136/161] Compiling NIOCore IPProtocol.swift
[137/161] Compiling NIOCore IntegerBitPacking.swift
[138/161] Compiling NIOCore IntegerTypes.swift
[139/161] Compiling NIOCore Interfaces.swift
[140/161] Compiling NIOCore Linux.swift
[141/161] Compiling NIOCore MarkedCircularBuffer.swift
[142/161] Compiling NIOCore MulticastChannel.swift
[143/161] Compiling NIOCore NIOAny.swift
[144/161] Compiling NIOCore NIOCloseOnErrorHandler.swift
[145/161] Compiling NIOCore NIOCoreSendableMetatype.swift
[146/161] Compiling NIOCore NIOLoopBound.swift
[147/161] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[148/161] Compiling NIOCore NIOScheduledCallback.swift
[149/161] Compiling NIOCore NIOSendable.swift
[150/161] Compiling NIOCore RecvByteBufferAllocator.swift
[151/161] Compiling NIOCore ByteBuffer-multi-int.swift
[152/161] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[153/161] Compiling NIOCore ByteBuffer-views.swift
[154/161] Compiling NIOCore Channel.swift
[155/161] Compiling NIOCore ChannelHandler.swift
[156/161] Compiling NIOCore ChannelHandlers.swift
[157/161] Compiling NIOCore ChannelInvoker.swift
[158/161] Compiling NIOCore ChannelOption.swift
[159/161] Compiling NIOCore ChannelPipeline.swift
[161/235] 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 |
[162/235] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[163/235] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[164/235] Compiling NIOPosix Pool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[165/235] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[166/235] Compiling NIOPosix PosixSingletons.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[167/235] Compiling NIOPosix RawSocketBootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[168/235] Compiling NIOPosix Resolver.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[169/235] Compiling NIOPosix Selectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
[170/235] Compiling NIOPosix SelectableChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:18:8: error: no such module 'Dispatch'
  16 | import CNIOPosix
  17 | import DequeModule
  18 | import Dispatch
     |        `- error: no such module 'Dispatch'
  19 | import NIOConcurrencyHelpers
  20 | import NIOCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[171/241] 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 |
[172/241] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[173/241] Compiling NIOEmbedded Embedded.swift
[174/241] Compiling NIOEmbedded AsyncTestingEventLoop.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[175/241] Compiling NIOEmbedded AsyncTestingChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOEmbedded/AsyncTestingChannel.swift:731:11: error: cannot find type 'NIOAsyncTestingChannel' in scope
729 | // Synchronous options are never Sendable.
730 | @available(*, unavailable)
731 | extension NIOAsyncTestingChannel.SynchronousOptions: Sendable {}
    |           `- error: cannot find type 'NIOAsyncTestingChannel' in scope
732 |
[176/241] Emitting module NIOEmbedded
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOEmbedded/AsyncTestingChannel.swift:731:11: error: cannot find type 'NIOAsyncTestingChannel' in scope
729 | // Synchronous options are never Sendable.
730 | @available(*, unavailable)
731 | extension NIOAsyncTestingChannel.SynchronousOptions: Sendable {}
    |           `- error: cannot find type 'NIOAsyncTestingChannel' in scope
732 |
[177/241] Emitting module NIOHTTP1
[178/241] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[179/241] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
BUILD FAILURE 6.1 wasm