Build Information
Failed to build swift-nio-udp, reference 1.1.1 (393037), with Swift 6.2 for Android on 30 Apr 2026 17:55:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/swift-nio-udp.git
Reference: 1.1.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/1amageek/swift-nio-udp
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at 3930378 Make UDP transport tests portable to Linux
Cloned https://github.com/1amageek/swift-nio-udp.git
Revision (git rev-parse @):
39303781856668e8ceb22b82d6dc305f7f7c048e
SUCCESS checkout https://github.com/1amageek/swift-nio-udp.git at 1.1.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/1amageek/swift-nio-udp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-nio.git
[1/83230] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (11.85s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-system.git from cache (0.92s)
[1/1820] Fetching swift-atomics
[602/25630] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.80s)
Fetched https://github.com/apple/swift-collections.git from cache (2.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.93s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.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
Building for debugging...
[0/22] Write sources
[9/22] Compiling _AtomicsShims.c
[10/22] Compiling CNIOWindows shim.c
[11/22] Compiling CNIOWASI CNIOWASI.c
[11/22] Compiling CNIOWindows WSAStartup.c
[13/22] Compiling CNIOLinux liburing_shims.c
[14/22] Write sources
[15/22] Compiling CNIODarwin shim.c
[16/22] Compiling CNIOOpenBSD shim.c
[17/22] Compiling CNIOPosix event_loop_id.c
[18/22] Write swift-version--11D90AFD9DD3AB2.txt
[19/24] Compiling CNIOLinux shim.c
[21/64] Compiling Atomics ManagedAtomic.swift
[22/64] Compiling Atomics ManagedAtomicLazyReference.swift
[23/66] Compiling Atomics AtomicMemoryOrderings.swift
[24/66] Compiling Atomics DoubleWord.swift
[25/68] Compiling Atomics UnsafeAtomic.swift
[26/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/68] Compiling Atomics AtomicStorage.swift
[28/68] Compiling Atomics AtomicValue.swift
[33/68] Emitting module _NIODataStructures
[34/68] Emitting module _NIOBase64
[35/68] Compiling _NIOBase64 Base64.swift
[36/68] Compiling Atomics IntegerOperations.swift
[37/68] Compiling Atomics Unmanaged extensions.swift
[38/69] Emitting module Atomics
[39/69] Compiling Atomics OptionalRawRepresentable.swift
[40/69] Compiling Atomics RawRepresentable.swift
[41/69] Compiling Atomics AtomicBool.swift
[41/69] Compiling c-nioatomics.c
[43/69] Emitting module InternalCollectionsUtilities
[47/69] Compiling Atomics IntegerConformances.swift
[48/69] Compiling Atomics PointerConformances.swift
[49/69] Compiling Atomics Primitives.native.swift
[50/69] Compiling Atomics AtomicInteger.swift
[51/69] Compiling Atomics AtomicOptionalWrappable.swift
[52/69] Compiling Atomics AtomicReference.swift
[68/71] Compiling _NIODataStructures PriorityQueue.swift
[69/71] Compiling _NIODataStructures Heap.swift
[70/71] Compiling _NIODataStructures _TinyArray.swift
[72/105] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[73/105] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[74/105] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[75/105] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[76/105] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[77/105] Compiling ContainersPreview Producer+Map.swift
[78/105] Compiling ContainersPreview Producer+Reduce.swift
[79/105] Compiling ContainersPreview Producer.swift
[80/105] Compiling ContainersPreview Borrow.swift
[81/105] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[82/105] Compiling ContainersPreview BorrowingSequence.swift
[83/105] Compiling ContainersPreview BidirectionalContainer.swift
[84/105] Compiling ContainersPreview Container+Filter.swift
[85/105] Compiling ContainersPreview Container+SpanwiseZip.swift
[86/105] Compiling ContainersPreview Drain+Reduce.swift
[87/105] Compiling ContainersPreview Drain.swift
[88/105] Compiling ContainersPreview Producer+Collect.swift
[89/105] Compiling ContainersPreview Producer+Filter.swift
[90/105] Compiling ContainersPreview Container.swift
[91/105] Compiling ContainersPreview ContainerIterator.swift
[92/105] Compiling ContainersPreview DynamicContainer.swift
[93/105] Compiling ContainersPreview MutableContainer.swift
[94/105] Compiling ContainersPreview PermutableContainer.swift
[95/109] Emitting module ContainersPreview
[95/109] Compiling c-atomics.c
[97/109] Compiling ContainersPreview OutputSpan+Extras.swift
[98/109] Compiling ContainersPreview TemporaryAllocation.swift
[99/109] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[100/109] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[101/109] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[102/109] Compiling ContainersPreview RandomAccessContainer.swift
[103/109] Compiling ContainersPreview RangeExpression2.swift
[104/109] Compiling ContainersPreview RangeReplaceableContainer.swift
[105/109] Compiling ContainersPreview Drain+Map.swift
[106/116] Compiling ContainersPreview Box.swift
[107/116] Compiling ContainersPreview Inout.swift
[108/116] Compiling ContainersPreview InputSpan.swift
[109/116] Compiling ContainersPreview Shared.swift
[111/117] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[112/157] Compiling NIOConcurrencyHelpers NIOLock.swift
[113/157] Emitting module NIOConcurrencyHelpers
[114/157] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[115/157] Compiling NIOConcurrencyHelpers lock.swift
[116/157] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[117/157] Compiling NIOConcurrencyHelpers atomics.swift
[119/158] Compiling DequeModule _DequeBuffer.swift
[120/158] Compiling DequeModule _DequeBufferHeader.swift
[121/158] Compiling DequeModule RigidDeque+Append.swift
[122/158] Compiling DequeModule RigidDeque+Consumption.swift
[123/158] Compiling DequeModule RigidDeque+Container.swift
[124/158] Compiling DequeModule RigidDeque+Descriptions.swift
[125/158] Compiling DequeModule RigidDeque+Equatable.swift
[126/158] Compiling DequeModule RigidDeque+Experimental.swift
[127/158] Compiling DequeModule RigidDeque+Hashable.swift
[128/158] Compiling DequeModule RigidDeque+Initializers.swift
[129/158] Compiling DequeModule RigidDeque+Insertions.swift
[130/158] Compiling DequeModule RigidDeque+Prepend.swift
[131/163] Compiling DequeModule RigidDeque+Removals.swift
[132/163] Compiling DequeModule RigidDeque+Replacements.swift
[133/163] Compiling DequeModule RigidDeque+Testing.swift
[134/163] Compiling DequeModule RigidDeque.swift
[135/163] Compiling DequeModule UniqueDeque+Append.swift
[136/163] Compiling DequeModule UniqueDeque+Consumption.swift
[137/163] Compiling DequeModule UniqueDeque+Container.swift
[138/163] Compiling DequeModule UniqueDeque+Descriptions.swift
[139/163] Compiling DequeModule UniqueDeque+Equatable.swift
[140/163] Compiling DequeModule UniqueDeque+Experimental.swift
[141/163] Compiling DequeModule UniqueDeque+Hashable.swift
[142/163] Compiling DequeModule UniqueDeque+Initializers.swift
[143/163] Compiling DequeModule UniqueDeque+Insertions.swift
[144/163] Compiling DequeModule UniqueDeque+Prepend.swift
[145/163] Compiling DequeModule UniqueDeque+Removals.swift
[146/163] Compiling DequeModule Deque+Codable.swift
[147/163] Compiling DequeModule Deque+Collection.swift
[148/163] Compiling DequeModule Deque+CustomReflectable.swift
[149/163] Compiling DequeModule Deque+Descriptions.swift
[150/163] Compiling DequeModule Deque+Equatable.swift
[151/163] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[152/163] Compiling DequeModule Deque+Extras.swift
[153/163] Compiling DequeModule Deque+Hashable.swift
[154/163] Compiling DequeModule Deque+Testing.swift
[155/163] Compiling DequeModule Deque._Storage.swift
[156/163] Compiling DequeModule Deque._UnsafeHandle.swift
[157/163] Compiling DequeModule Deque.swift
[158/163] Emitting module DequeModule
[159/163] Compiling DequeModule UniqueDeque+Replacements.swift
[160/163] Compiling DequeModule UniqueDeque.swift
[161/163] Compiling DequeModule _DequeSlot.swift
[162/163] Compiling DequeModule _UnsafeDequeHandle.swift
[163/163] Compiling DequeModule _UnsafeDequeSegments.swift
[165/228] Compiling NIOCore AddressedEnvelope.swift
[166/228] Compiling NIOCore AsyncAwaitSupport.swift
[167/228] Compiling NIOCore AsyncChannel.swift
[168/228] Compiling NIOCore AsyncChannelHandler.swift
[169/228] Compiling NIOCore AsyncChannelInboundStream.swift
[170/228] Compiling NIOCore AsyncChannelOutboundWriter.swift
[171/228] Compiling NIOCore NIOAsyncSequenceProducer.swift
[172/228] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[173/228] Compiling NIOCore NIOAsyncWriter.swift
[174/236] Compiling NIOCore IPProtocol.swift
[175/236] Compiling NIOCore IntegerBitPacking.swift
[176/236] Compiling NIOCore IntegerTypes.swift
[177/236] Compiling NIOCore Interfaces.swift
[178/236] Compiling NIOCore Linux.swift
[179/236] Compiling NIOCore MarkedCircularBuffer.swift
[180/236] Compiling NIOCore MulticastChannel.swift
[181/236] Compiling NIOCore NIOAny.swift
[182/236] Compiling NIOCore NIOCloseOnErrorHandler.swift
[183/236] Compiling NIOCore EventLoopFuture+Deprecated.swift
[184/236] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[185/236] Compiling NIOCore EventLoopFuture.swift
[186/236] Compiling NIOCore FileDescriptor.swift
[187/236] Compiling NIOCore FileHandle.swift
[188/236] Compiling NIOCore FileRegion.swift
[189/236] Compiling NIOCore GlobalSingletons.swift
[190/236] Compiling NIOCore IO.swift
[191/236] Compiling NIOCore IOData.swift
[192/236] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[193/236] Compiling NIOCore BSDSocketAPI.swift
[194/236] Compiling NIOCore ByteBuffer-aux.swift
[195/236] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[196/236] Compiling NIOCore ByteBuffer-conversions.swift
[197/236] Compiling NIOCore ByteBuffer-core.swift
[198/236] Compiling NIOCore ByteBuffer-hex.swift
[199/236] Compiling NIOCore ByteBuffer-int.swift
[200/236] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[201/236] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[202/236] Compiling NIOCore SocketAddresses.swift
[203/236] Compiling NIOCore SocketOptionProvider.swift
[204/236] Compiling NIOCore SystemCallHelpers.swift
[205/236] Compiling NIOCore TimeAmount+Duration.swift
[206/236] Compiling NIOCore TypeAssistedChannelHandler.swift
[207/236] Compiling NIOCore UniversalBootstrapSupport.swift
[208/236] Compiling NIOCore Utilities.swift
[209/236] Emitting module NIOCore
[210/236] Compiling NIOCore CircularBuffer.swift
[211/236] Compiling NIOCore Codec.swift
[212/236] Compiling NIOCore ConvenienceOptionSupport.swift
[213/236] Compiling NIOCore DeadChannel.swift
[214/236] Compiling NIOCore DispatchQueue+WithFuture.swift
[215/236] Compiling NIOCore EventLoop+Deprecated.swift
[216/236] Compiling NIOCore EventLoop+SerialExecutor.swift
[217/236] Compiling NIOCore EventLoop.swift
[218/236] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[219/236] Compiling NIOCore NIOCoreSendableMetatype.swift
[220/236] Compiling NIOCore NIODecodedAsyncSequence.swift
[221/236] Compiling NIOCore NIOLoopBound.swift
[222/236] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[223/236] Compiling NIOCore NIOScheduledCallback.swift
[224/236] Compiling NIOCore NIOSendable.swift
[225/236] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[226/236] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[227/236] Compiling NIOCore RecvByteBufferAllocator.swift
[228/236] Compiling NIOCore ByteBuffer-multi-int.swift
[229/236] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[230/236] Compiling NIOCore ByteBuffer-views.swift
[231/236] Compiling NIOCore Channel.swift
[232/236] Compiling NIOCore ChannelHandler.swift
[233/236] Compiling NIOCore ChannelHandlers.swift
[234/236] Compiling NIOCore ChannelInvoker.swift
[235/236] Compiling NIOCore ChannelOption.swift
[236/236] Compiling NIOCore ChannelPipeline.swift
[238/287] Emitting module NIOPosix
[239/293] Compiling NIOPosix ThreadPosix.swift
[240/293] Compiling NIOPosix ThreadWindows.swift
[241/293] Compiling NIOPosix Utilities.swift
[242/293] Compiling NIOPosix VsockAddress.swift
[243/293] Compiling NIOPosix VsockChannelEvents.swift
[244/293] Compiling NIOPosix Windows.swift
[245/293] Compiling NIOPosix SelectableChannel.swift
[246/293] Compiling NIOPosix SelectableEventLoop.swift
[247/293] Compiling NIOPosix SelectorEpoll.swift
[248/293] Compiling NIOPosix SelectorGeneric.swift
[249/293] Compiling NIOPosix SelectorKqueue.swift
[250/293] Compiling NIOPosix SelectorUring.swift
[251/293] Compiling NIOPosix SelectorWSAPoll.swift
[252/293] Compiling NIOPosix HappyEyeballs.swift
[253/293] Compiling NIOPosix IO.swift
[254/293] Compiling NIOPosix IntegerBitPacking.swift
[255/293] Compiling NIOPosix IntegerTypes.swift
[256/293] Compiling NIOPosix Linux.swift
[257/293] Compiling NIOPosix LinuxCPUSet.swift
[258/293] Compiling NIOPosix LinuxUring.swift
[259/293] Compiling NIOPosix BaseStreamSocketChannel.swift
[260/293] Compiling NIOPosix Bootstrap.swift
[261/293] Compiling NIOPosix ControlMessage.swift
[262/293] Compiling NIOPosix DatagramVectorReadManager.swift
[263/293] Compiling NIOPosix Errors+Any.swift
[264/293] Compiling NIOPosix FileDescriptor.swift
[265/293] Compiling NIOPosix GetaddrinfoResolver.swift
[266/293] Compiling NIOPosix PipePair.swift
[267/293] Compiling NIOPosix Pool.swift
[268/293] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[269/293] Compiling NIOPosix PosixSingletons.swift
[270/293] Compiling NIOPosix RawSocketBootstrap.swift
[271/293] Compiling NIOPosix Resolver.swift
[272/293] Compiling NIOPosix Selectable.swift
[273/293] Compiling NIOPosix ServerSocket.swift
[274/293] Compiling NIOPosix Socket.swift
[275/293] Compiling NIOPosix SocketChannel.swift
[276/293] Compiling NIOPosix SocketProtocols.swift
[277/293] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[278/293] Compiling NIOPosix System.swift
[279/293] Compiling NIOPosix Thread.swift
[280/293] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[281/293] Compiling NIOPosix NIOPosixSendableMetatype.swift
[282/293] Compiling NIOPosix NIOThreadPool.swift
[283/293] Compiling NIOPosix NonBlockingFileIO.swift
[284/293] Compiling NIOPosix PendingDatagramWritesManager.swift
[285/293] Compiling NIOPosix PendingWritesManager.swift
[286/293] Compiling NIOPosix PipeChannel.swift
[287/293] Compiling NIOPosix BSDSocketAPICommon.swift
[288/293] Compiling NIOPosix BSDSocketAPIPosix.swift
[289/293] Compiling NIOPosix BSDSocketAPIWindows.swift
[290/293] Compiling NIOPosix BaseSocket.swift
[291/293] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[292/293] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[293/293] Compiling NIOPosix BaseSocketChannel.swift
[295/301] Compiling NIOUDPTransport UDPTransport.swift
[296/301] Compiling NIOUDPTransport UDPConfiguration.swift
[297/301] Compiling NIOUDPTransport UDPError.swift
[298/301] Compiling NIOUDPTransport NIOUDPTransport.swift
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:676:42: error: cannot find 'INADDR_ANY' in scope
674 | return in_addr(s_addr: INADDR_ANY.bigEndian)
675 | #else
676 | return in_addr(s_addr: in_addr_t(INADDR_ANY).bigEndian)
| `- error: cannot find 'INADDR_ANY' in scope
677 | #endif
678 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
| `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
[299/301] Compiling NIOUDPTransport NIOUDPTransport+Exports.swift
[300/301] Emitting module NIOUDPTransport
[301/301] Compiling NIOUDPTransport AddressHelpers.swift
BUILD FAILURE 6.2 android