The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Catbird, reference master (d57fe3), with Swift 6.3 for Android on 12 Apr 2026 20:48:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RedMadRobot/catbird.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/RedMadRobot/catbird
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d57fe3d Bump tzinfo from 1.2.7 to 1.2.10 in /Example/CatbirdX (#59)
Cloned https://github.com/RedMadRobot/catbird.git
Revision (git rev-parse @):
d57fe3de2df3ad390494083d4cc9ff183cd6d1b7
SUCCESS checkout https://github.com/RedMadRobot/catbird.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/RedMadRobot/catbird.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module CatbirdAPI
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     /// Default network session.
 16 |     public static var session: URLSession {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |         let configuration = URLSessionConfiguration.ephemeral
 18 |         configuration.timeoutIntervalForRequest = 5
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/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |
 27 |     /// Network session.
 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 |     /// Unique catbird id for parallel test running.
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/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:33:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     public var parallelId: String?
 32 |
 33 |     public init(url: URL = localhost, session: URLSession = session, parallelId: String? = nil) {
    |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         self.url = url
 35 |         self.session = 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/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:48:90: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |     /// - Returns: Session task.
 47 |     @discardableResult
 48 |     public func send(_ action: CatbirdAction, completion: @escaping (Error?) -> Void) -> URLSessionTask {
    |                                                                                          `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |         let request = try! action.makeRequest(to: url, parallelId: parallelId)
 50 |         return dataTask(request, completion: completion)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:75:41: error: cannot find type 'URLRequest' in scope
 73 |     // MARK: - Private
 74 |
 75 |     private func dataTask(_ urlRequest: URLRequest, completion: @escaping (Error?) -> Void) -> URLSessionTask {
    |                                         `- error: cannot find type 'URLRequest' in scope
 76 |         let task = session.dataTask(with: urlRequest) { (data: Data?, response: URLResponse?, error: Error?) in
 77 |             switch (response, error) {
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:75:96: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     // MARK: - Private
 74 |
 75 |     private func dataTask(_ urlRequest: URLRequest, completion: @escaping (Error?) -> Void) -> URLSessionTask {
    |                                                                                                `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         let task = session.dataTask(with: urlRequest) { (data: Data?, response: URLResponse?, error: Error?) in
 77 |             switch (response, error) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:92:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 90 | }
 91 |
 92 | extension URLSessionTask {
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 93 |     /// Wait until task completed.
 94 |     fileprivate func wait() {
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:104:72: error: cannot find type 'URLRequest' in scope
102 |
103 | extension CatbirdAction {
104 |     func makeRequest(to url: URL, parallelId: String? = nil) throws -> URLRequest {
    |                                                                        `- error: cannot find type 'URLRequest' in scope
105 |         let request = try makeHTTPRequest(to: url, parallelId: parallelId)
106 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/9] Compiling CatbirdAPI RequestPattern.swift
[5/9] Compiling CatbirdAPI ResponseMock.swift
[6/9] Compiling CatbirdAPI CatbirdAction.swift
[7/9] Compiling CatbirdAPI Catbird.swift
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     /// Default network session.
 16 |     public static var session: URLSession {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |         let configuration = URLSessionConfiguration.ephemeral
 18 |         configuration.timeoutIntervalForRequest = 5
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/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |
 27 |     /// Network session.
 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 |     /// Unique catbird id for parallel test running.
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/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:33:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     public var parallelId: String?
 32 |
 33 |     public init(url: URL = localhost, session: URLSession = session, parallelId: String? = nil) {
    |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         self.url = url
 35 |         self.session = 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/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:48:90: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |     /// - Returns: Session task.
 47 |     @discardableResult
 48 |     public func send(_ action: CatbirdAction, completion: @escaping (Error?) -> Void) -> URLSessionTask {
    |                                                                                          `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |         let request = try! action.makeRequest(to: url, parallelId: parallelId)
 50 |         return dataTask(request, completion: completion)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:75:41: error: cannot find type 'URLRequest' in scope
 73 |     // MARK: - Private
 74 |
 75 |     private func dataTask(_ urlRequest: URLRequest, completion: @escaping (Error?) -> Void) -> URLSessionTask {
    |                                         `- error: cannot find type 'URLRequest' in scope
 76 |         let task = session.dataTask(with: urlRequest) { (data: Data?, response: URLResponse?, error: Error?) in
 77 |             switch (response, error) {
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:75:96: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     // MARK: - Private
 74 |
 75 |     private func dataTask(_ urlRequest: URLRequest, completion: @escaping (Error?) -> Void) -> URLSessionTask {
    |                                                                                                `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         let task = session.dataTask(with: urlRequest) { (data: Data?, response: URLResponse?, error: Error?) in
 77 |             switch (response, error) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:92:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 90 | }
 91 |
 92 | extension URLSessionTask {
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 93 |     /// Wait until task completed.
 94 |     fileprivate func wait() {
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:104:72: error: cannot find type 'URLRequest' in scope
102 |
103 | extension CatbirdAction {
104 |     func makeRequest(to url: URL, parallelId: String? = nil) throws -> URLRequest {
    |                                                                        `- error: cannot find type 'URLRequest' in scope
105 |         let request = try makeHTTPRequest(to: url, parallelId: parallelId)
106 |
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 15 |     /// Default network session.
 16 |     public static var session: URLSession {
 17 |         let configuration = URLSessionConfiguration.ephemeral
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 18 |         configuration.timeoutIntervalForRequest = 5
 19 |         let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: .main)
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:19:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 17 |         let configuration = URLSessionConfiguration.ephemeral
 18 |         configuration.timeoutIntervalForRequest = 5
 19 |         let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: .main)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 20 |         session.sessionDescription = "Catbird session"
 21 |         return session
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:19:74: error: 'nil' requires a contextual type
 17 |         let configuration = URLSessionConfiguration.ephemeral
 18 |         configuration.timeoutIntervalForRequest = 5
 19 |         let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: .main)
    |                                                                          `- error: 'nil' requires a contextual type
 20 |         session.sessionDescription = "Catbird session"
 21 |         return session
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:19:95: error: cannot infer contextual base in reference to member 'main'
 17 |         let configuration = URLSessionConfiguration.ephemeral
 18 |         configuration.timeoutIntervalForRequest = 5
 19 |         let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 20 |         session.sessionDescription = "Catbird session"
 21 |         return session
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:66:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'wait'
 64 |         })
 65 |
 66 |         task.wait()
    |              `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'wait'
 67 |
 68 |         if let error = outError {
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:76:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 74 |
 75 |     private func dataTask(_ urlRequest: URLRequest, completion: @escaping (Error?) -> Void) -> URLSessionTask {
 76 |         let task = session.dataTask(with: urlRequest) { (data: Data?, response: URLResponse?, error: Error?) in
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 77 |             switch (response, error) {
 78 |             case (_, let error?):
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:81:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 79 |                 completion(error)
 80 |             case (let http as HTTPURLResponse, _):
 81 |                 completion(CatbirdError(statusCode: http.statusCode, data: data))
    |                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 82 |             default:
 83 |                 completion(nil)
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/Catbird.swift:107:26: error: cannot find 'URLRequest' in scope
105 |         let request = try makeHTTPRequest(to: url, parallelId: parallelId)
106 |
107 |         var urlRequest = URLRequest(url: request.url)
    |                          `- error: cannot find 'URLRequest' in scope
108 |         urlRequest.httpMethod = request.httpMethod
109 |         for (key, value) in request.headers {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[8/9] Compiling CatbirdAPI PatternMatch.swift
[9/9] Compiling CatbirdAPI CatbirdError.swift
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/CatbirdError.swift:35:32: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
33 |     public var errorDescription: String? {
34 | #if !os(Linux)
35 |         return HTTPURLResponse.localizedString(forStatusCode: errorCode)
   |                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
36 | #else
37 |         return "Status code: \(errorCode)"
BUILD FAILURE 6.3 android