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 MastodonSwift, reference 2.1.2 (26d970), with Swift 6.1 for Android on 28 May 2025 12:37:06 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/Swiftodon/Mastodon.swift.git
Reference: 2.1.2
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/Swiftodon/Mastodon.swift
 * tag               2.1.2      -> FETCH_HEAD
HEAD is now at 26d970a Merge pull request #34 from Swiftodon/fix/Status.url-optional
Cloned https://github.com/Swiftodon/Mastodon.swift.git
Revision (git rev-parse @):
26d970a92d31cbb0b797f8031746e07f656aee2b
SUCCESS checkout https://github.com/Swiftodon/Mastodon.swift.git at 2.1.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Swiftodon/Mastodon.swift.git
https://github.com/Swiftodon/Mastodon.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MastodonSwift",
  "name" : "MastodonSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "MastodonSwift",
      "targets" : [
        "MastodonSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MastodonSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "MastodonSwiftTests",
      "path" : "Tests/MastodonSwiftTests",
      "sources" : [
        "MastodonClientTests.swift",
        "Mocking/MockURLProcotol.swift",
        "Mocking/MockURLSession.swift",
        "Mocking/Responses/CreateAppMockResponse.swift",
        "Mocking/Responses/GetAuthenticateMockResponse.swift",
        "Mocking/Responses/GetHomeTimelineMockResponse.swift"
      ],
      "target_dependencies" : [
        "MastodonSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MastodonSwift",
      "module_type" : "SwiftTarget",
      "name" : "MastodonSwift",
      "path" : "Sources/MastodonSwift",
      "product_memberships" : [
        "MastodonSwift"
      ],
      "sources" : [
        "Entities/AccessToken.swift",
        "Entities/Account.swift",
        "Entities/App.swift",
        "Entities/Application.swift",
        "Entities/Attachment.swift",
        "Entities/Card.swift",
        "Entities/Context.swift",
        "Entities/Error.swift",
        "Entities/Instance.swift",
        "Entities/Mention.swift",
        "Entities/Notification.swift",
        "Entities/Relationship.swift",
        "Entities/Report.swift",
        "Entities/Result.swift",
        "Entities/Status.swift",
        "Entities/Tag.swift",
        "Extensions/Primitive+AsString.swift",
        "Extensions/String+AsURL.swift",
        "Extensions/URL+OptionalString.swift",
        "MastodonClient+Convenience.swift",
        "MastodonClient.swift",
        "Networking/MultipartFormData.swift",
        "Networking/TargetType.swift",
        "Targets/Accounts.swift",
        "Targets/Apps.swift",
        "Targets/Blocks.swift",
        "Targets/Favourites.swift",
        "Targets/FollowRequests.swift",
        "Targets/Follows.swift",
        "Targets/Instances.swift",
        "Targets/Mastodon.swift",
        "Targets/Media.swift",
        "Targets/Mutes.swift",
        "Targets/Notifications.swift",
        "Targets/OAuth.swift",
        "Targets/Reports.swift",
        "Targets/Search.swift",
        "Targets/Statuses.swift",
        "Targets/Timelines.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/38] Compiling MastodonSwift AccessToken.swift
[4/38] Compiling MastodonSwift Account.swift
[5/38] Compiling MastodonSwift App.swift
[6/38] Compiling MastodonSwift Application.swift
[7/38] Compiling MastodonSwift Attachment.swift
[8/38] Compiling MastodonSwift Mastodon.swift
[9/38] Compiling MastodonSwift Media.swift
[10/38] Compiling MastodonSwift Mutes.swift
[11/38] Compiling MastodonSwift Notifications.swift
[12/38] Compiling MastodonSwift OAuth.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/42] Emitting module MastodonSwift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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
[14/42] Compiling MastodonSwift Blocks.swift
[15/42] Compiling MastodonSwift Favourites.swift
[16/42] Compiling MastodonSwift FollowRequests.swift
[17/42] Compiling MastodonSwift Follows.swift
[18/42] Compiling MastodonSwift Instances.swift
[19/42] Compiling MastodonSwift Notification.swift
[20/42] Compiling MastodonSwift Relationship.swift
[21/42] Compiling MastodonSwift Report.swift
[22/42] Compiling MastodonSwift Result.swift
[23/42] Compiling MastodonSwift Status.swift
[24/42] Compiling MastodonSwift Card.swift
[25/42] Compiling MastodonSwift Context.swift
[26/42] Compiling MastodonSwift Error.swift
[27/42] Compiling MastodonSwift Instance.swift
[28/42] Compiling MastodonSwift Mention.swift
[29/42] Compiling MastodonSwift Tag.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[30/42] Compiling MastodonSwift Primitive+AsString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[31/42] Compiling MastodonSwift String+AsURL.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[32/42] Compiling MastodonSwift URL+OptionalString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[33/42] Compiling MastodonSwift MastodonClient+Convenience.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[34/42] Compiling MastodonSwift MastodonClient.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[35/42] Compiling MastodonSwift MultipartFormData.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[36/42] Compiling MastodonSwift TargetType.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[37/42] Compiling MastodonSwift Accounts.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[38/42] Compiling MastodonSwift Apps.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[39/42] Compiling MastodonSwift Reports.swift
[40/42] Compiling MastodonSwift Search.swift
[41/42] Compiling MastodonSwift Statuses.swift
[42/42] Compiling MastodonSwift Timelines.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/37] Emitting module MastodonSwift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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
[3/41] Compiling MastodonSwift MastodonClient.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[4/41] Compiling MastodonSwift MultipartFormData.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[5/41] Compiling MastodonSwift TargetType.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[6/41] Compiling MastodonSwift Accounts.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[7/41] Compiling MastodonSwift Apps.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:38:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | public class MastodonClient: MastodonClientProtocol {
 37 |
 38 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
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/MastodonSwift/MastodonClient.swift:41:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
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/MastodonSwift/MastodonClient.swift:41:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     let baseURL: URL
 40 |
 41 |     public init(baseURL: URL, urlSession: URLSession = .shared) {
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.baseURL = baseURL
 43 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:55:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     private let token: Token
 54 |     private let baseURL: URL
 55 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
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/MastodonSwift/MastodonClient.swift:57:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     private let urlSession: URLSession
 56 |
 57 |     init(baseURL: URL, urlSession: URLSession, token: Token) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.token = token
 59 |         self.baseURL = baseURL
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/MastodonSwift/MastodonClient.swift:19:23: error: cannot find 'URLRequest' in scope
 17 |         guard let url = urlComponents?.url else { throw NetworkingError.cannotCreateUrlRequest }
 18 |
 19 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 20 |
 21 |         target.headers?.forEach { header in
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:72:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 70 |         )
 71 |
 72 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 73 |
 74 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |         )
 86 |
 87 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |         return try JSONDecoder().decode([Status].self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:103:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
101 |         )
102 |
103 |         let (data, _) = try await urlSession.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |         return try JSONDecoder().decode([Status].self, from: data)
[8/41] Compiling MastodonSwift Blocks.swift
[9/41] Compiling MastodonSwift Favourites.swift
[10/41] Compiling MastodonSwift FollowRequests.swift
[11/41] Compiling MastodonSwift Follows.swift
[12/41] Compiling MastodonSwift Instances.swift
[13/41] Compiling MastodonSwift Reports.swift
[14/41] Compiling MastodonSwift Search.swift
[15/41] Compiling MastodonSwift Statuses.swift
[16/41] Compiling MastodonSwift Timelines.swift
[17/41] Compiling MastodonSwift AccessToken.swift
[18/41] Compiling MastodonSwift Account.swift
[19/41] Compiling MastodonSwift App.swift
[20/41] Compiling MastodonSwift Application.swift
[21/41] Compiling MastodonSwift Attachment.swift
[22/41] Compiling MastodonSwift Mastodon.swift
[23/41] Compiling MastodonSwift Media.swift
[24/41] Compiling MastodonSwift Mutes.swift
[25/41] Compiling MastodonSwift Notifications.swift
[26/41] Compiling MastodonSwift OAuth.swift
[27/41] Compiling MastodonSwift Card.swift
[28/41] Compiling MastodonSwift Context.swift
[29/41] Compiling MastodonSwift Error.swift
[30/41] Compiling MastodonSwift Instance.swift
[31/41] Compiling MastodonSwift Mention.swift
[32/41] Compiling MastodonSwift Notification.swift
[33/41] Compiling MastodonSwift Relationship.swift
[34/41] Compiling MastodonSwift Report.swift
[35/41] Compiling MastodonSwift Result.swift
[36/41] Compiling MastodonSwift Status.swift
[37/41] Compiling MastodonSwift Tag.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[38/41] Compiling MastodonSwift Primitive+AsString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[39/41] Compiling MastodonSwift String+AsURL.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[40/41] Compiling MastodonSwift URL+OptionalString.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
[41/41] Compiling MastodonSwift MastodonClient+Convenience.swift
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:8:105: error: cannot find type 'URLRequest' in scope
  6 |
  7 | protocol MastodonClientProtocol {
  8 |     static func request(for baseURL: URL, target: TargetType, withBearerToken token: String?) throws -> URLRequest
    |                                                                                                         `- error: cannot find type 'URLRequest' in scope
  9 | }
 10 |
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient.swift:12:118: error: cannot find type 'URLRequest' in scope
 10 |
 11 | extension MastodonClientProtocol {
 12 |     public static func request(for baseURL: URL, target: TargetType, withBearerToken token: String? = nil) throws -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |         var urlComponents = URLComponents(url: baseURL.appendingPathComponent(target.path), resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:26:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
24 |         )
25 |
26 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
27 |
28 |         return try JSONDecoder().decode(App.self, from: data)
/host/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:41:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 |         )
40 |
41 |         let (data, _) = try await urlSession.data(for: request)
   |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 |
43 |         return try JSONDecoder().decode(AccessToken.self, from: data)
BUILD FAILURE 6.1 android