The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Apexy, reference 1.7.5 (ad19a3), with Swift 6.1 for Linux on 20 May 2025 15:24:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RedMadRobot/apexy-ios.git
Reference: 1.7.5
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/apexy-ios
 * tag               1.7.5      -> FETCH_HEAD
HEAD is now at ad19a37 Merge pull request #46 from onl1ner/feature/explicit-host-trust-evaluation
Cloned https://github.com/RedMadRobot/apexy-ios.git
Revision (git rev-parse @):
ad19a372695ef3191c5fb8e70624cb7439224f4d
SUCCESS checkout https://github.com/RedMadRobot/apexy-ios.git at 1.7.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RedMadRobot/apexy-ios.git
https://github.com/RedMadRobot/apexy-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "Apexy",
  "name" : "Apexy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Apexy",
      "targets" : [
        "ApexyURLSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApexyAlamofire",
      "targets" : [
        "ApexyAlamofire"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApexyLoader",
      "targets" : [
        "ApexyLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ApexyURLSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "ApexyURLSessionTests",
      "path" : "Tests/ApexyURLSessionTests",
      "sources" : [
        "BaseRequestAdapterTests.swift",
        "URLSessionClientTests.swift"
      ],
      "target_dependencies" : [
        "ApexyURLSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ApexyURLSession",
      "module_type" : "SwiftTarget",
      "name" : "ApexyURLSession",
      "path" : "Sources/ApexyURLSession",
      "product_memberships" : [
        "Apexy"
      ],
      "sources" : [
        "BaseRequestAdapter.swift",
        "URLSessionClient+Concurrency.swift",
        "URLSessionClient.swift"
      ],
      "target_dependencies" : [
        "Apexy"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApexyTests",
      "module_type" : "SwiftTarget",
      "name" : "ApexyTests",
      "path" : "Tests/ApexyTests",
      "sources" : [
        "HTTPBodyTests.swift",
        "URLRequestBuildableTests.swift"
      ],
      "target_dependencies" : [
        "Apexy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ApexyLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "ApexyLoaderTests",
      "path" : "Tests/ApexyLoaderTests",
      "sources" : [
        "ContentLoaderTests.swift",
        "LoaderObservationTests.swift",
        "LoadingStateTests.swift"
      ],
      "target_dependencies" : [
        "ApexyLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ApexyLoader",
      "module_type" : "SwiftTarget",
      "name" : "ApexyLoader",
      "path" : "Sources/ApexyLoader",
      "product_memberships" : [
        "ApexyLoader"
      ],
      "sources" : [
        "ContentLoader.swift",
        "LoaderObservation.swift",
        "LoadingState.swift",
        "ObservableLoader.swift",
        "WebLoader.swift"
      ],
      "target_dependencies" : [
        "Apexy"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApexyAlamofireTests",
      "module_type" : "SwiftTarget",
      "name" : "ApexyAlamofireTests",
      "path" : "Tests/ApexyAlamofireTests",
      "sources" : [
        "AlamofireClientCombineTests.swift",
        "AlamofireClientTests.swift",
        "BaseRequestInterceptorTests.swift",
        "Helpers/EmptyEndpoint.swift",
        "Helpers/MockURLProtocol.swift",
        "Helpers/SimpleUploadEndpoint.swift"
      ],
      "target_dependencies" : [
        "ApexyAlamofire"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ApexyAlamofire",
      "module_type" : "SwiftTarget",
      "name" : "ApexyAlamofire",
      "path" : "Sources/ApexyAlamofire",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "ApexyAlamofire"
      ],
      "sources" : [
        "AlamofireClient+Concurrency.swift",
        "AlamofireClient.swift",
        "BaseRequestInterceptor.swift"
      ],
      "target_dependencies" : [
        "Apexy"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Apexy",
      "module_type" : "SwiftTarget",
      "name" : "Apexy",
      "path" : "Sources/Apexy",
      "product_memberships" : [
        "Apexy",
        "ApexyAlamofire",
        "ApexyLoader"
      ],
      "sources" : [
        "APIResult.swift",
        "Client.swift",
        "Clients/CombineClient.swift",
        "Clients/ConcurrencyClient.swift",
        "Endpoint.swift",
        "HTTPBody.swift",
        "ResponseObserver.swift",
        "URLRequestBuildable.swift",
        "UploadEndpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:f193892c0330802c410074518c5e9f2dde15db311d4fc67a93260807f25db4d6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/30140] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.36s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (2.80s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Building for debugging...
[0/7] Write sources
[5/7] Copying PrivacyInfo.xcprivacy
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/55] Compiling Apexy ResponseObserver.swift
/host/spi-builder-workspace/Sources/Apexy/ResponseObserver.swift:10:38: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public typealias ResponseObserver = (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Void
   |                                      `- error: cannot find type 'URLRequest' in scope
11 |
[9/56] Compiling Apexy HTTPBody.swift
[10/56] Compiling Alamofire WebSocketRequest.swift
[11/56] Compiling Alamofire DispatchQueue+Alamofire.swift
[12/56] Compiling Alamofire OperationQueue+Alamofire.swift
[13/56] Compiling Alamofire Result+Alamofire.swift
[14/56] Compiling Alamofire StringEncoding+Alamofire.swift
[15/56] Compiling Apexy Endpoint.swift
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:22:34: error: cannot find type 'URLRequest' in scope
20 |     /// - Returns: Resource request.
21 |     /// - Throws: Any error creating request.
22 |     func makeRequest() throws -> URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
23 |
24 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:31:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     /// - Returns: A new endpoint content.
30 |     /// - Throws: Any error creating content.
31 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     /// Validate response.
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/Apexy/Endpoint.swift:40:30: error: cannot find type 'URLRequest' in scope
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                              `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:40:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
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/Apexy/Endpoint.swift:44:30: error: cannot find type 'URLRequest' in scope
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                              `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:44:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
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
[16/61] Compiling Apexy URLRequestBuildable.swift
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:11:58: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
   |                                                          `- error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:12:47: error: cannot find type 'URLRequest' in scope
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:13:47: error: cannot find type 'URLRequest' in scope
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:14:45: error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
   |                                             `- error: cannot find type 'URLRequest' in scope
15 |     func delete(_ url: URL) -> URLRequest
16 | }
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:15:32: error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
   |                                `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:26:64: error: cannot find type 'URLRequest' in scope
24 |     ///   - queryItems: Request parameters.
25 |     /// - Returns: HTTP GET Request.
26 |     func get(_ url: URL, queryItems: [URLQueryItem]? = nil) -> URLRequest {
   |                                                                `- error: cannot find type 'URLRequest' in scope
27 |         guard let queryItems = queryItems, !queryItems.isEmpty else {
28 |             return URLRequest(url: url)
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:47:47: error: cannot find type 'URLRequest' in scope
45 |     ///   - body: HTTP body.
46 |     /// - Returns: HTTP POST request.
47 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:64:47: error: cannot find type 'URLRequest' in scope
62 |     ///   - body: HTTP body.
63 |     /// - Returns: HTTP PATCH request.
64 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
65 |         var request = post(url, body: body)
66 |         request.httpMethod = "PATCH"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:76:45: error: cannot find type 'URLRequest' in scope
74 |     ///   - body: HTTP body.
75 |     /// - Returns: HTTP PUT request.
76 |     func put(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                             `- error: cannot find type 'URLRequest' in scope
77 |         var request = post(url, body: body)
78 |         request.httpMethod = "PUT"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:87:32: error: cannot find type 'URLRequest' in scope
85 |     ///   - url: Request URL.
86 |     /// - Returns: HTTP DELETE request.
87 |     func delete(_ url: URL) -> URLRequest {
   |                                `- error: cannot find type 'URLRequest' in scope
88 |         var request = URLRequest(url: url)
89 |         request.httpMethod = "DELETE"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// - Returns: HTTP POST request.
47 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "POST"
50 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:88:23: error: cannot find 'URLRequest' in scope
86 |     /// - Returns: HTTP DELETE request.
87 |     func delete(_ url: URL) -> URLRequest {
88 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
89 |         request.httpMethod = "DELETE"
90 |         return request
[17/61] Compiling Alamofire NetworkReachabilityManager.swift
[18/61] Compiling Alamofire RedirectHandler.swift
[19/61] Compiling Alamofire RequestCompression.swift
[20/61] Compiling Alamofire RequestInterceptor.swift
[21/61] Compiling Alamofire ResponseSerialization.swift
[22/61] Compiling Alamofire Alamofire.swift
[23/61] Compiling Alamofire AFError.swift
[24/61] Compiling Alamofire DataRequest.swift
[25/61] Compiling Alamofire DataStreamRequest.swift
[26/61] Compiling Alamofire DownloadRequest.swift
[27/61] Compiling Alamofire HTTPHeaders.swift
[28/61] Emitting module Alamofire
[29/61] Compiling Alamofire URLRequest+Alamofire.swift
[30/61] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[31/61] Compiling Alamofire AlamofireExtended.swift
[32/61] Compiling Alamofire AuthenticationInterceptor.swift
[33/61] Compiling Alamofire CachedResponseHandler.swift
[34/61] Compiling Alamofire Combine.swift
[35/61] Compiling Alamofire Concurrency.swift
[36/61] Compiling Alamofire EventMonitor.swift
[37/61] Compiling Alamofire MultipartFormData.swift
[38/61] Compiling Alamofire MultipartUpload.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/61] Compiling Alamofire RequestTaskMap.swift
[41/61] Compiling Alamofire Response.swift
[43/61] Compiling Alamofire Session.swift
[44/61] Compiling Alamofire SessionDelegate.swift
[45/61] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[46/61] Compiling Alamofire UploadRequest.swift
[47/61] Compiling Alamofire HTTPMethod.swift
[48/61] Compiling Alamofire Notifications.swift
[49/61] Compiling Alamofire ParameterEncoder.swift
[50/61] Compiling Alamofire ParameterEncoding.swift
[51/61] Compiling Apexy CombineClient.swift
[52/61] Compiling Alamofire Protected.swift
[53/61] Compiling Alamofire Request.swift
[54/61] Compiling Apexy ConcurrencyClient.swift
[55/61] Emitting module Apexy
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:22:34: error: cannot find type 'URLRequest' in scope
20 |     /// - Returns: Resource request.
21 |     /// - Throws: Any error creating request.
22 |     func makeRequest() throws -> URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
23 |
24 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:31:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     /// - Returns: A new endpoint content.
30 |     /// - Throws: Any error creating content.
31 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     /// Validate response.
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/Apexy/Endpoint.swift:40:30: error: cannot find type 'URLRequest' in scope
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                              `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:40:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
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/Apexy/Endpoint.swift:44:30: error: cannot find type 'URLRequest' in scope
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                              `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:44:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
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/Apexy/ResponseObserver.swift:10:38: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public typealias ResponseObserver = (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Void
   |                                      `- error: cannot find type 'URLRequest' in scope
11 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:11:58: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
   |                                                          `- error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:12:47: error: cannot find type 'URLRequest' in scope
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:13:47: error: cannot find type 'URLRequest' in scope
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:14:45: error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
   |                                             `- error: cannot find type 'URLRequest' in scope
15 |     func delete(_ url: URL) -> URLRequest
16 | }
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:15:32: error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
   |                                `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:26:64: error: cannot find type 'URLRequest' in scope
24 |     ///   - queryItems: Request parameters.
25 |     /// - Returns: HTTP GET Request.
26 |     func get(_ url: URL, queryItems: [URLQueryItem]? = nil) -> URLRequest {
   |                                                                `- error: cannot find type 'URLRequest' in scope
27 |         guard let queryItems = queryItems, !queryItems.isEmpty else {
28 |             return URLRequest(url: url)
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:47:47: error: cannot find type 'URLRequest' in scope
45 |     ///   - body: HTTP body.
46 |     /// - Returns: HTTP POST request.
47 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:64:47: error: cannot find type 'URLRequest' in scope
62 |     ///   - body: HTTP body.
63 |     /// - Returns: HTTP PATCH request.
64 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
65 |         var request = post(url, body: body)
66 |         request.httpMethod = "PATCH"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:76:45: error: cannot find type 'URLRequest' in scope
74 |     ///   - body: HTTP body.
75 |     /// - Returns: HTTP PUT request.
76 |     func put(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                             `- error: cannot find type 'URLRequest' in scope
77 |         var request = post(url, body: body)
78 |         request.httpMethod = "PUT"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:87:32: error: cannot find type 'URLRequest' in scope
85 |     ///   - url: Request URL.
86 |     /// - Returns: HTTP DELETE request.
87 |     func delete(_ url: URL) -> URLRequest {
   |                                `- error: cannot find type 'URLRequest' in scope
88 |         var request = URLRequest(url: url)
89 |         request.httpMethod = "DELETE"
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:26:35: error: cannot find type 'URLRequest' in scope
24 |     /// - Returns: Resource request and uploadable data
25 |     /// - Throws: Any error creating request.
26 |     func makeRequest() throws -> (URLRequest, UploadEndpointBody)
   |                                   `- error: cannot find type 'URLRequest' in scope
27 |
28 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:35:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |     /// - Returns: A new endpoint content.
34 |     /// - Throws: Any error creating content.
35 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 | }
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
[56/61] Compiling Apexy UploadEndpoint.swift
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:26:35: error: cannot find type 'URLRequest' in scope
24 |     /// - Returns: Resource request and uploadable data
25 |     /// - Throws: Any error creating request.
26 |     func makeRequest() throws -> (URLRequest, UploadEndpointBody)
   |                                   `- error: cannot find type 'URLRequest' in scope
27 |
28 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:35:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |     /// - Returns: A new endpoint content.
34 |     /// - Throws: Any error creating content.
35 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 | }
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:f193892c0330802c410074518c5e9f2dde15db311d4fc67a93260807f25db4d6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/49] Compiling Apexy ResponseObserver.swift
/host/spi-builder-workspace/Sources/Apexy/ResponseObserver.swift:10:38: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public typealias ResponseObserver = (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Void
   |                                      `- error: cannot find type 'URLRequest' in scope
11 |
[3/49] Compiling Apexy URLRequestBuildable.swift
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:11:58: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
   |                                                          `- error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:12:47: error: cannot find type 'URLRequest' in scope
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:13:47: error: cannot find type 'URLRequest' in scope
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:14:45: error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
   |                                             `- error: cannot find type 'URLRequest' in scope
15 |     func delete(_ url: URL) -> URLRequest
16 | }
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:15:32: error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
   |                                `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:26:64: error: cannot find type 'URLRequest' in scope
24 |     ///   - queryItems: Request parameters.
25 |     /// - Returns: HTTP GET Request.
26 |     func get(_ url: URL, queryItems: [URLQueryItem]? = nil) -> URLRequest {
   |                                                                `- error: cannot find type 'URLRequest' in scope
27 |         guard let queryItems = queryItems, !queryItems.isEmpty else {
28 |             return URLRequest(url: url)
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:47:47: error: cannot find type 'URLRequest' in scope
45 |     ///   - body: HTTP body.
46 |     /// - Returns: HTTP POST request.
47 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:64:47: error: cannot find type 'URLRequest' in scope
62 |     ///   - body: HTTP body.
63 |     /// - Returns: HTTP PATCH request.
64 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
65 |         var request = post(url, body: body)
66 |         request.httpMethod = "PATCH"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:76:45: error: cannot find type 'URLRequest' in scope
74 |     ///   - body: HTTP body.
75 |     /// - Returns: HTTP PUT request.
76 |     func put(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                             `- error: cannot find type 'URLRequest' in scope
77 |         var request = post(url, body: body)
78 |         request.httpMethod = "PUT"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:87:32: error: cannot find type 'URLRequest' in scope
85 |     ///   - url: Request URL.
86 |     /// - Returns: HTTP DELETE request.
87 |     func delete(_ url: URL) -> URLRequest {
   |                                `- error: cannot find type 'URLRequest' in scope
88 |         var request = URLRequest(url: url)
89 |         request.httpMethod = "DELETE"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// - Returns: HTTP POST request.
47 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "POST"
50 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:88:23: error: cannot find 'URLRequest' in scope
86 |     /// - Returns: HTTP DELETE request.
87 |     func delete(_ url: URL) -> URLRequest {
88 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
89 |         request.httpMethod = "DELETE"
90 |         return request
[4/49] Compiling Apexy ConcurrencyClient.swift
[5/49] Compiling Apexy HTTPBody.swift
[6/49] Compiling Apexy Endpoint.swift
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:22:34: error: cannot find type 'URLRequest' in scope
20 |     /// - Returns: Resource request.
21 |     /// - Throws: Any error creating request.
22 |     func makeRequest() throws -> URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
23 |
24 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:31:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     /// - Returns: A new endpoint content.
30 |     /// - Throws: Any error creating content.
31 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     /// Validate response.
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/Apexy/Endpoint.swift:40:30: error: cannot find type 'URLRequest' in scope
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                              `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:40:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
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/Apexy/Endpoint.swift:44:30: error: cannot find type 'URLRequest' in scope
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                              `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:44:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/50] Compiling Apexy CombineClient.swift
[8/50] Compiling Alamofire Alamofire.swift
[9/50] Compiling Alamofire AFError.swift
[10/50] Emitting module Apexy
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:22:34: error: cannot find type 'URLRequest' in scope
20 |     /// - Returns: Resource request.
21 |     /// - Throws: Any error creating request.
22 |     func makeRequest() throws -> URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
23 |
24 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:31:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     /// - Returns: A new endpoint content.
30 |     /// - Throws: Any error creating content.
31 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     /// Validate response.
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/Apexy/Endpoint.swift:40:30: error: cannot find type 'URLRequest' in scope
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                              `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:40:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
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/Apexy/Endpoint.swift:44:30: error: cannot find type 'URLRequest' in scope
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                              `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:44:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
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/Apexy/ResponseObserver.swift:10:38: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public typealias ResponseObserver = (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Void
   |                                      `- error: cannot find type 'URLRequest' in scope
11 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:11:58: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
   |                                                          `- error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:12:47: error: cannot find type 'URLRequest' in scope
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:13:47: error: cannot find type 'URLRequest' in scope
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:14:45: error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
   |                                             `- error: cannot find type 'URLRequest' in scope
15 |     func delete(_ url: URL) -> URLRequest
16 | }
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:15:32: error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
   |                                `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:26:64: error: cannot find type 'URLRequest' in scope
24 |     ///   - queryItems: Request parameters.
25 |     /// - Returns: HTTP GET Request.
26 |     func get(_ url: URL, queryItems: [URLQueryItem]? = nil) -> URLRequest {
   |                                                                `- error: cannot find type 'URLRequest' in scope
27 |         guard let queryItems = queryItems, !queryItems.isEmpty else {
28 |             return URLRequest(url: url)
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:47:47: error: cannot find type 'URLRequest' in scope
45 |     ///   - body: HTTP body.
46 |     /// - Returns: HTTP POST request.
47 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:64:47: error: cannot find type 'URLRequest' in scope
62 |     ///   - body: HTTP body.
63 |     /// - Returns: HTTP PATCH request.
64 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
65 |         var request = post(url, body: body)
66 |         request.httpMethod = "PATCH"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:76:45: error: cannot find type 'URLRequest' in scope
74 |     ///   - body: HTTP body.
75 |     /// - Returns: HTTP PUT request.
76 |     func put(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                             `- error: cannot find type 'URLRequest' in scope
77 |         var request = post(url, body: body)
78 |         request.httpMethod = "PUT"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:87:32: error: cannot find type 'URLRequest' in scope
85 |     ///   - url: Request URL.
86 |     /// - Returns: HTTP DELETE request.
87 |     func delete(_ url: URL) -> URLRequest {
   |                                `- error: cannot find type 'URLRequest' in scope
88 |         var request = URLRequest(url: url)
89 |         request.httpMethod = "DELETE"
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:26:35: error: cannot find type 'URLRequest' in scope
24 |     /// - Returns: Resource request and uploadable data
25 |     /// - Throws: Any error creating request.
26 |     func makeRequest() throws -> (URLRequest, UploadEndpointBody)
   |                                   `- error: cannot find type 'URLRequest' in scope
27 |
28 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:35:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |     /// - Returns: A new endpoint content.
34 |     /// - Throws: Any error creating content.
35 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 | }
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
[11/50] Compiling Apexy UploadEndpoint.swift
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:26:35: error: cannot find type 'URLRequest' in scope
24 |     /// - Returns: Resource request and uploadable data
25 |     /// - Throws: Any error creating request.
26 |     func makeRequest() throws -> (URLRequest, UploadEndpointBody)
   |                                   `- error: cannot find type 'URLRequest' in scope
27 |
28 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:35:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |     /// - Returns: A new endpoint content.
34 |     /// - Throws: Any error creating content.
35 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 | }
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
[12/50] Compiling Alamofire WebSocketRequest.swift
[13/50] Compiling Alamofire DispatchQueue+Alamofire.swift
[14/50] Compiling Alamofire OperationQueue+Alamofire.swift
[15/50] Compiling Alamofire Result+Alamofire.swift
[16/50] Compiling Alamofire StringEncoding+Alamofire.swift
BUILD FAILURE 6.1 linux