Build Information
Failed to build Ambassador, reference v5.0.0-rc.1 (b6d3cf), with Swift 6.4 for Android on 29 Sep 2026 07:49:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/envoy/Ambassador.git
Reference: v5.0.0-rc.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/envoy/Ambassador
* tag v5.0.0-rc.1 -> FETCH_HEAD
HEAD is now at b6d3cf1 Declare iOS 15 / macOS 12 / tvOS 15 platforms to match Embassy 5
Cloned https://github.com/envoy/Ambassador.git
Revision (git rev-parse @):
b6d3cf1c7d138955871826607715fc3b7f65ee69
SUCCESS checkout https://github.com/envoy/Ambassador.git at v5.0.0-rc.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/envoy/Ambassador.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/envoy/Embassy.git
[1/2100] Fetching embassy
Fetched https://github.com/envoy/Embassy.git (0.50s)
Computing version for https://github.com/envoy/Embassy.git
Computed https://github.com/envoy/Embassy.git at 5.0.0-rc (0.67s)
Creating working copy for https://github.com/envoy/Embassy.git
Working copy of https://github.com/envoy/Embassy.git resolved at 5.0.0-rc
Building for debugging...
[Pre-planning 1 / 96]
[Starting]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/Embassy/Sources/KqueueSelector.swift:24:31: [1;31merror: [1;39mcannot find type 'Darwin' in scope[0;0m
[0;36m22 |[0;0m // reusable buffer for kevent() to write ready events into; allocated once
[0;36m23 |[0;0m // rather than on every select() call
[0;36m24 |[0;0m private var readyEvents: [[4;39mDarwin[0;0m.kevent]
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Darwin' in scope[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m public init(selectMaximumEvent: Int = 1024) throws {
/host/spi-builder-workspace/.build/checkouts/Embassy/Sources/KqueueSelector.swift:91:89: [1;31merror: [1;39mcannot find type 'Darwin' in scope[0;0m
[0;36m89 |[0;0m
[0;36m90 |[0;0m /// One kevent change per event in `events`, all carrying `flags`
[0;36m91 |[0;0m private func changes(_ events: IOEvent, to fileDescriptor: Int32, flags: Int32) -> [[4;39mDarwin[0;0m.kevent] {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Darwin' in scope[0;0m
[0;36m92 |[0;0m events.elements.map { event in
[0;36m93 |[0;0m Darwin.kevent(
/host/spi-builder-workspace/.build/checkouts/Embassy/Sources/KqueueSelector.swift:105:36: [1;31merror: [1;39mcannot find type 'Darwin' in scope[0;0m
[0;36m103 |[0;0m
[0;36m104 |[0;0m /// Submit a batch of kevent changes in one syscall
[0;36m105 |[0;0m private func apply(_ changes: [[4;39mDarwin[0;0m.kevent]) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Darwin' in scope[0;0m
[0;36m106 |[0;0m guard !changes.isEmpty else {
[0;36m107 |[0;0m return
/host/spi-builder-workspace/.build/checkouts/Embassy/Sources/TCPSocket.swift:114:36: [1;31merror: [1;39mcannot find 'SOMAXCONN' in scope[0;0m
[0;36m112 |[0;0m /// Listen incomming connections
[0;36m113 |[0;0m /// - Parameter backlog: maximum backlog of incoming connections
[0;36m114 |[0;0m func listen(backlog: Int = Int([4;39mSOMAXCONN[0;0m)) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SOMAXCONN' in scope[0;0m
[0;36m115 |[0;0m guard Darwin.listen(fileDescriptor, Int32(backlog)) != -1 else {
[0;36m116 |[0;0m throw OSError.lastIOError()
/host/spi-builder-workspace/.build/checkouts/Embassy/Sources/TCPSocket.swift:208:48: [1;31merror: [1;39mcannot find type 'sockaddr' in scope[0;0m
[0;36m206 |[0;0m
[0;36m207 |[0;0m private func getName(
[0;36m208 |[0;0m function: (Int32, UnsafeMutablePointer<[4;39msockaddr[0;0m>, UnsafeMutablePointer<socklen_t>) -> Int32
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'sockaddr' in scope[0;0m
[0;36m209 |[0;0m ) throws -> (String, Int) {
[0;36m210 |[0;0m var address = sockaddr_storage()
/host/spi-builder-workspace/.build/checkouts/Embassy/Sources/TCPSocket.swift:258:63: [1;31merror: [1;39mcannot find type 'in6_addr' in scope[0;0m
[0;36m256 |[0;0m
[0;36m257 |[0;0m // Convert IP address to binary struct
[0;36m258 |[0;0m private func ipAddressToStruct(address: String) throws -> [4;39min6_addr[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'in6_addr' in scope[0;0m
[0;36m259 |[0;0m // convert interface string into IPv6 address struct
[0;36m260 |[0;0m var binary: in6_addr = in6_addr()
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Atomic.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Errors.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/EventLoop.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/HeapSort.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/IOUtils.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/KqueueSelector.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/DefaultLogFormatter.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/DefaultLogger.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/FileLogHandler.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/LogFormatter.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/LogHandler.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/Logger.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/PrintLogHandler.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Logger/TransformLogHandler.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/MultiDictionary.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Network/DefaultHTTPServer.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Network/HTTPConnection.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Network/HTTPHeaderParser.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Network/HTTPRequest.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Network/HTTPServer.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/PropagateLogHandler.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/SWSGI.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/SWSGIUtils.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Selector.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/SelectorEventLoop.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/TCPSocket.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Transport.swift /host/spi-builder-workspace/.build/checkouts/Embassy/Sources/Version.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 -suppress-warnings -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Embassy -package-name embassy -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/Objects-normal/aarch64/Embassy_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/Objects-normal/aarch64/Modules/Embassy.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/Objects-normal/aarch64/Modules/Embassy.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/Objects-normal/aarch64/Embassy-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/Objects-normal/aarch64/Embassy-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/Objects-normal/aarch64/Embassy-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Embassy.build/Debug-android-aarch64/Embassy-t.build/Objects-normal/aarch64/Modules/Embassy.swiftmodule
[34 / 49] Embassy
error: Build failed
BUILD FAILURE 6.4 android