Build Information
Failed to build swift-nio-udp, reference 1.0.1 (81bc22), with Swift 6.4 for Linux on 24 Sep 2026 02:10:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/hironichu/swift-nio-udp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-nio.git
[1/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.30s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (3.69s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[1876/8791] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.66s)
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-system.git (1.54s)
Fetched https://github.com/apple/swift-collections.git (1.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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.103.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.7.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.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 601]
[Planning deferred tasks]
[30 / 196] SpanPreview
[120 / 213] _AtomicsShims
[124 / 222] InternalCollectionsUtilities
[125 / 222] _NIOBase64
[136 / 222] NIOConcurrencyHelpers
[136 / 222] InternalCollectionsUtilities
[138 / 222] _NIOBase64
[152 / 223] InternalCollectionsUtilities
[153 / 223] InternalCollectionsUtilities
[154 / 223] _NIODataStructures
[155 / 223] SpanPreview
[159 / 223] InternalCollectionsUtilities
[160 / 224] _NIODataStructures
[164 / 225] CNIOOpenBSD
[173 / 226]
[188 / 232]
[194 / 251] DequeModule
[196 / 251] Atomics
[199 / 251] DequeModule
[200 / 251] DequeModule
[201 / 251] DequeModule
[203 / 251] CNIOAtomics
[204 / 251] InternalCollectionsUtilities
[206 / 252] InternalCollectionsUtilities
[207 / 252] InternalCollectionsUtilities
[209 / 252] DequeModule
[210 / 252] DequeModule
[212 / 252] Atomics
[214 / 252] Atomics
[216 / 252] NIOConcurrencyHelpers
[216 / 252] DequeModule
[216 / 252] Atomics
[221 / 252] DequeModule
[221 / 253] Atomics
[224 / 254] DequeModule
[233 / 255] DequeModule
[242 / 264] NIOCore
[251 / 266] NIOCore
[251 / 266] NIOPosix
[260 / 275] NIOPosix
[270 / 283] NIOUDPTransport
[271 / 283] NIOUDPTransport
[273 / 283] NIOUDPTransport
[273 / 284] NIOPosix
[281 / 284] NIOUDPTransport
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile NIOUDPTransport.swift
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:521:77: [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m519 |[0;0m name: .init(rawValue: CInt(IP_MULTICAST_LOOP))
[0;36m520 |[0;0m )
[0;36m521 |[0;0m bootstrap = bootstrap.channelOption(multicastLoopOption, value: CInt(1))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m522 |[0;0m
[0;36m523 |[0;0m let multicastTTLOption = ChannelOptions.Types.SocketOption(
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:527:76: [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m525 |[0;0m name: .init(rawValue: CInt(IP_MULTICAST_TTL))
[0;36m526 |[0;0m )
[0;36m527 |[0;0m bootstrap = bootstrap.channelOption(multicastTTLOption, value: CInt(255))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m528 |[0;0m #endif
[0;36m529 |[0;0m } else {
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:548:77: [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m546 |[0;0m name: .init(rawValue: CInt(IPV6_MULTICAST_LOOP))
[0;36m547 |[0;0m )
[0;36m548 |[0;0m bootstrap = bootstrap.channelOption(multicastLoopOption, value: CInt(1))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m549 |[0;0m
[0;36m550 |[0;0m let multicastHopsOption = ChannelOptions.Types.SocketOption(
/host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift:554:77: [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m552 |[0;0m name: .init(rawValue: CInt(IPV6_MULTICAST_HOPS))
[0;36m553 |[0;0m )
[0;36m554 |[0;0m bootstrap = bootstrap.channelOption(multicastHopsOption, value: CInt(255))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ChannelOptions.Types.SocketOption.Value' (aka 'Int')[0;0m
[0;36m555 |[0;0m #endif
[0;36m556 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/NIOUDPTransport/AddressHelpers.swift /host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport+Exports.swift -primary-file /host/spi-builder-workspace/Sources/NIOUDPTransport/NIOUDPTransport.swift /host/spi-builder-workspace/Sources/NIOUDPTransport/UDPConfiguration.swift /host/spi-builder-workspace/Sources/NIOUDPTransport/UDPError.swift /host/spi-builder-workspace/Sources/NIOUDPTransport/UDPTransport.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/Objects-normal/x86_64/NIOUDPTransport.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/Objects-normal/x86_64/NIOUDPTransport.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/Objects-normal/x86_64/NIOUDPTransport.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/Objects-normal/x86_64/NIOUDPTransport.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOOpenBSD.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NIOUDPTransport -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/Objects-normal/x86_64/NIOUDPTransport_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/Objects-normal/x86_64/NIOUDPTransport.o -index-unit-output-path /swift-nio-udp.build/Debug-linux-x86_64/NIOUDPTransport-t.build/Objects-normal/x86_64/NIOUDPTransport.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux