The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ServiceManager, reference master (81bb25), with Swift 6.4 for Android on 17 Sep 2026 15:02:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bibinjacobpulickal/ServiceManager.git
Reference: master
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/bibinjacobpulickal/ServiceManager
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 81bb25b Added port component.
Cloned https://github.com/bibinjacobpulickal/ServiceManager.git
Revision (git rev-parse @):
81bb25bfea2779e9bdcd9ccd1bcad592435b24ca
SUCCESS checkout https://github.com/bibinjacobpulickal/ServiceManager.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/bibinjacobpulickal/ServiceManager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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
Building for debugging...
[Planning deferred tasks]
[28 / 36] ServiceManager
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:47:101: error: cannot find type 'URLRequest' in scope
 45 |     }
 46 |
 47 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 48 |         var urlRequest = try urlRequest.asURLRequest()
 49 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:54:94: error: cannot find type 'URLRequest' in scope
52 |     /// - Returns:      The encoded `URLRequest`.
53 |     /// - Throws:       Any `Error` produced during parameter encoding.
54 |     func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:59:123: error: cannot find type 'URLRequest' in scope
57 | extension ParameterEncoding {
58 |
59 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
60 |         try encode(urlRequest, with: try object?.jsonObject(using: encoder) as? Parameters)
61 |     }
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift:51:123: error: cannot find type 'URLRequest' in scope
49 |     }
50 |
51 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
52 |         var urlRequest = try urlRequest.asURLRequest()
53 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift:49:101: error: cannot find type 'URLRequest' in scope
47 |     }
48 |
49 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
   |                                                                                                     `- error: cannot find type 'URLRequest' in scope
50 |         var urlRequest = try urlRequest.asURLRequest()
51 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:79:101: error: cannot find type 'URLRequest' in scope
 77 |     }
 78 |
 79 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 80 |         var urlRequest = try urlRequest.asURLRequest()
 81 |
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:374:33: error: cannot find 'kCFBundleExecutableKey' in scope
372 |     public static let defaultUserAgent: HTTPHeader = {
373 |         let info = Bundle.main.infoDictionary
374 |         let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
    |                                 `- error: cannot find 'kCFBundleExecutableKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:377:28: error: cannot find 'kCFBundleIdentifierKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
    |                            `- error: cannot find 'kCFBundleIdentifierKey' in scope
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:379:30: error: cannot find 'kCFBundleVersionKey' in scope
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
    |                              `- error: cannot find 'kCFBundleVersionKey' in scope
380 |
381 |         let osNameVersion: String = {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:428:11: error: cannot find type 'URLRequest' in scope
426 | // MARK: - System Type Extensions
427 |
428 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
429 |     /// Returns `allHTTPHeaderFields` as `HTTPHeaders`.
430 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
434 | }
435 |
436 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
437 |     /// Returns `allHeaderFields` as `HTTPHeaders`.
438 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:443:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
441 | }
442 |
443 | public extension URLSessionConfiguration {
    |        `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
444 |     /// Returns `httpAdditionalHeaders` as `HTTPHeaders`.
445 |     var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:38:28: error: cannot find type 'URLRequest' in scope
36 | extension URLRequestConvertible {
37 |     /// The `URLRequest` returned by discarding any `Error` encountered.
38 |     public var urlRequest: URLRequest? { try? asURLRequest() }
   |                            `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:41:11: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | extension URLRequest: URLRequestConvertible {
   |           `- error: cannot find type 'URLRequest' in scope
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
/host/spi-builder-workspace/Sources/ServiceManager/Route/Route.swift:31:35: error: cannot find type 'URLRequest' in scope
29 | public extension Route {
30 |
31 |     func asURLRequest() throws -> URLRequest {
   |                                   `- error: cannot find type 'URLRequest' in scope
32 |         let url            = try asURL()
33 |         let request        = try URLRequest(url: url, method: method, body: body, headers: headers)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:146:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
144 |         _ request: URLRequestConvertible,
145 |         log: Bool = false,
146 |         _ completion: ((Data?, HTTPURLResponse?, Error?) -> Void)? = nil) {
    |                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 |         do {
148 |             let request = try request.asURLRequest()
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/ServiceManager/Service/Service.swift:161:41: error: cannot find type 'URLRequest' in scope
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                         `- error: cannot find type 'URLRequest' in scope
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:161:64: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
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/ServiceManager/Service/Service.swift:195:39: error: cannot find type 'URLRequest' in scope
193 |         let headers: HTTPHeaders?
194 |
195 |         func asURLRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
196 |             let request = try URLRequest(url: url, method: method, body: body, headers: headers)
197 |             return try encoding.encode(request, with: object, using: encoder)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:202:11: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
203 |     /// Creates an instance with the specified `url`, `method`, and `headers`.
204 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
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/Sources/ServiceManager/Decoding/AnyDecoder.swift /host/spi-builder-workspace/Sources/ServiceManager/Encoding/AnyEncoder.swift /host/spi-builder-workspace/Sources/ServiceManager/Encoding/EncodableExtensions.swift /host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift /host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift /host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift /host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift /host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift /host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift /host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift /host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift /host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift /host/spi-builder-workspace/Sources/ServiceManager/Protocols/DataConvertible.swift /host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLConvertible.swift /host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift /host/spi-builder-workspace/Sources/ServiceManager/Route/RequestComponent.swift /host/spi-builder-workspace/Sources/ServiceManager/Route/ResponseComponent.swift /host/spi-builder-workspace/Sources/ServiceManager/Route/Route.swift /host/spi-builder-workspace/Sources/ServiceManager/Route/URLComponent.swift /host/spi-builder-workspace/Sources/ServiceManager/Service/BBServiceKit.swift /host/spi-builder-workspace/Sources/ServiceManager/Service/Service.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 -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.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/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ServiceManager -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/Objects-normal/aarch64/ServiceManager_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/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/Objects-normal/aarch64/Modules/ServiceManager.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/Objects-normal/aarch64/Modules/ServiceManager.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/Objects-normal/aarch64/ServiceManager-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/Objects-normal/aarch64/ServiceManager-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/Objects-normal/aarch64/ServiceManager-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ServiceManager.build/Debug-android-aarch64/ServiceManager-t.build/Objects-normal/aarch64/Modules/ServiceManager.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android