Build Information
Failed to build swift-nio-udp, reference main (658a46), with Swift 6.2 for Wasm on 10 Feb 2026 20:05:05 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hironichu/swift-nio-udp.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 658a466 linux optimisation, replaced dual copy operation by passing Data(b ref)
Cloned https://github.com/hironichu/swift-nio-udp.git
Revision (git rev-parse @):
658a46698aa02596d92b0bfda3b42134fd1c5cb4
SUCCESS checkout https://github.com/hironichu/swift-nio-udp.git at main
========================================
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/82001] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (8.37s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.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-atomics.git from cache (0.57s)
[10621/25045] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
[6433/19493] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.53s)
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/21] Write sources
[8/21] Compiling CNIOOpenBSD shim.c
[9/21] Compiling CNIOLinux liburing_shims.c
[9/21] Compiling CNIODarwin shim.c
[11/21] Compiling CNIOLinux shim.c
[12/21] Compiling CNIOWindows WSAStartup.c
[13/21] Write sources
[14/21] Compiling CNIOWindows shim.c
[15/21] Compiling _AtomicsShims.c
[16/21] Compiling CNIOWASI CNIOWASI.c
[17/21] Compiling CNIOPosix event_loop_id.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[19/61] Compiling c-nioatomics.c
[20/61] Compiling c-atomics.c
[22/67] Compiling Atomics AtomicOptionalWrappable.swift
[23/67] Compiling Atomics AtomicReference.swift
[24/69] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[25/69] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[26/71] Compiling Atomics ManagedAtomic.swift
[27/71] Compiling Atomics ManagedAtomicLazyReference.swift
[30/71] Emitting module _NIOBase64
[31/71] Compiling Atomics IntegerConformances.swift
[32/71] Compiling Atomics PointerConformances.swift
[33/71] Compiling Atomics Primitives.native.swift
[34/71] Compiling _NIOBase64 Base64.swift
[35/71] Compiling Atomics AtomicBool.swift
[36/71] Compiling Atomics AtomicInteger.swift
[37/72] Compiling Atomics OptionalRawRepresentable.swift
[38/72] Compiling Atomics RawRepresentable.swift
[46/72] Emitting module Atomics
[50/72] Compiling Atomics AtomicMemoryOrderings.swift
[51/72] Compiling Atomics DoubleWord.swift
[52/72] Emitting module InternalCollectionsUtilities
[53/72] Compiling Atomics AtomicStorage.swift
[54/72] Compiling Atomics AtomicValue.swift
[61/73] Compiling _NIODataStructures _TinyArray.swift
[63/73] Compiling _NIODataStructures PriorityQueue.swift
[64/73] Compiling Atomics IntegerOperations.swift
[65/73] Compiling Atomics Unmanaged extensions.swift
[67/74] Compiling NIOConcurrencyHelpers atomics.swift
[68/74] Compiling NIOConcurrencyHelpers lock.swift
[69/74] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[70/74] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[71/74] Compiling NIOConcurrencyHelpers NIOLock.swift
[72/74] Emitting module NIOConcurrencyHelpers
[74/75] Compiling _NIODataStructures Heap.swift
[75/75] Emitting module _NIODataStructures
[77/91] Compiling DequeModule _DequeBuffer.swift
[78/91] Compiling DequeModule _DequeBufferHeader.swift
[79/93] Compiling DequeModule Deque+Equatable.swift
[80/93] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[81/93] Compiling DequeModule Deque+Extras.swift
[82/93] Compiling DequeModule Deque+Hashable.swift
[83/93] Compiling DequeModule Deque+Testing.swift
[84/93] Compiling DequeModule Deque._Storage.swift
[85/93] Compiling DequeModule _DequeSlot.swift
[86/93] Compiling DequeModule _UnsafeWrappedBuffer.swift
[87/93] Compiling DequeModule Deque._UnsafeHandle.swift
[88/93] Compiling DequeModule Deque.swift
[89/93] Compiling DequeModule Deque+Codable.swift
[90/93] Compiling DequeModule Deque+Collection.swift
[91/93] Compiling DequeModule Deque+CustomReflectable.swift
[92/93] Compiling DequeModule Deque+Descriptions.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 SingleStepByteToMessageDecoder.swift
[113/165] Compiling NIOCore SocketAddresses.swift
[114/165] Compiling NIOCore SocketOptionProvider.swift
[115/165] Compiling NIOCore SystemCallHelpers.swift
[116/165] Compiling NIOCore TimeAmount+Duration.swift
[117/165] Compiling NIOCore TypeAssistedChannelHandler.swift
[118/165] Compiling NIOCore UniversalBootstrapSupport.swift
[119/165] Compiling NIOCore Utilities.swift
[120/165] Compiling NIOCore AddressedEnvelope.swift
[121/165] Compiling NIOCore AsyncAwaitSupport.swift
[122/165] Compiling NIOCore AsyncChannel.swift
[123/165] Compiling NIOCore AsyncChannelHandler.swift
[124/165] Compiling NIOCore AsyncChannelInboundStream.swift
[125/165] Compiling NIOCore AsyncChannelOutboundWriter.swift
[126/165] Compiling NIOCore NIOAsyncSequenceProducer.swift
[127/165] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[128/165] Compiling NIOCore NIOAsyncWriter.swift
[129/165] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[130/165] Compiling NIOCore BSDSocketAPI.swift
[131/165] Compiling NIOCore ByteBuffer-aux.swift
[132/165] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[133/165] Compiling NIOCore ByteBuffer-conversions.swift
[134/165] Compiling NIOCore ByteBuffer-core.swift
[135/165] Compiling NIOCore ByteBuffer-hex.swift
[136/165] Compiling NIOCore ByteBuffer-int.swift
[137/165] Compiling NIOCore ByteBuffer-lengthPrefix.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 ByteBuffer-multi-int.swift
[148/165] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[149/165] Compiling NIOCore ByteBuffer-views.swift
[150/165] Compiling NIOCore Channel.swift
[151/165] Compiling NIOCore ChannelHandler.swift
[152/165] Compiling NIOCore ChannelHandlers.swift
[153/165] Compiling NIOCore ChannelInvoker.swift
[154/165] Compiling NIOCore ChannelOption.swift
[155/165] Compiling NIOCore ChannelPipeline.swift
[156/165] Compiling NIOCore EventLoopFuture+Deprecated.swift
[157/165] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[158/165] Compiling NIOCore EventLoopFuture.swift
[159/165] Compiling NIOCore FileDescriptor.swift
[160/165] Compiling NIOCore FileHandle.swift
[161/165] Compiling NIOCore FileRegion.swift
[162/165] Compiling NIOCore GlobalSingletons.swift
[163/165] Compiling NIOCore IO.swift
[164/165] Compiling NIOCore IOData.swift
[165/165] Emitting module NIOCore
[167/216] Emitting module NIOPosix
[168/216] Compiling NIOPosix BSDSocketAPICommon.swift
[169/216] Compiling NIOPosix BSDSocketAPIPosix.swift
[170/216] Compiling NIOPosix BSDSocketAPIWindows.swift
[171/216] Compiling NIOPosix BaseSocket.swift
[172/216] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[173/216] Compiling NIOPosix BaseSocketChannel.swift
[174/216] Compiling NIOPosix BaseStreamSocketChannel.swift
[175/222] Compiling NIOPosix IO.swift
[176/222] Compiling NIOPosix IntegerBitPacking.swift
[177/222] Compiling NIOPosix IntegerTypes.swift
[178/222] Compiling NIOPosix Linux.swift
[179/222] Compiling NIOPosix LinuxCPUSet.swift
[180/222] Compiling NIOPosix LinuxUring.swift
[181/222] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[182/222] Compiling NIOPosix NIOPosixSendableMetatype.swift
[183/222] Compiling NIOPosix NIOThreadPool.swift
[184/222] Compiling NIOPosix NonBlockingFileIO.swift
[185/222] Compiling NIOPosix PendingDatagramWritesManager.swift
[186/222] Compiling NIOPosix PendingWritesManager.swift
[187/222] Compiling NIOPosix PipeChannel.swift
[188/222] Compiling NIOPosix PipePair.swift
[189/222] Compiling NIOPosix Bootstrap.swift
[190/222] Compiling NIOPosix ControlMessage.swift
[191/222] Compiling NIOPosix DatagramVectorReadManager.swift
[192/222] Compiling NIOPosix Errors+Any.swift
[193/222] Compiling NIOPosix FileDescriptor.swift
[194/222] Compiling NIOPosix GetaddrinfoResolver.swift
[195/222] Compiling NIOPosix HappyEyeballs.swift
[196/222] Compiling NIOPosix Socket.swift
[197/222] Compiling NIOPosix SocketChannel.swift
[198/222] Compiling NIOPosix SocketProtocols.swift
[199/222] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[200/222] Compiling NIOPosix System.swift
[201/222] Compiling NIOPosix Thread.swift
[202/222] Compiling NIOPosix ThreadPosix.swift
[203/222] Compiling NIOPosix Pool.swift
[204/222] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[205/222] Compiling NIOPosix PosixSingletons.swift
[206/222] Compiling NIOPosix RawSocketBootstrap.swift
[207/222] Compiling NIOPosix Resolver.swift
[208/222] Compiling NIOPosix Selectable.swift
[209/222] Compiling NIOPosix SelectableChannel.swift
[210/222] Compiling NIOPosix SelectableEventLoop.swift
[211/222] Compiling NIOPosix SelectorEpoll.swift
[212/222] Compiling NIOPosix SelectorGeneric.swift
[213/222] Compiling NIOPosix SelectorKqueue.swift
[214/222] Compiling NIOPosix SelectorUring.swift
[215/222] Compiling NIOPosix SelectorWSAPoll.swift
[216/222] Compiling NIOPosix ServerSocket.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 UDPError.swift
[225/230] Compiling NIOUDPTransport UDPConfiguration.swift
[226/230] Compiling NIOUDPTransport UDPTransport.swift
[227/230] Compiling NIOUDPTransport NIOUDPTransport+Exports.swift
[228/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:118:28: error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
116 |
117 | if ownsEventLoopGroup {
118 | eventLoopGroup.shutdownGracefully { _ in }
| `- error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
119 | }
120 | }
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:232:39: error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
230 |
231 | if ownsEventLoopGroup {
232 | try? await eventLoopGroup.shutdownGracefully()
| `- error: value of type 'any EventLoopGroup' has no member 'shutdownGracefully'
233 | }
234 | }
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:442:25: error: cannot find 'DatagramBootstrap' in scope
440 |
441 | private func createChannel() async throws -> any Channel {
442 | var bootstrap = DatagramBootstrap(group: eventLoopGroup)
| `- error: cannot find 'DatagramBootstrap' in scope
443 | .channelOption(
444 | ChannelOptions.socketOption(.so_reuseaddr),
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:444:46: error: type 'NIOBSDSocket.Option' has no member 'so_reuseaddr'
442 | var bootstrap = DatagramBootstrap(group: eventLoopGroup)
443 | .channelOption(
444 | ChannelOptions.socketOption(.so_reuseaddr),
| `- error: type 'NIOBSDSocket.Option' has no member 'so_reuseaddr'
445 | value: configuration.reuseAddress ? 1 : 0
446 | )
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:451:47: error: cannot infer type of closure parameter 'channel' without a type annotation
449 | value: FixedSizeRecvByteBufferAllocator(capacity: configuration.receiveBufferSize)
450 | )
451 | .channelInitializer { [weak self] channel in
| `- error: cannot infer type of closure parameter 'channel' without a type annotation
452 | channel.pipeline.addHandler(DatagramHandler(transport: self))
453 | }
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:457:42: error: type 'NIOBSDSocket.Option' has no member 'so_rcvbuf'
455 | // Apply SO_RCVBUF
456 | bootstrap = bootstrap.channelOption(
457 | ChannelOptions.socketOption(.so_rcvbuf),
| `- error: type 'NIOBSDSocket.Option' has no member 'so_rcvbuf'
458 | value: SocketOptionValue(configuration.receiveBufferSize)
459 | )
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:463:42: error: type 'NIOBSDSocket.Option' has no member 'so_sndbuf'
461 | // Apply SO_SNDBUF
462 | bootstrap = bootstrap.channelOption(
463 | ChannelOptions.socketOption(.so_sndbuf),
| `- error: type 'NIOBSDSocket.Option' has no member 'so_sndbuf'
464 | value: SocketOptionValue(configuration.sendBufferSize)
465 | )
[229/230] Emitting module NIOUDPTransport
[230/230] Compiling NIOUDPTransport AddressHelpers.swift
BUILD FAILURE 6.2 wasm