The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build papyrus, reference main (63fbe1), with Swift 6.2 for Android on 8 Nov 2025 04:52:10 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joshuawright11/papyrus.git
Reference: main
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/joshuawright11/papyrus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 63fbe12 bump swift-syntax
Cloned https://github.com/joshuawright11/papyrus.git
Revision (git rev-parse @):
63fbe12b859fdc1dd7b66be807f423c3f21d12b3
SUCCESS checkout https://github.com/joshuawright11/papyrus.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/joshuawright11/papyrus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/914] Fetching swift-macro-testing
[915/73633] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (4.86s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.92s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (7.21s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (0.41s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15596] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.92s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (3.27s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.63s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5552] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.71s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.08s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.4
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.58s)
Building for debugging...
[0/12] Write sources
[4/12] Write swift-version--11D90AFD9DD3AB2.txt
[6/24] Compiling PapyrusPlugin PapyrusPluginError.swift
[7/25] Compiling PapyrusPlugin EndpointAttribute.swift
[8/25] Compiling PapyrusPlugin Plugin.swift
[9/25] Compiling PapyrusPlugin EndpointParameter.swift
[10/25] Compiling PapyrusPlugin MockMacro.swift
[11/25] Compiling PapyrusPlugin RoutesMacro.swift
[12/25] Compiling PapyrusPlugin String+Utilities.swift
[13/25] Compiling PapyrusPlugin SwiftSyntax+Utilities.swift
[14/25] Emitting module PapyrusPlugin
[15/25] Compiling PapyrusPlugin API.swift
[16/25] Compiling PapyrusPlugin Declaration.swift
[17/25] Compiling PapyrusPlugin APIMacro.swift
[18/25] Compiling PapyrusPlugin DecoratorMacro.swift
[19/26] Wrapping AST for PapyrusPlugin for debugging
[20/26] Write Objects.LinkFileList
[21/26] Linking PapyrusPlugin-tool
[23/74] Compiling Papyrus RequestBuilder.swift
[24/74] Compiling Papyrus PapyrusRouter.swift
[25/74] Compiling Papyrus RequestParser.swift
[26/77] Emitting module Papyrus
[27/77] Compiling Papyrus RouterRequest.swift
[28/77] Compiling Papyrus RouterResponse.swift
[29/77] Compiling Papyrus URLEncodedForm.swift
[30/77] Compiling Papyrus Part.swift
[31/77] Compiling Papyrus PapyrusError.swift
[32/77] Compiling Papyrus PapyrusMacros.swift
[33/77] Compiling Papyrus HTTPBodyEncoder.swift
[34/77] Compiling Papyrus HTTPService.swift
[35/77] Compiling Papyrus CurlInterceptor.swift
[36/77] Compiling Papyrus KeyMappable.swift
[37/77] Compiling Papyrus Coders.swift
[38/77] Compiling Papyrus String+Multipart.swift
[39/77] Compiling Papyrus URLSession+Papyrus.swift
[40/77] Compiling Papyrus HTTPBodyDecoder.swift
[41/77] Compiling Papyrus PapyrusRequest.swift
[42/77] Compiling Papyrus PapyrusResponse.swift
[43/77] Compiling Papyrus Provider.swift
[44/77] Compiling Papyrus KeyMapping.swift
[45/77] Compiling Papyrus MultipartDecoder.swift
[46/77] Compiling Papyrus MultipartEncoder.swift
[47/77] Compiling Papyrus URLEncodedFormDecoder.swift
[48/77] Compiling Papyrus URLEncodedFormEncoder.swift
[49/77] Compiling Papyrus URLEncodedFormNode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/81] Emitting module Papyrus
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: value of type '_' expected to be instance of class or class-constrained type
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 53 |
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: value of type '_' expected to be instance of class or class-constrained type
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 53 |
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: value of type '_' expected to be instance of class or class-constrained type
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 53 |
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: value of type '_' expected to be instance of class or class-constrained type
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 53 |
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: value of type '_' expected to be instance of class or class-constrained type
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 53 |
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = 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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
 11 |         self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
    |                                           `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
 12 |     }
 13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 60 |     let body: Data?
 61 |     let headers: [String: String]?
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 67 |         self.error = error
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
    |                                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 70 |             .allHeaderFields
 71 |             .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |         self.body = body
 69 |         let headerPairs = (response as? HTTPURLResponse)?
 70 |             .allHeaderFields
    |              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 71 |             .compactMap { key, value -> (String, String)? in
 72 |                 guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[75/81] Compiling Papyrus URLEncodedFormDecoder.swift
[76/81] Compiling Papyrus URLEncodedFormEncoder.swift
[77/81] Compiling Papyrus URLEncodedFormNode.swift
BUILD FAILURE 6.2 android