The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-udp, reference 1.0.1 (81bc22), with Swift 6.2 for Wasm on 10 Feb 2026 08:13:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hironichu/swift-nio-udp.git
Reference: 1.0.1
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/hironichu/swift-nio-udp
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 81bc221 Add batch send API and performance optimizations
Cloned https://github.com/hironichu/swift-nio-udp.git
Revision (git rev-parse @):
81bc221147d585a4edc24b15b3ef7c0d7278c365
SUCCESS checkout https://github.com/hironichu/swift-nio-udp.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hironichu/swift-nio-udp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-nio.git
[1/81972] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (17.31s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1821/7372] Fetching swift-atomics, swift-system
[7373/26865] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (5.91s)
Fetched https://github.com/apple/swift-atomics.git from cache (5.92s)
Fetched https://github.com/apple/swift-collections.git from cache (7.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (19.86s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (12.09s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.13s)
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.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.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.94.0
Building for debugging...
[0/21] Write sources
[8/21] Compiling CNIOWindows WSAStartup.c
[8/21] Compiling CNIOLinux shim.c
[10/21] Compiling CNIOWindows shim.c
[11/21] Compiling CNIOOpenBSD shim.c
[12/21] Compiling CNIOWASI CNIOWASI.c
[13/21] Write sources
[14/21] Compiling CNIOLinux liburing_shims.c
[15/21] Compiling CNIODarwin shim.c
[16/21] Compiling CNIOPosix event_loop_id.c
[17/21] Compiling _AtomicsShims.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[20/61] Emitting module Atomics
[20/63] Compiling c-nioatomics.c
[21/63] Compiling c-atomics.c
[23/69] Compiling Atomics AtomicStorage.swift
[24/69] Compiling Atomics AtomicValue.swift
[25/71] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[26/71] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[27/71] Compiling Atomics ManagedAtomic.swift
[28/71] Compiling Atomics ManagedAtomicLazyReference.swift
[29/71] Compiling Atomics AtomicMemoryOrderings.swift
[30/71] Compiling Atomics DoubleWord.swift
[31/71] Compiling Atomics AtomicInteger.swift
[32/71] Compiling Atomics AtomicOptionalWrappable.swift
[33/71] Compiling Atomics AtomicReference.swift
[34/71] Compiling Atomics Primitives.native.swift
[38/71] Compiling Atomics OptionalRawRepresentable.swift
[39/71] Compiling Atomics RawRepresentable.swift
[40/71] Compiling Atomics AtomicBool.swift
[41/71] Emitting module InternalCollectionsUtilities
[44/71] Compiling Atomics IntegerConformances.swift
[45/71] Compiling Atomics PointerConformances.swift
[46/71] Compiling Atomics IntegerOperations.swift
[47/71] Compiling Atomics Unmanaged extensions.swift
[52/71] Compiling _NIODataStructures PriorityQueue.swift
[53/71] Compiling _NIODataStructures _TinyArray.swift
[62/73] Compiling _NIOBase64 Base64.swift
[64/73] Emitting module _NIOBase64
[67/89] Compiling DequeModule _DequeBuffer.swift
[68/89] Compiling DequeModule _DequeBufferHeader.swift
[69/89] Emitting module _NIODataStructures
[70/89] Compiling _NIODataStructures Heap.swift
[71/92] Emitting module NIOConcurrencyHelpers
[73/92] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[74/92] Compiling NIOConcurrencyHelpers lock.swift
[75/92] Compiling DequeModule Deque+Equatable.swift
[76/92] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[77/92] Compiling DequeModule Deque+Testing.swift
[78/92] Compiling DequeModule Deque._Storage.swift
[79/92] Compiling DequeModule Deque+Extras.swift
[80/92] Compiling DequeModule Deque+Hashable.swift
[81/92] Compiling DequeModule Deque+CustomReflectable.swift
[82/92] Compiling DequeModule Deque+Descriptions.swift
[83/92] Compiling NIOConcurrencyHelpers atomics.swift
[84/92] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[85/92] Compiling NIOConcurrencyHelpers NIOLock.swift
[86/92] Compiling DequeModule _DequeSlot.swift
[87/92] Compiling DequeModule _UnsafeWrappedBuffer.swift
[88/93] Compiling DequeModule Deque._UnsafeHandle.swift
[89/93] Compiling DequeModule Deque.swift
[90/93] Compiling DequeModule Deque+Codable.swift
[91/93] Compiling DequeModule Deque+Collection.swift
[93/93] Emitting module DequeModule
[95/157] Compiling NIOCore NIOCoreSendableMetatype.swift
[96/157] Compiling NIOCore NIODecodedAsyncSequence.swift
[97/157] Compiling NIOCore NIOLoopBound.swift
[98/157] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[99/157] Compiling NIOCore NIOScheduledCallback.swift
[100/157] Compiling NIOCore NIOSendable.swift
[101/157] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[102/157] Compiling NIOCore RecvByteBufferAllocator.swift
[103/165] Compiling NIOCore IPProtocol.swift
[104/165] Compiling NIOCore IntegerBitPacking.swift
[105/165] Compiling NIOCore IntegerTypes.swift
[106/165] Compiling NIOCore Interfaces.swift
[107/165] Compiling NIOCore Linux.swift
[108/165] Compiling NIOCore MarkedCircularBuffer.swift
[109/165] Compiling NIOCore MulticastChannel.swift
[110/165] Compiling NIOCore NIOAny.swift
[111/165] Compiling NIOCore NIOCloseOnErrorHandler.swift
[112/165] Compiling NIOCore EventLoopFuture+Deprecated.swift
[113/165] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[114/165] Compiling NIOCore EventLoopFuture.swift
[115/165] Compiling NIOCore FileDescriptor.swift
[116/165] Compiling NIOCore FileHandle.swift
[117/165] Compiling NIOCore FileRegion.swift
[118/165] Compiling NIOCore GlobalSingletons.swift
[119/165] Compiling NIOCore IO.swift
[120/165] Compiling NIOCore IOData.swift
[121/165] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[122/165] Compiling NIOCore SocketAddresses.swift
[123/165] Compiling NIOCore SocketOptionProvider.swift
[124/165] Compiling NIOCore SystemCallHelpers.swift
[125/165] Compiling NIOCore TimeAmount+Duration.swift
[126/165] Compiling NIOCore TypeAssistedChannelHandler.swift
[127/165] Compiling NIOCore UniversalBootstrapSupport.swift
[128/165] Compiling NIOCore Utilities.swift
[129/165] Compiling NIOCore AddressedEnvelope.swift
[130/165] Compiling NIOCore AsyncAwaitSupport.swift
[131/165] Compiling NIOCore AsyncChannel.swift
[132/165] Compiling NIOCore AsyncChannelHandler.swift
[133/165] Compiling NIOCore AsyncChannelInboundStream.swift
[134/165] Compiling NIOCore AsyncChannelOutboundWriter.swift
[135/165] Compiling NIOCore NIOAsyncSequenceProducer.swift
[136/165] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[137/165] Compiling NIOCore NIOAsyncWriter.swift
[138/165] Compiling NIOCore CircularBuffer.swift
[139/165] Compiling NIOCore Codec.swift
[140/165] Compiling NIOCore ConvenienceOptionSupport.swift
[141/165] Compiling NIOCore DeadChannel.swift
[142/165] Compiling NIOCore DispatchQueue+WithFuture.swift
[143/165] Compiling NIOCore EventLoop+Deprecated.swift
[144/165] Compiling NIOCore EventLoop+SerialExecutor.swift
[145/165] Compiling NIOCore EventLoop.swift
[146/165] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[147/165] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[148/165] Compiling NIOCore BSDSocketAPI.swift
[149/165] Compiling NIOCore ByteBuffer-aux.swift
[150/165] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[151/165] Compiling NIOCore ByteBuffer-conversions.swift
[152/165] Compiling NIOCore ByteBuffer-core.swift
[153/165] Compiling NIOCore ByteBuffer-hex.swift
[154/165] Compiling NIOCore ByteBuffer-int.swift
[155/165] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[156/165] Compiling NIOCore ByteBuffer-multi-int.swift
[157/165] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[158/165] Compiling NIOCore ByteBuffer-views.swift
[159/165] Compiling NIOCore Channel.swift
[160/165] Compiling NIOCore ChannelHandler.swift
[161/165] Compiling NIOCore ChannelHandlers.swift
[162/165] Compiling NIOCore ChannelInvoker.swift
[163/165] Compiling NIOCore ChannelOption.swift
[164/165] Compiling NIOCore ChannelPipeline.swift
[165/165] Emitting module NIOCore
[167/216] Compiling NIOPosix Socket.swift
[168/216] Compiling NIOPosix SocketChannel.swift
[169/216] Compiling NIOPosix SocketProtocols.swift
[170/216] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[171/216] Compiling NIOPosix System.swift
[172/216] Compiling NIOPosix Thread.swift
[173/216] Compiling NIOPosix ThreadPosix.swift
[174/222] Compiling NIOPosix Bootstrap.swift
[175/222] Compiling NIOPosix ControlMessage.swift
[176/222] Compiling NIOPosix DatagramVectorReadManager.swift
[177/222] Compiling NIOPosix Errors+Any.swift
[178/222] Compiling NIOPosix FileDescriptor.swift
[179/222] Compiling NIOPosix GetaddrinfoResolver.swift
[180/222] Compiling NIOPosix HappyEyeballs.swift
[181/222] Compiling NIOPosix BSDSocketAPICommon.swift
[182/222] Compiling NIOPosix BSDSocketAPIPosix.swift
[183/222] Compiling NIOPosix BSDSocketAPIWindows.swift
[184/222] Compiling NIOPosix BaseSocket.swift
[185/222] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[186/222] Compiling NIOPosix BaseSocketChannel.swift
[187/222] Compiling NIOPosix BaseStreamSocketChannel.swift
[188/222] Emitting module NIOPosix
[189/222] Compiling NIOPosix SelectableEventLoop.swift
[190/222] Compiling NIOPosix SelectorEpoll.swift
[191/222] Compiling NIOPosix SelectorGeneric.swift
[192/222] Compiling NIOPosix SelectorKqueue.swift
[193/222] Compiling NIOPosix SelectorUring.swift
[194/222] Compiling NIOPosix SelectorWSAPoll.swift
[195/222] Compiling NIOPosix ServerSocket.swift
[196/222] Compiling NIOPosix Pool.swift
[197/222] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[198/222] Compiling NIOPosix PosixSingletons.swift
[199/222] Compiling NIOPosix RawSocketBootstrap.swift
[200/222] Compiling NIOPosix Resolver.swift
[201/222] Compiling NIOPosix Selectable.swift
[202/222] Compiling NIOPosix SelectableChannel.swift
[203/222] Compiling NIOPosix NIOPosixSendableMetatype.swift
[204/222] Compiling NIOPosix NIOThreadPool.swift
[205/222] Compiling NIOPosix NonBlockingFileIO.swift
[206/222] Compiling NIOPosix PendingDatagramWritesManager.swift
[207/222] Compiling NIOPosix PendingWritesManager.swift
[208/222] Compiling NIOPosix PipeChannel.swift
[209/222] Compiling NIOPosix PipePair.swift
[210/222] Compiling NIOPosix IO.swift
[211/222] Compiling NIOPosix IntegerBitPacking.swift
[212/222] Compiling NIOPosix IntegerTypes.swift
[213/222] Compiling NIOPosix Linux.swift
[214/222] Compiling NIOPosix LinuxCPUSet.swift
[215/222] Compiling NIOPosix LinuxUring.swift
[216/222] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[217/222] Compiling NIOPosix ThreadWindows.swift
[218/222] Compiling NIOPosix UnsafeTransfer.swift
[219/222] Compiling NIOPosix Utilities.swift
[220/222] Compiling NIOPosix VsockAddress.swift
[221/222] Compiling NIOPosix VsockChannelEvents.swift
[222/222] Compiling NIOPosix Windows.swift
[224/230] Compiling NIOUDPTransport UDPConfiguration.swift
[225/230] Compiling NIOUDPTransport UDPError.swift
[226/230] Compiling NIOUDPTransport UDPTransport.swift
[227/230] Compiling NIOUDPTransport NIOUDPTransport+Exports.swift
[228/230] Compiling NIOUDPTransport AddressHelpers.swift
[229/230] Emitting module NIOUDPTransport
[230/230] Compiling NIOUDPTransport NIOUDPTransport.swift
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:95:35: error: cannot find 'MultiThreadedEventLoopGroup' in scope
 93 |             self.ownsEventLoopGroup = false
 94 |         } else {
 95 |             self.eventLoopGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |                                   `- error: cannot find 'MultiThreadedEventLoopGroup' in scope
 96 |             self.ownsEventLoopGroup = true
 97 |         }
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:114:28: error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
112 |     deinit {
113 |         if ownsEventLoopGroup {
114 |             eventLoopGroup.shutdownGracefully { _ in }
    |                            `- error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
115 |         }
116 |     }
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:228:39: error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
226 |
227 |         if ownsEventLoopGroup {
228 |             try? await eventLoopGroup.shutdownGracefully()
    |                                       `- error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
229 |         }
230 |     }
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:438:25: error: cannot find 'DatagramBootstrap' in scope
436 |
437 |     private func createChannel() async throws -> any Channel {
438 |         var bootstrap = DatagramBootstrap(group: eventLoopGroup)
    |                         `- error: cannot find 'DatagramBootstrap' in scope
439 |             .channelOption(
440 |                 ChannelOptions.socketOption(.so_reuseaddr),
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:440:46: error: type 'NIOBSDSocket.Option' has no member 'so_reuseaddr'
438 |         var bootstrap = DatagramBootstrap(group: eventLoopGroup)
439 |             .channelOption(
440 |                 ChannelOptions.socketOption(.so_reuseaddr),
    |                                              `- error: type 'NIOBSDSocket.Option' has no member 'so_reuseaddr'
441 |                 value: configuration.reuseAddress ? 1 : 0
442 |             )
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:447:47: error: cannot infer type of closure parameter 'channel' without a type annotation
445 |                 value: FixedSizeRecvByteBufferAllocator(capacity: configuration.receiveBufferSize)
446 |             )
447 |             .channelInitializer { [weak self] channel in
    |                                               `- error: cannot infer type of closure parameter 'channel' without a type annotation
448 |                 channel.pipeline.addHandler(DatagramHandler(transport: self))
449 |             }
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:453:42: error: type 'NIOBSDSocket.Option' has no member 'so_rcvbuf'
451 |         // Apply SO_RCVBUF
452 |         bootstrap = bootstrap.channelOption(
453 |             ChannelOptions.socketOption(.so_rcvbuf),
    |                                          `- error: type 'NIOBSDSocket.Option' has no member 'so_rcvbuf'
454 |             value: SocketOptionValue(configuration.receiveBufferSize)
455 |         )
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:459:42: error: type 'NIOBSDSocket.Option' has no member 'so_sndbuf'
457 |         // Apply SO_SNDBUF
458 |         bootstrap = bootstrap.channelOption(
459 |             ChannelOptions.socketOption(.so_sndbuf),
    |                                          `- error: type 'NIOBSDSocket.Option' has no member 'so_sndbuf'
460 |             value: SocketOptionValue(configuration.sendBufferSize)
461 |         )
BUILD FAILURE 6.2 wasm