Build Information
Failed to build SetlistFMKit, reference 1.1.0 (11b9b5), with Swift 6.3 for Android on 14 Apr 2026 17:33:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/justinshapiro/SetlistFMKit.git
Reference: 1.1.0
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/justinshapiro/SetlistFMKit
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 11b9b5d Add async/await support
Cloned https://github.com/justinshapiro/SetlistFMKit.git
Revision (git rev-parse @):
11b9b5d1901bbfdc98f0c1316fadf742765cbdad
SUCCESS checkout https://github.com/justinshapiro/SetlistFMKit.git at 1.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/justinshapiro/SetlistFMKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[3/8] Compiling SetlistFMKit URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:14:29: error: cannot find type 'URLRequest' in scope
12 | /// in a way that is compatible with `URLSession` so that the providing such network implementation is optional
13 | public protocol URLSessionProtocol {
14 | func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:14:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// in a way that is compatible with `URLSession` so that the providing such network implementation is optional
13 | public protocol URLSessionProtocol {
14 | func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:17:28: error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
17 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:17:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
17 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:20:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
18 | }
19 |
20 | extension URLSession: URLSessionProtocol {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
21 | public func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol {
22 | (dataTask(with: url, completionHandler: completionHandler) as URLSessionDataTask) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:37:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
35 | }
36 |
37 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
38 |
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:21:36: error: cannot find type 'URLRequest' in scope
19 |
20 | extension URLSession: URLSessionProtocol {
21 | public func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol {
| `- error: cannot find type 'URLRequest' in scope
22 | (dataTask(with: url, completionHandler: completionHandler) as URLSessionDataTask) as URLSessionDataTaskProtocol
23 | }
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:26:35: error: cannot find type 'URLRequest' in scope
24 |
25 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
26 | public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
27 | try await data(for: request, delegate: nil)
28 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/8] Compiling SetlistFMKit SetlistFMWrapper.swift
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMWrapper.swift:53:114: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
51 | /// - Parameter language: The desired language you wish to obtain results in. `.english` is passed in by default.
52 | /// - Parameter session: Supply this argument when you want to use a custom networking implementation different than `URLSession.shared`
53 | public init(apiKey: String, language: SupportedLanguage = .english, session: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
54 | fmRequest = SetlistFMRequest(apiKey: apiKey, language: language, session: session)
55 | }
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:14:29: error: cannot find type 'URLRequest' in scope
12 | /// in a way that is compatible with `URLSession` so that the providing such network implementation is optional
13 | public protocol URLSessionProtocol {
14 | func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:17:28: error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
17 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Compiling SetlistFMKit SetlistFMRequestModels.swift
[6/8] Emitting module SetlistFMKit
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:14:29: error: cannot find type 'URLRequest' in scope
12 | /// in a way that is compatible with `URLSession` so that the providing such network implementation is optional
13 | public protocol URLSessionProtocol {
14 | func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:17:28: error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
17 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:34:96: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
32 | /// - Parameter language: The language we set to requests results back in
33 | /// - Parameter session: The URLSessionProtocol to make network requests through
34 | init(apiKey: String, language: SupportedLanguage, session: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 | self.apiKey = apiKey
36 | self.language = language
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:75:66: error: cannot find type 'URLRequest' in scope
73 | }
74 |
75 | private func urlRequest(for model: SetlistFMRequestModel) -> URLRequest? {
| `- error: cannot find type 'URLRequest' in scope
76 | guard var components = URLComponents(string: model.endpoint) else {
77 | return nil
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:97:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
95 | }
96 |
97 | private func parseResponse<T: Decodable>(data: Data?, response: URLResponse?, error: Error?) -> Result<T, FMError> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
98 | guard let data = data,
99 | let requestResponse = response as? HTTPURLResponse,
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMWrapper.swift:53:114: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
51 | /// - Parameter language: The desired language you wish to obtain results in. `.english` is passed in by default.
52 | /// - Parameter session: Supply this argument when you want to use a custom networking implementation different than `URLSession.shared`
53 | public init(apiKey: String, language: SupportedLanguage = .english, session: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
54 | fmRequest = SetlistFMRequest(apiKey: apiKey, language: language, session: session)
55 | }
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:14:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// in a way that is compatible with `URLSession` so that the providing such network implementation is optional
13 | public protocol URLSessionProtocol {
14 | func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:17:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
17 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:20:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
18 | }
19 |
20 | extension URLSession: URLSessionProtocol {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
21 | public func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol {
22 | (dataTask(with: url, completionHandler: completionHandler) as URLSessionDataTask) as URLSessionDataTaskProtocol
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:37:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
35 | }
36 |
37 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
38 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[7/8] Compiling SetlistFMKit SetlistFMRequest.swift
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:14:29: error: cannot find type 'URLRequest' in scope
12 | /// in a way that is compatible with `URLSession` so that the providing such network implementation is optional
13 | public protocol URLSessionProtocol {
14 | func dataTask(with url: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
/host/spi-builder-workspace/Sources/SetlistFMKit/URLSessionProtocol.swift:17:28: error: cannot find type 'URLRequest' in scope
15 |
16 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
17 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:34:96: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
32 | /// - Parameter language: The language we set to requests results back in
33 | /// - Parameter session: The URLSessionProtocol to make network requests through
34 | init(apiKey: String, language: SupportedLanguage, session: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 | self.apiKey = apiKey
36 | self.language = language
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:75:66: error: cannot find type 'URLRequest' in scope
73 | }
74 |
75 | private func urlRequest(for model: SetlistFMRequestModel) -> URLRequest? {
| `- error: cannot find type 'URLRequest' in scope
76 | guard var components = URLComponents(string: model.endpoint) else {
77 | return nil
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:97:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
95 | }
96 |
97 | private func parseResponse<T: Decodable>(data: Data?, response: URLResponse?, error: Error?) -> Result<T, FMError> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
98 | guard let data = data,
99 | let requestResponse = response as? HTTPURLResponse,
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:49:87: error: argument type '_' expected to be an instance of a class or class-constrained type
47 |
48 | let task = session.dataTask(with: request) { data, response, error in
49 | let result: Result<T, FMError> = self.parseResponse(data: data, response: response, error: error)
| `- error: argument type '_' expected to be an instance of a class or class-constrained type
50 | completion(result)
51 | }
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:89:23: error: cannot find 'URLRequest' in scope
87 | let url = URL(string: baseURL + components.url!.absoluteString)!
88 |
89 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
90 | request.httpMethod = "GET"
91 | request.setValue(apiKey, forHTTPHeaderField: "x-api-key")
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:99:44: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
97 | private func parseResponse<T: Decodable>(data: Data?, response: URLResponse?, error: Error?) -> Result<T, FMError> {
98 | guard let data = data,
99 | let requestResponse = response as? HTTPURLResponse,
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
100 | (200 ..< 300) ~= requestResponse.statusCode,
101 | error == nil
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:99:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
97 | private func parseResponse<T: Decodable>(data: Data?, response: URLResponse?, error: Error?) -> Result<T, FMError> {
98 | guard let data = data,
99 | let requestResponse = response as? HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | (200 ..< 300) ~= requestResponse.statusCode,
101 | error == nil
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/SetlistFMKit/SetlistFMRequest.swift:100:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
98 | guard let data = data,
99 | let requestResponse = response as? HTTPURLResponse,
100 | (200 ..< 300) ~= requestResponse.statusCode,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
101 | error == nil
102 | else {
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:103:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
101 | error == nil
102 | else {
103 | let statusCode = (response as? HTTPURLResponse)?.statusCode
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
104 | let result: Result<T, FMError> = .failure(.init(code: statusCode ?? -1, message: error?.localizedDescription))
105 | return result
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:103:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
101 | error == nil
102 | else {
103 | let statusCode = (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
104 | let result: Result<T, FMError> = .failure(.init(code: statusCode ?? -1, message: error?.localizedDescription))
105 | return result
/host/spi-builder-workspace/Sources/SetlistFMKit/SetlistFMRequest.swift:112:83: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 | return .success(data)
111 | } catch(let error) {
112 | let result: Result<T, FMError> = .failure(.init(code: requestResponse.statusCode, message: error.localizedDescription))
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 | return result
114 | }
[8/8] Compiling SetlistFMKit SetlistFMResponseModels.swift
BUILD FAILURE 6.3 android