Build Information
Failed to build AGUISwift, reference main (cb462b), with Swift 6.4 for Android on 2 Nov 2026 09:37:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/paduh/ag-ui-swift.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/paduh/ag-ui-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cb462bc Merge pull request #31 from paduh/fix/pr-1512-final-review
Cloned https://github.com/paduh/ag-ui-swift.git
Revision (git rev-parse @):
cb462bc4f4364e7e21c0b57d1824e0fd328986c3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/paduh/ag-ui-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/paduh/ag-ui-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.96s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Pre-planning 1 / 240]
[Constructing 106 / 474]
[40 / 72] AGUICore
[49 / 81] AGUICore
[50 / 81] AGUICore
[57 / 91] AGUITools
[64 / 91] AGUITools
[69 / 91] AGUITools
[70 / 92]
[73 / 101] AGUIClient
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift:88:34: [1;33mwarning: [1;39mconformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m86 |[0;0m
[0;36m87 |[0;0m /// Shared box updated by the iterator whenever a non-nil SSE `id:` field is seen.
[0;36m88 |[0;0m private let lastEventIdBox = LastEventIdBox()
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m89 |[0;0m
[0;36m90 |[0;0m // MARK: - Public surface
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m34 |[0;0m /// - Returns: An HTTP response containing streaming bytes and metadata
[0;36m35 |[0;0m /// - Throws: `ClientError` if the request fails
[0;36m36 |[0;0m func execute(_ request: [4;39mURLRequest[0;0m) async throws -> HTTPResponse
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:30: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m
[0;36m53 |[0;0m /// HTTP response metadata.
[0;36m54 |[0;0m public let httpResponse: [4;39mHTTPURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m /// HTTP status code.
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:71:73: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m69 |[0;0m /// - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
[0;36m70 |[0;0m /// - httpResponse: HTTP response metadata
[0;36m71 |[0;0m public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m72 |[0;0m self.bytes = bytes
[0;36m73 |[0;0m self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:16: [1;33mwarning: [1;39mstored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode[0;0m
[0;36m52 |[0;0m
[0;36m53 |[0;0m /// HTTP response metadata.
[0;36m54 |[0;0m public let httpResponse: HTTPURLResponse
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:71:57: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m69 |[0;0m } else {
[0;36m70 |[0;0m // Create default URLSession-based client
[0;36m71 |[0;0m let sessionConfig = [4;39mURLSessionConfiguration[0;0m.[4;39mdefault[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m72 |[0;0m // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
[0;36m73 |[0;0m // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:87:27: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m85 |[0;0m sessionConfig.httpAdditionalHeaders = headers
[0;36m86 |[0;0m
[0;36m87 |[0;0m let session = [4;39mURLSession[0;0m(configuration: sessionConfig)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m88 |[0;0m self.httpClient = URLSessionHTTPClient(session: session)
[0;36m89 |[0;0m }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:28:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m /// ```
[0;36m27 |[0;0m public actor URLSessionHTTPClient: HTTPClient {
[0;36m28 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m /// Creates a new URLSession HTTP client with the specified session.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:46:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m /// let client = URLSessionHTTPClient(session: session)
[0;36m45 |[0;0m /// ```
[0;36m46 |[0;0m public init(session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m self.session = session
[0;36m48 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:24: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m /// ```
[0;36m71 |[0;0m public static func create(
[0;36m72 |[0;0m configuration: [4;39mURLSessionConfiguration[0;0m = .default
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m ) -> URLSessionHTTPClient {
[0;36m74 |[0;0m let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m70 |[0;0m /// ```
[0;36m71 |[0;0m public static func create(
[0;36m72 |[0;0m configuration: URLSessionConfiguration = .default
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m73 |[0;0m ) -> URLSessionHTTPClient {
[0;36m74 |[0;0m let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m70 |[0;0m /// ```
[0;36m71 |[0;0m public static func create(
[0;36m72 |[0;0m configuration: URLSessionConfiguration = [4;39m.default[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m73 |[0;0m ) -> URLSessionHTTPClient {
[0;36m74 |[0;0m let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m88 |[0;0m /// - `.cancelled` → `.cancelled`
[0;36m89 |[0;0m /// - Other errors → `.networkError`
[0;36m90 |[0;0m public func execute(_ request: [4;39mURLRequest[0;0m) async throws -> HTTPResponse {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m91 |[0;0m let (bytes, response): (URLSession.AsyncBytes, URLResponse)
[0;36m92 |[0;0m
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AGUIClient/AGUIClient.swift /host/spi-builder-workspace/Sources/AGUIClient/AbstractAgent.swift /host/spi-builder-workspace/Sources/AGUIClient/Errors/ClientError.swift /host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift /host/spi-builder-workspace/Sources/AGUIClient/RunAgentParameters.swift /host/spi-builder-workspace/Sources/AGUIClient/State/AgentState.swift /host/spi-builder-workspace/Sources/AGUIClient/State/DefaultApplyEvents.swift /host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift /host/spi-builder-workspace/Sources/AGUIClient/State/StateManager.swift /host/spi-builder-workspace/Sources/AGUIClient/Streaming/AsyncSequence+Buffering.swift /host/spi-builder-workspace/Sources/AGUIClient/Streaming/BufferingStrategy.swift /host/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift /host/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift /host/spi-builder-workspace/Sources/AGUIClient/Streaming/EventVerifier.swift /host/spi-builder-workspace/Sources/AGUIClient/Streaming/SseEvent.swift /host/spi-builder-workspace/Sources/AGUIClient/Streaming/SseParser.swift /host/spi-builder-workspace/Sources/AGUIClient/Subscriber/AgentSubscriber.swift /host/spi-builder-workspace/Sources/AGUIClient/Subscriber/SubscriberManager.swift /host/spi-builder-workspace/Sources/AGUIClient/Transport/AgentTransport.swift /host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift /host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpAgentConfiguration.swift /host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpAgentTransport.swift /host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift /host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/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 -swift-version 5 -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.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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.0-RELEASE_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-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -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/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AGUIClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/Objects-normal/aarch64/AGUIClient_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/Objects-normal/aarch64/Modules/AGUIClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/Objects-normal/aarch64/Modules/AGUIClient.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/Objects-normal/aarch64/AGUIClient-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/Objects-normal/aarch64/AGUIClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/Objects-normal/aarch64/AGUIClient-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AGUISwift.build/Debug-android-aarch64/AGUIClient-t.build/Objects-normal/aarch64/Modules/AGUIClient.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android