The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Mu, reference 0.2.0 (1a3bc6), with Swift 6.1 for Android on 28 May 2025 05:45:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nirma/Mu.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Nirma/Mu
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 1a3bc68 Merge pull request #1 from Nirma/expand_HTTP_Methods
Cloned https://github.com/Nirma/Mu.git
Revision (git rev-parse @):
1a3bc684c3cb830c85aad62a398ca1c0f9ab855e
SUCCESS checkout https://github.com/Nirma/Mu.git at 0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Nirma/Mu.git
https://github.com/Nirma/Mu.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mu",
  "name" : "Mu",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Mu",
      "targets" : [
        "Mu"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MuTests",
      "module_type" : "SwiftTarget",
      "name" : "MuTests",
      "path" : "Tests/MuTests",
      "sources" : [
        "HTTPMethodTests.swift",
        "SchemeTests.swift"
      ],
      "target_dependencies" : [
        "Mu"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mu",
      "module_type" : "SwiftTarget",
      "name" : "Mu",
      "path" : "Sources/Mu",
      "product_memberships" : [
        "Mu"
      ],
      "sources" : [
        "AbstractDecoder.swift",
        "AbstractEncoder.swift",
        "HTTPBody.swift",
        "HTTPMethod.swift",
        "HTTPRequest.swift",
        "HTTPRequester.swift",
        "JSONDecoder+AbstractDecoder.swift",
        "JSONEncoder+AbstractEncoder.swift",
        "Request.swift",
        "RequestError.swift",
        "Requester.swift",
        "Response.swift",
        "Scheme.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Mu HTTPBody.swift
[4/15] Compiling Mu HTTPMethod.swift
[5/15] Compiling Mu Response.swift
/host/spi-builder-workspace/Sources/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     associatedtype T
26 |
27 |     var httpResponse: HTTPURLResponse { get }
   |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     var result: T { get }
29 | }
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
[6/16] Compiling Mu AbstractDecoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Compiling Mu AbstractEncoder.swift
[8/16] Emitting module Mu
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | protocol HTTPRequester {
25 |     func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
   |                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
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/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | open class Requester: HTTPRequester {
25 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     var decoder: AbstractDecoder
27 |
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/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         decoder: AbstractDecoder
31 |     ) {
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/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |         decoder: AbstractDecoder
31 |     ) {
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |     }
35 |
36 |     open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
   |                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |         guard let urlRequest = request.composeRequest() else {
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/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     associatedtype T
26 |
27 |     var httpResponse: HTTPURLResponse { get }
   |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     var result: T { get }
29 | }
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
[9/16] Compiling Mu Request.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
[10/16] Compiling Mu RequestError.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
[11/16] Compiling Mu Requester.swift
/host/spi-builder-workspace/Sources/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | open class Requester: HTTPRequester {
25 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     var decoder: AbstractDecoder
27 |
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/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         decoder: AbstractDecoder
31 |     ) {
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/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |         decoder: AbstractDecoder
31 |     ) {
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |     }
35 |
36 |     open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
   |                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |         guard let urlRequest = request.composeRequest() else {
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/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/Requester.swift:42:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
40 |         }
41 |
42 |         let (data, response) = try await session.data(for: urlRequest)
   |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
43 |         guard let response = response as? HTTPURLResponse else { throw RequestError.unexpectedResponse }
44 |         let result = try decoder.decode(expect: R.self, from: data)
[12/16] Compiling Mu JSONDecoder+AbstractDecoder.swift
[13/16] Compiling Mu JSONEncoder+AbstractEncoder.swift
[14/16] Compiling Mu HTTPRequest.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:62:23: error: cannot find 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
62 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
63 |         request.httpMethod = method.description
64 |         headers.map {
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | protocol HTTPRequester {
25 |     func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
   |                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
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
[15/16] Compiling Mu HTTPRequester.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:62:23: error: cannot find 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
62 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
63 |         request.httpMethod = method.description
64 |         headers.map {
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | protocol HTTPRequester {
25 |     func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
   |                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
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/16] Compiling Mu Scheme.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling Mu Response.swift
/host/spi-builder-workspace/Sources/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     associatedtype T
26 |
27 |     var httpResponse: HTTPURLResponse { get }
   |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     var result: T { get }
29 | }
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)
[3/15] Compiling Mu AbstractDecoder.swift
[4/15] Compiling Mu AbstractEncoder.swift
[5/15] Emitting module Mu
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | protocol HTTPRequester {
25 |     func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
   |                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
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/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | open class Requester: HTTPRequester {
25 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     var decoder: AbstractDecoder
27 |
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/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         decoder: AbstractDecoder
31 |     ) {
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/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |         decoder: AbstractDecoder
31 |     ) {
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |     }
35 |
36 |     open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
   |                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |         guard let urlRequest = request.composeRequest() else {
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/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     associatedtype T
26 |
27 |     var httpResponse: HTTPURLResponse { get }
   |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     var result: T { get }
29 | }
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
[6/15] Compiling Mu Requester.swift
/host/spi-builder-workspace/Sources/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | open class Requester: HTTPRequester {
25 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     var decoder: AbstractDecoder
27 |
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/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         decoder: AbstractDecoder
31 |     ) {
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/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 |
28 |     public init(
29 |         session: URLSession = URLSession.shared,
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |         decoder: AbstractDecoder
31 |     ) {
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |     }
35 |
36 |     open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
   |                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |         guard let urlRequest = request.composeRequest() else {
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/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/Requester.swift:42:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
40 |         }
41 |
42 |         let (data, response) = try await session.data(for: urlRequest)
   |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
43 |         guard let response = response as? HTTPURLResponse else { throw RequestError.unexpectedResponse }
44 |         let result = try decoder.decode(expect: R.self, from: data)
[7/15] Compiling Mu Request.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
[8/15] Compiling Mu RequestError.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
[9/15] Compiling Mu HTTPRequest.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:62:23: error: cannot find 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
62 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
63 |         request.httpMethod = method.description
64 |         headers.map {
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | protocol HTTPRequester {
25 |     func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
   |                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
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
[10/15] Compiling Mu HTTPRequester.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
33 |     var body: HTTPBody? { get }
34 |
35 |     func composeRequest() -> URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func composeRequest() -> URLRequest? {
   |                              `- error: cannot find type 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:62:23: error: cannot find 'URLRequest' in scope
60 |         guard let url = urlFromComponents() else { return nil }
61 |
62 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
63 |         request.httpMethod = method.description
64 |         headers.map {
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | protocol HTTPRequester {
25 |     func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
   |                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
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
[11/15] Compiling Mu Scheme.swift
[12/15] Compiling Mu JSONDecoder+AbstractDecoder.swift
[13/15] Compiling Mu JSONEncoder+AbstractEncoder.swift
[14/15] Compiling Mu HTTPBody.swift
[15/15] Compiling Mu HTTPMethod.swift
BUILD FAILURE 6.1 android