The Swift Package Index logo.Swift Package Index

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>&1

Build 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: warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 86 |
 87 |     /// Shared box updated by the iterator whenever a non-nil SSE `id:` field is seen.
 88 |     private let lastEventIdBox = LastEventIdBox()
    |                                  `- warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 89 |
 90 |     // MARK: - Public surface
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: An HTTP response containing streaming bytes and metadata
35 |     /// - Throws: `ClientError` if the request fails
36 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     /// HTTP response metadata.
54 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |
56 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:71:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
70 |     ///   - httpResponse: HTTP response metadata
71 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 |         self.bytes = bytes
73 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
52 |
53 |     /// HTTP response metadata.
54 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
55 |
56 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:71:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |         } else {
 70 |             // Create default URLSession-based client
 71 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 73 |             // 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: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 85 |             sessionConfig.httpAdditionalHeaders = headers
 86 |
 87 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 88 |             self.httpClient = URLSessionHTTPClient(session: session)
 89 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | /// ```
 27 | public actor URLSessionHTTPClient: HTTPClient {
 28 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     /// Creates a new URLSession HTTP client with the specified session.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:46:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     /// let client = URLSessionHTTPClient(session: session)
 45 |     /// ```
 46 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.session = session
 48 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// ```
 71 |     public static func create(
 72 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     ) -> URLSessionHTTPClient {
 74 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type '_' expected to be instance of class or class-constrained type
 70 |     /// ```
 71 |     public static func create(
 72 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 73 |     ) -> URLSessionHTTPClient {
 74 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 70 |     /// ```
 71 |     public static func create(
 72 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 73 |     ) -> URLSessionHTTPClient {
 74 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:36: error: cannot find type 'URLRequest' in scope
 88 |     /// - `.cancelled` → `.cancelled`
 89 |     /// - Other errors → `.networkError`
 90 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 91 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 92 |
[#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