Build Information
Failed to build WiremockClient, reference master (91c3e2), with Swift 6.2 for Android on 20 Jun 2025 00:30:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mobileforming/WiremockClient.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/mobileforming/WiremockClient
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 91c3e2b Merge pull request #37 from mobileforming/TR-deployment-target-update
Cloned https://github.com/mobileforming/WiremockClient.git
Revision (git rev-parse @):
91c3e2be7cfef270584c2d822c0886781d29f62d
SUCCESS checkout https://github.com/mobileforming/WiremockClient.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/mobileforming/WiremockClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module WiremockClient
/host/spi-builder-workspace/Sources/WiremockClient/Networking/Endpoint.swift:14:21: error: cannot find type 'URLRequest' in scope
12 | var requestMethod: RequestMethod { get }
13 | var body: Data? { get }
14 | var urlRequest: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:11:47: error: cannot find type 'URLRequest' in scope
9 |
10 | protocol SynchronousURLSession {
11 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error>
| `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 | }
13 |
14 | extension URLSession: SynchronousURLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error> {
16 | var data: Data?
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:38:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |
37 | @DebugOverridable
38 | var urlSession: SynchronousURLSession = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 |
40 | func makeSynchronousRequest(with endpoint: Endpoint) throws {
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockEndpoint.swift:91:21: error: cannot find type 'URLRequest' in scope
89 | }
90 |
91 | var urlRequest: URLRequest? {
| `- error: cannot find type 'URLRequest' in scope
92 | guard let url = URL(string: "\(WiremockClient.baseURL)/\(path)") else {
93 | return nil
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/21] Compiling WiremockClient UrlPattern.swift
[5/21] Compiling WiremockClient DebugOverridable.swift
[6/21] Compiling WiremockClient MatchCondition.swift
[7/21] Compiling WiremockClient RequestMapping.swift
[8/21] Compiling WiremockClient StubMapping.swift
[9/21] Compiling WiremockClient Transformer.swift
[10/21] Compiling WiremockClient WiremockClientNetworkService.swift
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:11:47: error: cannot find type 'URLRequest' in scope
9 |
10 | protocol SynchronousURLSession {
11 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error>
| `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 | }
13 |
14 | extension URLSession: SynchronousURLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error> {
16 | var data: Data?
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:38:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |
37 | @DebugOverridable
38 | var urlSession: SynchronousURLSession = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 |
40 | func makeSynchronousRequest(with endpoint: Endpoint) throws {
/host/spi-builder-workspace/Sources/WiremockClient/Networking/Endpoint.swift:14:21: error: cannot find type 'URLRequest' in scope
12 | var requestMethod: RequestMethod { get }
13 | var body: Data? { get }
14 | var urlRequest: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockEndpoint.swift:91:21: error: cannot find type 'URLRequest' in scope
89 | }
90 |
91 | var urlRequest: URLRequest? {
| `- error: cannot find type 'URLRequest' in scope
92 | guard let url = URL(string: "\(WiremockClient.baseURL)/\(path)") else {
93 | return nil
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockEndpoint.swift:95:26: error: cannot find 'URLRequest' in scope
93 | return nil
94 | }
95 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
96 | urlRequest.httpMethod = requestMethod.rawValue
97 | urlRequest.httpBody = body
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:15:47: error: cannot find type 'URLRequest' in scope
13 |
14 | extension URLSession: SynchronousURLSession {
15 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error> {
| `- error: cannot find type 'URLRequest' in scope
16 | var data: Data?
17 | var error: Error?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[11/21] Compiling WiremockClient WiremockEndpoint.swift
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:11:47: error: cannot find type 'URLRequest' in scope
9 |
10 | protocol SynchronousURLSession {
11 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error>
| `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 | }
13 |
14 | extension URLSession: SynchronousURLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error> {
16 | var data: Data?
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:38:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |
37 | @DebugOverridable
38 | var urlSession: SynchronousURLSession = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 |
40 | func makeSynchronousRequest(with endpoint: Endpoint) throws {
/host/spi-builder-workspace/Sources/WiremockClient/Networking/Endpoint.swift:14:21: error: cannot find type 'URLRequest' in scope
12 | var requestMethod: RequestMethod { get }
13 | var body: Data? { get }
14 | var urlRequest: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockEndpoint.swift:91:21: error: cannot find type 'URLRequest' in scope
89 | }
90 |
91 | var urlRequest: URLRequest? {
| `- error: cannot find type 'URLRequest' in scope
92 | guard let url = URL(string: "\(WiremockClient.baseURL)/\(path)") else {
93 | return nil
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockEndpoint.swift:95:26: error: cannot find 'URLRequest' in scope
93 | return nil
94 | }
95 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
96 | urlRequest.httpMethod = requestMethod.rawValue
97 | urlRequest.httpBody = body
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:15:47: error: cannot find type 'URLRequest' in scope
13 |
14 | extension URLSession: SynchronousURLSession {
15 | func executeSynchronousRequest(_ request: URLRequest) -> Result<Data?, Error> {
| `- error: cannot find type 'URLRequest' in scope
16 | var data: Data?
17 | var error: Error?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[12/21] Compiling WiremockClient WiremockClient.swift
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:38:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |
37 | @DebugOverridable
38 | var urlSession: SynchronousURLSession = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 |
40 | func makeSynchronousRequest(with endpoint: Endpoint) throws {
[13/21] Compiling WiremockClient WiremockClientError.swift
/host/spi-builder-workspace/Sources/WiremockClient/Networking/WiremockClientNetworkService.swift:38:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |
37 | @DebugOverridable
38 | var urlSession: SynchronousURLSession = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 |
40 | func makeSynchronousRequest(with endpoint: Endpoint) throws {
[14/21] Compiling WiremockClient RequestPattern.swift
[15/21] Compiling WiremockClient ResponseDefinition.swift
[16/21] Compiling WiremockClient LoggedRequest.swift
[17/21] Compiling WiremockClient LoggedRequestResponse.swift
[18/21] Compiling WiremockClient MappingsResponse.swift
[19/21] Compiling WiremockClient Endpoint.swift
/host/spi-builder-workspace/Sources/WiremockClient/Networking/Endpoint.swift:14:21: error: cannot find type 'URLRequest' in scope
12 | var requestMethod: RequestMethod { get }
13 | var body: Data? { get }
14 | var urlRequest: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
[20/21] Compiling WiremockClient NetworkService.swift
/host/spi-builder-workspace/Sources/WiremockClient/Networking/Endpoint.swift:14:21: error: cannot find type 'URLRequest' in scope
12 | var requestMethod: RequestMethod { get }
13 | var body: Data? { get }
14 | var urlRequest: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
[21/21] Compiling WiremockClient RequestMethod.swift
/host/spi-builder-workspace/Sources/WiremockClient/Networking/Endpoint.swift:14:21: error: cannot find type 'URLRequest' in scope
12 | var requestMethod: RequestMethod { get }
13 | var body: Data? { get }
14 | var urlRequest: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
BUILD FAILURE 6.2 android